User's Manual

Table Of Contents
Nonvolatile Parameter Database
AT+i Programmer‘s Manual Version 8.32 34-34
34.3.26 +iADCP ADC GPIO Pin
Syntax:
AT+iADCP=<pin>
Defines which of iChip‘s general-purpose I/O pins
(GPIO) is asserted by the A/D converter‘s polling
mechanism.
Parameters:
pin=0
A/D converter polling is disabled.
pin=1-32
Pins 1-32 of PIOA (general-purpose I/O pins group A)
pin=33-64
Pins 1-32 of PIOB (general-purpose I/O pins group B)
pin=65-96
Pins 1-32 of PIOC (general-purpose I/O pins group C)
Default:
0 (polling disabled)
Result Code:
I/OK
If pin is within limits
I/ERROR
Otherwise
AT+iADCP?
Reports the current value followed by I/OK.
AT+iADCP=?
Returns the message “0-96” followed by I/OK.