PrintAllAIns

Purpose: Print the values read most recently from each of the eleven (11) physical MCU Analog Input channels.
Assumes:   The BIT_SM_A2D bit in EEbSystemMode is TRUE, thereby enabling the automatic Analog to Digital conversions.
Passed: Nothing.
Returns: Nothing in Registers, only COM1 serial port output.
Alters: R24, R25, R30, R31, the FLAGs (SREG) and the COM1 Transmit buffer
Example:  
.ORG   0x1000

   JMP     APrintAllAINs       ; Really, that's all there is to do

;     Alternately:
;  CALL    APrintAllAINs       ; Perhaps a little more traditional
;  RET
Test it:
m>@ 4096        ; Using copy and paste:
0x001A 0x0000 0x0000 0x0000 0x0000 0x0000 0x00DC 0x003C 0x00E1 0x0000 0x0171
m>@ 4096
0x0019 0x0000 0x0000 0x0000 0x0000 0x0000 0x00DC 0x003C 0x00E0 0x0000 0x0171
m>@ 4096
0x001A 0x0000 0x0000 0x0000 0x0000 0x03EC 0x00DC 0x003C 0x00E1 0x0000 0x0171
m>@ 4096
0x0019 0x0000 0x0000 0x0000 0x0000 0x03EC 0x00DD 0x003C 0x00E1 0x0000 0x0171
m>@ 4096
0x001A 0x0000 0x0000 0x0000 0x0000 0x0000 0x00DD 0x003C 0x00E1 0x0000 0x0171
m>@ 4096
0x001A 0x0000 0x0000 0x0000 0x0000 0x0000 0x00DB 0x003C 0x00E0 0x0000 0x0171
m>@ 4096
0x001A 0x0000 0x0000 0x0000 0x0000 0x03EC 0x00DC 0x003D 0x00E1 0x0000 0x0171
m>@ 4096
0x001A 0x0000 0x0000 0x0000 0x0000 0x03EC 0x00DB 0x003D 0x00E1 0x0000 0x0171
m>8
5.00 Volts
m>DS+ 256 22      ; Values in SRAM matching the report line above:
SRAM contents:
0100:  1A 00 00 00 00 00 00 00-00 00 EC 03 DB 00 3D 00  ..............=.
0110:  E1 00 00 00 71 01                                ....q.
m>                                                                                         
Notes: Each of the eleven (11) Analog Input channels is converted to a 10-bit (0 to 1023, or 0x000 to 0x3FF) Analog value.
In addition to the eight (8) Analog Inputs, ADC0 through ADC7, the chip Vcc, Ground and Temperature values are also read.
All of these values are maintained in the WORD array wAnalogInputs[ 11 ], beginning at SRAM address 0x0100.
Dropin: 
(setup
code)
;   Setup for the PrintAllAIns() call:
; Passed:  Nothing.
; Returns: Nothing.
; Alters:  R24, R25, R30, R31, the FLAGs, and the COM1 Transmit Buffer
Also see: The ReadA2DValue, PrintMainProgramHz, and PrintScriptProgramHz System Functions.
The BIT_RTC_SEC_AINS in EEbFlags_RTC causes this function to be called automatically once each second.