\n
address_offset : 0x0 Bytes (0x0)
size : 0x2000 byte (0x0)
mem_usage : registers
protection : not protected
Offset:0x00 ADC Management Register
address_offset : 0x0 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CHS : ADC input channel
bits : 0 - 3 (4 bit)
access : read-write
Enumeration:
0 : 0
AIN0
1 : 1
AIN1
2 : 2
AIN2
3 : 3
AIN3
4 : 4
AIN4
5 : 5
AIN5
6 : 6
AIN6
7 : 7
AIN7
8 : 8
AIN8
9 : 9
AIN9
10 : 10
AIN10
11 : 11
AIN11
12 : 12
AIN12
13 : 13
AIN13
14 : 14
Temperature sensor
End of enumeration elements list.
GCHS : ADC global channel enable
bits : 4 - 8 (5 bit)
access : read-write
Enumeration:
0 : Disable
Disable AIN channel
1 : Enable
Enable AIN channel
End of enumeration elements list.
EOC : ADC status
bits : 5 - 10 (6 bit)
access : read-write
Enumeration:
0 : Busy
ADC processing
1 : End
End of conversion
End of enumeration elements list.
ADS : ADC start control
bits : 6 - 12 (7 bit)
access : read-write
Enumeration:
0 : Stop
ADC stopped
1 : Start
Start ADC conversion
End of enumeration elements list.
ADLEN : ADC resolution
bits : 7 - 14 (8 bit)
access : read-write
Enumeration:
0 : 0
8-bit ADB
1 : 1
12-bit ADB
End of enumeration elements list.
ADCKS : ADC clock source divider
bits : 8 - 18 (11 bit)
access : read-write
Enumeration:
0 : 000b
ADC_PCLK/1
1 : 001b
ADC_PCLK/2
2 : 010b
ADC_PCLK/4
3 : 011b
ADC_PCLK/8
5 : 101b
ADC_PCLK/16
6 : 110b
ADC_PCLK/32
End of enumeration elements list.
ADENB : ADC enable
bits : 11 - 22 (12 bit)
access : read-write
Enumeration:
0 : Disable
Disable ADC
1 : Enable
Enable ADC
End of enumeration elements list.
AVREFHSEL : ADC high reference voltage source
bits : 12 - 24 (13 bit)
access : read-write
Enumeration:
0 : Interal VDD
P2.0 acts as GPIO or AIN0 pin
1 : External reference voltage
P2.0 acts as AVREFH pin
End of enumeration elements list.
TSENB : Temperature sensor enable bit
bits : 17 - 34 (18 bit)
access : read-write
Enumeration:
0 : Disable
Disable Temperature sensor
1 : Enable
Enable Temperature sensor
End of enumeration elements list.
Offset:0x10 ADC Raw Interrupt Status Register
address_offset : 0x10 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
IF0 : AIN0 interrupt flag
bits : 0 - 0 (1 bit)
access : read-write
Enumeration:
0 : No interrupt
No interrupt on AIN0
1 : Met interrupt requirements
AIN0 completes ADC conversion
End of enumeration elements list.
IF1 : AIN1 interrupt flag
bits : 1 - 2 (2 bit)
access : read-write
Enumeration:
0 : No interrupt
No interrupt on AIN1
1 : Met interrupt requirements
AIN1 completes ADC conversion
End of enumeration elements list.
IF2 : AIN2 interrupt flag
bits : 2 - 4 (3 bit)
access : read-write
Enumeration:
0 : No interrupt
No interrupt on AIN2
1 : Met interrupt requirements
AIN2 completes ADC conversion
End of enumeration elements list.
IF3 : AIN0 interrupt flag
bits : 3 - 6 (4 bit)
access : read-write
Enumeration:
0 : No interrupt
No interrupt on AIN3
1 : Met interrupt requirements
AIN3 completes ADC conversion
End of enumeration elements list.
IF4 : AIN4 interrupt flag
bits : 4 - 8 (5 bit)
access : read-write
Enumeration:
0 : No interrupt
No interrupt on AIN4
1 : Met interrupt requirements
AIN4 completes ADC conversion
End of enumeration elements list.
IF5 : AIN5 interrupt flag
bits : 5 - 10 (6 bit)
access : read-write
Enumeration:
0 : No interrupt
No interrupt on AIN5
1 : Met interrupt requirements
AIN5 completes ADC conversion
End of enumeration elements list.
IF6 : AIN6 interrupt flag
bits : 6 - 12 (7 bit)
access : read-write
Enumeration:
0 : No interrupt
No interrupt on AIN6
1 : Met interrupt requirements
AIN6 completes ADC conversion
End of enumeration elements list.
IF7 : AIN7 interrupt flag
bits : 7 - 14 (8 bit)
access : read-write
Enumeration:
0 : No interrupt
No interrupt on AIN7
1 : Met interrupt requirements
AIN7 completes ADC conversion
End of enumeration elements list.
IF8 : AIN8 interrupt flag
bits : 8 - 16 (9 bit)
access : read-write
Enumeration:
0 : No interrupt
No interrupt on AIN8
1 : Met interrupt requirements
AIN8 completes ADC conversion
End of enumeration elements list.
IF9 : AIN9 interrupt flag
bits : 9 - 18 (10 bit)
access : read-write
Enumeration:
0 : No interrupt
No interrupt on AIN9
1 : Met interrupt requirements
AIN9 completes ADC conversion
End of enumeration elements list.
IF10 : AIN10 interrupt flag
bits : 10 - 20 (11 bit)
access : read-write
Enumeration:
0 : No interrupt
No interrupt on AIN10
1 : Met interrupt requirements
AIN10 completes ADC conversion
End of enumeration elements list.
IF11 : AIN11 interrupt flag
bits : 11 - 22 (12 bit)
access : read-write
Enumeration:
0 : No interrupt
No interrupt on AIN11
1 : Met interrupt requirements
AIN11 completes ADC conversion
End of enumeration elements list.
IF12 : AIN12 interrupt flag
bits : 12 - 24 (13 bit)
access : read-write
Enumeration:
0 : No interrupt
No interrupt on AIN12
1 : Met interrupt requirements
AIN12 completes ADC conversion
End of enumeration elements list.
IF13 : AIN13 interrupt flag
bits : 13 - 26 (14 bit)
access : read-write
Enumeration:
0 : No interrupt
No interrupt on AIN13
1 : Met interrupt requirements
AIN13 completes ADC conversion
End of enumeration elements list.
IF14 : AIN14 interrupt flag
bits : 14 - 28 (15 bit)
access : read-write
Enumeration:
0 : No interrupt
No interrupt on AIN14
1 : Met interrupt requirements
AIN14 completes ADC conversion
End of enumeration elements list.
Offset:0x04 ADC Data Register
address_offset : 0x4 Bytes (0x0)
size : 32 bit
access : read-only
reset_value : 0x0
reset_Mask : 0x0
Offset:0x08 ADC Port 2 Control Register
address_offset : 0x8 Bytes (0x0)
size : 32 bit
access : read-only
reset_value : 0x0
reset_Mask : 0x0
P2CON0 : P2.0 Control
bits : 0 - 0 (1 bit)
access : read-only
Enumeration:
0 : Both
P2.0 can be analog input or digital I/O pin
1 : Analog
P2.0 is pure analog input, can't be digital I/O pin
End of enumeration elements list.
P2CON1 : P2.1 Control
bits : 1 - 2 (2 bit)
access : read-only
Enumeration:
0 : Both
P2.1 can be analog input or digital I/O pin
1 : Analog
P2.1 is pure analog input, can't be digital I/O pin
End of enumeration elements list.
P2CON2 : P2.2 Control
bits : 2 - 4 (3 bit)
access : read-only
Enumeration:
0 : Both
P2.2 can be analog input or digital I/O pin
1 : Analog
P2.2 is pure analog input, can't be digital I/O pin
End of enumeration elements list.
P2CON3 : P2.3 Control
bits : 3 - 6 (4 bit)
access : read-only
Enumeration:
0 : Both
P2.3 can be analog input or digital I/O pin
1 : Analog
P2.3 is pure analog input, can't be digital I/O pin
End of enumeration elements list.
P2CON4 : P2.4 Control
bits : 4 - 8 (5 bit)
access : read-only
Enumeration:
0 : Both
P2.4 can be analog input or digital I/O pin
1 : Analog
P2.4 is pure analog input, can't be digital I/O pin
End of enumeration elements list.
P2CON5 : P2.5 Control
bits : 5 - 10 (6 bit)
access : read-only
Enumeration:
0 : Both
P2.5 can be analog input or digital I/O pin
1 : Analog
P2.5 is pure analog input, can't be digital I/O pin
End of enumeration elements list.
P2CON6 : P2.6 Control
bits : 6 - 12 (7 bit)
access : read-only
Enumeration:
0 : Both
P2.6 can be analog input or digital I/O pin
1 : Analog
P2.6 is pure analog input, can't be digital I/O pin
End of enumeration elements list.
P2CON7 : P2.7 Control
bits : 7 - 14 (8 bit)
access : read-only
Enumeration:
0 : Both
P2.7 can be analog input or digital I/O pin
1 : Analog
P2.7 is pure analog input, can't be digital I/O pin
End of enumeration elements list.
P2CON8 : P2.8 Control
bits : 8 - 16 (9 bit)
access : read-only
Enumeration:
0 : Both
P2.8 can be analog input or digital I/O pin
1 : Analog
P2.8 is pure analog input, can't be digital I/O pin
End of enumeration elements list.
P2CON9 : P2.9 Control
bits : 9 - 18 (10 bit)
access : read-only
Enumeration:
0 : Both
P2.9 can be analog input or digital I/O pin
1 : Analog
P2.9 is pure analog input, can't be digital I/O pin
End of enumeration elements list.
P2CON10 : P2.10 Control
bits : 10 - 20 (11 bit)
access : read-only
Enumeration:
0 : Both
P2.10 can be analog input or digital I/O pin
1 : Analog
P2.10 is pure analog input, can't be digital I/O pin
End of enumeration elements list.
P2CON11 : P2.11 Control
bits : 11 - 22 (12 bit)
access : read-only
Enumeration:
0 : Both
P2.11 can be analog input or digital I/O pin
1 : Analog
P2.11 is pure analog input, can't be digital I/O pin
End of enumeration elements list.
P2CON12 : P2.12 Control
bits : 12 - 24 (13 bit)
access : read-only
Enumeration:
0 : Both
P2.12 can be analog input or digital I/O pin
1 : Analog
P2.12 is pure analog input, can't be digital I/O pin
End of enumeration elements list.
P2CON13 : P2.13 Control
bits : 13 - 26 (14 bit)
access : read-only
Enumeration:
0 : Both
P2.13 can be analog input or digital I/O pin
1 : Analog
P2.13 is pure analog input, can't be digital I/O pin
End of enumeration elements list.
P2CON14 : P2.14 Control
bits : 14 - 28 (15 bit)
access : read-only
Enumeration:
0 : Both
P2.14 can be analog input or digital I/O pin
1 : Analog
P2.14 is pure analog input, can't be digital I/O pin
End of enumeration elements list.
P2CON15 : P2.15 Control
bits : 15 - 30 (16 bit)
access : read-only
Enumeration:
0 : Both
P2.15 can be analog input or digital I/O pin
1 : Analog
P2.15 is pure analog input, can't be digital I/O pin
End of enumeration elements list.
Offset:0x0C ADC Interrupt Enable Register
address_offset : 0xC Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
IE0 : AIN0 interrupt enable
bits : 0 - 0 (1 bit)
access : read-write
Enumeration:
0 : Disable
Disable AIN0 interrupt
1 : Enable
ADC interrupt is triggered when AIN0 completes ADC conversion
End of enumeration elements list.
IE1 : AIN1 interrupt enable
bits : 1 - 2 (2 bit)
access : read-write
Enumeration:
0 : Disable
Disable AIN1 interrupt
1 : Enable
ADC interrupt is triggered when AIN1 completes ADC conversion
End of enumeration elements list.
IE2 : AIN2 interrupt enable
bits : 2 - 4 (3 bit)
access : read-write
Enumeration:
0 : Disable
Disable AIN2 interrupt
1 : Enable
ADC interrupt is triggered when AIN2 completes ADC conversion
End of enumeration elements list.
IE3 : AIN3 interrupt enable
bits : 3 - 6 (4 bit)
access : read-write
Enumeration:
0 : Disable
Disable AIN3 interrupt
1 : Enable
ADC interrupt is triggered when AIN3 completes ADC conversion
End of enumeration elements list.
IE4 : AIN4 interrupt enable
bits : 4 - 8 (5 bit)
access : read-write
Enumeration:
0 : Disable
Disable AIN4 interrupt
1 : Enable
ADC interrupt is triggered when AIN4 completes ADC conversion
End of enumeration elements list.
IE5 : AIN5 interrupt enable
bits : 5 - 10 (6 bit)
access : read-write
Enumeration:
0 : Disable
Disable AIN5 interrupt
1 : Enable
ADC interrupt is triggered when AIN5 completes ADC conversion
End of enumeration elements list.
IE6 : AIN6 interrupt enable
bits : 6 - 12 (7 bit)
access : read-write
Enumeration:
0 : Disable
Disable AIN6 interrupt
1 : Enable
ADC interrupt is triggered when AIN6 completes ADC conversion
End of enumeration elements list.
IE7 : AIN7 interrupt enable
bits : 7 - 14 (8 bit)
access : read-write
Enumeration:
0 : Disable
Disable AIN7 interrupt
1 : Enable
ADC interrupt is triggered when AIN7 completes ADC conversion
End of enumeration elements list.
IE8 : AIN8 interrupt enable
bits : 8 - 16 (9 bit)
access : read-write
Enumeration:
0 : Disable
Disable AIN8 interrupt
1 : Enable
ADC interrupt is triggered when AIN8 completes ADC conversion
End of enumeration elements list.
IE9 : AIN9 interrupt enable
bits : 9 - 18 (10 bit)
access : read-write
Enumeration:
0 : Disable
Disable AIN9 interrupt
1 : Enable
ADC interrupt is triggered when AIN9 completes ADC conversion
End of enumeration elements list.
IE10 : AIN10 interrupt enable
bits : 10 - 20 (11 bit)
access : read-write
Enumeration:
0 : Disable
Disable AIN10 interrupt
1 : Enable
ADC interrupt is triggered when AIN10 completes ADC conversion
End of enumeration elements list.
IE11 : AIN11 interrupt enable
bits : 11 - 22 (12 bit)
access : read-write
Enumeration:
0 : Disable
Disable AIN11 interrupt
1 : Enable
ADC interrupt is triggered when AIN11 completes ADC conversion
End of enumeration elements list.
IE12 : AIN12 interrupt enable
bits : 12 - 24 (13 bit)
access : read-write
Enumeration:
0 : Disable
Disable AIN12 interrupt
1 : Enable
ADC interrupt is triggered when AIN12 completes ADC conversion
End of enumeration elements list.
IE13 : AIN13 interrupt enable
bits : 13 - 26 (14 bit)
access : read-write
Enumeration:
0 : Disable
Disable AIN13 interrupt
1 : Enable
ADC interrupt is triggered when AIN13 completes ADC conversion
End of enumeration elements list.
IE14 : AIN14 interrupt enable
bits : 14 - 28 (15 bit)
access : read-write
Enumeration:
0 : Disable
Disable AIN14 interrupt
1 : Enable
ADC interrupt is triggered when AIN14 completes ADC conversion
End of enumeration elements list.
Is something missing? Is something wrong? can you help correct it ? Please contact us at info@chipselect.org !
This website is sponsored by Embeetle, an IDE designed from scratch for embedded software developers.