\n
address_offset : 0x0 Bytes (0x0)
size : 0x400 byte (0x0)
mem_usage : registers
protection : not protected
ADC Configuration
address_offset : 0x0 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
PWRUP : Powering up ADC
bits : 0 - 0 (1 bit)
access : read-write
VREFSEL : To select Vref as 1.25 V or 2.5 V
bits : 1 - 1 (1 bit)
access : read-write
Enumeration:
0 : V_2p5
Vref = 2.5 V
1 : V_1p25
Vref = 1.25 V
End of enumeration elements list.
REFBUFEN : To enable internal reference buffer
bits : 2 - 2 (1 bit)
access : read-write
Enumeration:
0 : EXT_REF
External reference is used
1 : BUF_REF
Reference buffer is enabled
End of enumeration elements list.
VREFVBAT : VRef VBAT
bits : 3 - 3 (1 bit)
access : read-write
EN : To enable ADC subsystem
bits : 4 - 4 (1 bit)
access : read-write
STARTCAL : To start a new offset calibration cycle
bits : 5 - 5 (1 bit)
access : read-write
RST : Resets internal buffers and registers when high
bits : 6 - 6 (1 bit)
access : read-write
SINKEN : To enable additional 50 uA sink current capability @1.25 V, 100 uA current capability @2.5 V
bits : 7 - 7 (1 bit)
access : read-write
TMPEN : To power up temperature sensor
bits : 8 - 8 (1 bit)
access : read-write
FAST_DISCH : For fast switchover of Vref from 2.5 V to 1.25 V
bits : 9 - 9 (1 bit)
access : read-write
VREFVBAT_DEL : VRef VBAT delayed
bits : 10 - 10 (1 bit)
access : read-write
ADC Conversion Time
address_offset : 0x10 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
SAMPTIME : Number of clock cycles (ACLK) required for sampling
bits : 0 - 7 (8 bit)
access : read-write
DLY : Delay between two consecutive conversions in terms of number of ACLK cycles
bits : 8 - 15 (8 bit)
access : read-write
Averaging Configuration
address_offset : 0x14 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
FACTOR : Program averaging factor for averaging enabled channels (1-256)
bits : 0 - 7 (8 bit)
access : read-write
OS : Enable oversampling
bits : 14 - 14 (1 bit)
access : read-write
EN : To enable averaging on Channels enabled in enable register
bits : 15 - 15 (1 bit)
access : read-write
Interrupt Enable
address_offset : 0x20 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CNVDONE : Set it to enable interrupt after conversion is done
bits : 0 - 0 (1 bit)
access : read-write
CALDONE : Set it to enable interrupt for calibration done
bits : 10 - 10 (1 bit)
access : read-write
OVF : Set to enable interrupt in case of overflow
bits : 11 - 11 (1 bit)
access : read-write
ALERT : Enable Interrupt on Crossing Lower or Higher Limit
bits : 12 - 12 (1 bit)
access : read-write
RDY : Set to enable interrupt when ADC is ready to convert
bits : 13 - 13 (1 bit)
access : read-write
ADC Status
address_offset : 0x24 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
DONE0 : Indicates conversion done on Channel 0
bits : 0 - 0 (1 bit)
access : read-write
DONE1 : Indicates conversion done on Channel 1
bits : 1 - 1 (1 bit)
access : read-write
DONE2 : Indicates conversion done on Channel 2
bits : 2 - 2 (1 bit)
access : read-write
DONE3 : Indicates conversion done on Channel 3
bits : 3 - 3 (1 bit)
access : read-write
DONE4 : Indicates conversion done on Channel 4
bits : 4 - 4 (1 bit)
access : read-write
DONE5 : Indicates conversion done on Channel 5
bits : 5 - 5 (1 bit)
access : read-write
DONE6 : Indicates conversion done on Channel 6
bits : 6 - 6 (1 bit)
access : read-write
DONE7 : Indicates conversion done on Channel 7
bits : 7 - 7 (1 bit)
access : read-write
BATDONE : Indicates conversion done for battery monitoring
bits : 8 - 8 (1 bit)
access : read-write
TMPDONE : Indicates conversion is done for temperature sensing
bits : 9 - 9 (1 bit)
access : read-write
TMP2DONE : Indicates conversion is done for temperature sensing 2
bits : 10 - 10 (1 bit)
access : read-write
CALDONE : Indicates calibration is done
bits : 14 - 14 (1 bit)
access : read-write
RDY : Indicates ADC is ready to start converting, when using external reference buffer
bits : 15 - 15 (1 bit)
access : read-write
Overflow of Output Registers
address_offset : 0x28 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CH0 : Indicates overflow in channel 0 output register
bits : 0 - 0 (1 bit)
access : read-write
CH1 : Indicates overflow in channel 1 output register
bits : 1 - 1 (1 bit)
access : read-write
CH2 : Indicates overflow in channel 2 output register
bits : 2 - 2 (1 bit)
access : read-write
CH3 : Indicates overflow in channel 3 output register
bits : 3 - 3 (1 bit)
access : read-write
CH4 : Indicates overflow in channel 4 output register
bits : 4 - 4 (1 bit)
access : read-write
CH5 : Indicates overflow in channel 5 output register
bits : 5 - 5 (1 bit)
access : read-write
CH6 : Indicates overflow in channel 6 output register
bits : 6 - 6 (1 bit)
access : read-write
CH7 : Indicates overflow in channel 7 output register
bits : 7 - 7 (1 bit)
access : read-write
BAT : Indicates overflow in battery monitoring output register
bits : 8 - 8 (1 bit)
access : read-write
TMP : Indicates overflow in temperature output register
bits : 9 - 9 (1 bit)
access : read-write
TMP2 : Indicates overflow in temperature 2 output register
bits : 10 - 10 (1 bit)
access : read-write
Alert Indication
address_offset : 0x2C Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
HI0 : Channel 0 High alert status
bits : 0 - 0 (1 bit)
access : read-write
LO0 : Channel 0 Low alert status
bits : 1 - 1 (1 bit)
access : read-write
HI1 : Channel 1 High alert status
bits : 2 - 2 (1 bit)
access : read-write
LO1 : Channel 1 Low alert status
bits : 3 - 3 (1 bit)
access : read-write
HI2 : Channel 2 High alert status
bits : 4 - 4 (1 bit)
access : read-write
LO2 : Channel 2 Low alert status
bits : 5 - 5 (1 bit)
access : read-write
HI3 : Channel 3 High alert status
bits : 6 - 6 (1 bit)
access : read-write
LO3 : Channel 3 Low alert status
bits : 7 - 7 (1 bit)
access : read-write
Conversion Result Channel 0
address_offset : 0x30 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
RESULT : Conversion result of channel 0 is stored here
bits : 0 - 15 (16 bit)
access : read-only
Conversion Result Channel 1
address_offset : 0x34 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
RESULT : Conversion result of channel 1 is stored here
bits : 0 - 15 (16 bit)
access : read-only
Conversion Result Channel 2
address_offset : 0x38 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
RESULT : Conversion result of channel 2 is stored here
bits : 0 - 15 (16 bit)
access : read-only
Conversion Result Channel 3
address_offset : 0x3C Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
RESULT : Conversion result of channel 3 is stored here
bits : 0 - 15 (16 bit)
access : read-only
ADC Power-up Time
address_offset : 0x4 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
WAIT : Program this count to generate 20us wait time with respect to the PCLK frequency
bits : 0 - 10 (11 bit)
access : read-write
Conversion Result Channel 4
address_offset : 0x40 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
RESULT : Conversion result of channel 4 is stored here
bits : 0 - 15 (16 bit)
access : read-only
Conversion Result Channel 5
address_offset : 0x44 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
RESULT : Conversion result of channel 5 is stored here
bits : 0 - 15 (16 bit)
access : read-only
Conversion Result Channel 6
address_offset : 0x48 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
RESULT : Conversion result of channel 6 is stored here
bits : 0 - 15 (16 bit)
access : read-only
Conversion Result Channel 7
address_offset : 0x4C Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
RESULT : Conversion result of channel 7 is stored here
bits : 0 - 15 (16 bit)
access : read-only
Battery Monitoring Result
address_offset : 0x50 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
RESULT : Conversion result of battery monitoring is stored here
bits : 0 - 15 (16 bit)
access : read-only
Temperature Result
address_offset : 0x54 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
RESULT : Conversion result of Temperature measurement 1 is stored here
bits : 0 - 15 (16 bit)
access : read-only
Temperature Result 2
address_offset : 0x58 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
RESULT : Conversion result of Temperature measurement 2 is stored here
bits : 0 - 15 (16 bit)
access : read-only
DMA Output Register
address_offset : 0x5C Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
RESULT : Register to store conversion result for DMA
bits : 0 - 15 (16 bit)
access : read-only
Channel 0 Low Limit
address_offset : 0x60 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
VALUE : Low limit value for channel 0
bits : 0 - 11 (12 bit)
access : read-write
EN : To enable low limit comparison on Channel 0
bits : 15 - 15 (1 bit)
access : read-write
Channel 0 High Limit
address_offset : 0x64 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
VALUE : High limit value for channel 0
bits : 0 - 11 (12 bit)
access : read-write
EN : To enable high limit comparison on Channel 0
bits : 15 - 15 (1 bit)
access : read-write
Channel 0 Hysteresis
address_offset : 0x68 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
VALUE : Hysteresis value for Channel 0
bits : 0 - 8 (9 bit)
access : read-write
MONCYC : Program number of conversion cycles to monitor channel 0 before raising alert
bits : 12 - 14 (3 bit)
access : read-write
EN : To enable hysteresis for comparison on Channel 0
bits : 15 - 15 (1 bit)
access : read-write
Channel 1 Low Limit
address_offset : 0x70 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
VALUE : Low limit value for channel 1
bits : 0 - 11 (12 bit)
access : read-write
EN : To enable low limit comparison on Channel 1
bits : 15 - 15 (1 bit)
access : read-write
Channel 1 High Limit
address_offset : 0x74 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
VALUE : High limit value for channel 1
bits : 0 - 11 (12 bit)
access : read-write
EN : To enable high limit comparison on Channel 1
bits : 15 - 15 (1 bit)
access : read-write
Channel 1 Hysteresis
address_offset : 0x78 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
VALUE : Hysteresis value for Channel 1
bits : 0 - 8 (9 bit)
access : read-write
MONCYC : Program number of conversion cycles to monitor channel 1 before raising alert
bits : 12 - 14 (3 bit)
access : read-write
EN : To enable hysteresis for comparison on Channel 1
bits : 15 - 15 (1 bit)
access : read-write
Calibration Word
address_offset : 0x8 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
VALUE : Offset calibration word
bits : 0 - 6 (7 bit)
access : read-write
Channel 2 Low Limit
address_offset : 0x80 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
VALUE : Low limit value for channel 2
bits : 0 - 11 (12 bit)
access : read-write
EN : To enable low limit comparison on Channel 2
bits : 15 - 15 (1 bit)
access : read-write
Channel 2 High Limit
address_offset : 0x84 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
VALUE : High limit value for channel 2
bits : 0 - 11 (12 bit)
access : read-write
EN : To enable high limit comparison on Channel 2
bits : 15 - 15 (1 bit)
access : read-write
Channel 2 Hysteresis
address_offset : 0x88 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
VALUE : Hysteresis value for Channel 2
bits : 0 - 8 (9 bit)
access : read-write
MONCYC : Program number of conversion cycles to monitor channel 2 before raising alert
bits : 12 - 14 (3 bit)
access : read-write
EN : To enable hysteresis for comparison on Channel 2
bits : 15 - 15 (1 bit)
access : read-write
Channel 3 Low Limit
address_offset : 0x90 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
VALUE : Low limit value for channel 3
bits : 0 - 11 (12 bit)
access : read-write
EN : To enable low limit comparison on Channel 3
bits : 15 - 15 (1 bit)
access : read-write
Channel 3 High Limit
address_offset : 0x94 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
VALUE : High limit value for channel 3
bits : 0 - 11 (12 bit)
access : read-write
EN : To enable high limit comparison on Channel 3
bits : 15 - 15 (1 bit)
access : read-write
Channel 3 Hysteresis
address_offset : 0x98 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
VALUE : Hysteresis value for Channel 3
bits : 0 - 8 (9 bit)
access : read-write
MONCYC : Program number of conversion cycles to monitor channel 3 before raising alert
bits : 12 - 14 (3 bit)
access : read-write
EN : To enable hysteresis for comparison on Channel 3
bits : 15 - 15 (1 bit)
access : read-write
ADC Conversion Configuration
address_offset : 0xC Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
SEL : To select channel(s) to convert
bits : 0 - 7 (8 bit)
access : read-write
BAT : Enable Battery Monitoring
bits : 8 - 8 (1 bit)
access : read-write
TMP : To select temperature measurement 1
bits : 9 - 9 (1 bit)
access : read-write
TMP2 : To select temperature measurement 2
bits : 10 - 10 (1 bit)
access : read-write
AUTOMODE : Enable Auto Mode
bits : 12 - 12 (1 bit)
access : read-write
DMAEN : Enable DMA Channel
bits : 13 - 13 (1 bit)
access : read-write
SINGLE : Set to start single conversion
bits : 14 - 14 (1 bit)
access : read-write
MULTI : Set to start multiple conversions
bits : 15 - 15 (1 bit)
access : read-write
Reference Buffer Low Power Mode
address_offset : 0xC0 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
RBUFLP : Enable low power mode for reference buffer
bits : 0 - 0 (1 bit)
access : read-write
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.