\n
address_offset : 0x0 Bytes (0x0)
size : 0x10 byte (0x0)
mem_usage : registers
protection :
address_offset : 0x40 Bytes (0x0)
size : 0x8 byte (0x0)
mem_usage : registers
protection :
address_offset : 0x4C Bytes (0x0)
size : 0x14 byte (0x0)
mem_usage : registers
protection :
address_offset : 0x80 Bytes (0x0)
size : 0x10 byte (0x0)
mem_usage : registers
protection :
address_offset : 0xC0 Bytes (0x0)
size : 0x8 byte (0x0)
mem_usage : registers
protection :
address_offset : 0xD0 Bytes (0x0)
size : 0x30 byte (0x0)
mem_usage : registers
protection :
address_offset : 0x110 Bytes (0x0)
size : 0x4 byte (0x0)
mem_usage : registers
protection :
address_offset : 0x130 Bytes (0x0)
size : 0x4 byte (0x0)
mem_usage : registers
protection :
address_offset : 0x140 Bytes (0x0)
size : 0x10 byte (0x0)
mem_usage : registers
protection :
address_offset : 0x208 Bytes (0x0)
size : 0x4 byte (0x0)
mem_usage : registers
protection :
ADC Data Register 0 for Sample Module 0
address_offset : 0x0 Bytes (0x0)
size : -1 bit
access : read-only
reset_value : 0x0
reset_Mask : 0x0
RESULT : ADC Conversion Result
This field contains 12 bits conversion result.
bits : 0 - 15 (16 bit)
access : read-only
OV : Overrun Flag
If converted data in RESULT[11:0] has not been read before new conversion result is loaded to this register, OV is set to 1.
Note: It is cleared by hardware after EADC_DAT register is read.
bits : 16 - 16 (1 bit)
access : read-only
Enumeration:
#0 : 0
Data in RESULT[11:0] is recent conversion result
#1 : 1
Data in RESULT[11:0] is overwrite
End of enumeration elements list.
VALID : Valid Flag
This bit is set to 1 when corresponding sample module channel analog input conversion is completed and cleared by hardware after EADC_DAT register is read.
bits : 17 - 17 (1 bit)
access : read-only
Enumeration:
#0 : 0
Data in RESULT[11:0] bits is not valid
#1 : 1
Data in RESULT[11:0] bits is valid
End of enumeration elements list.
EADC Power Management Control Register
address_offset : 0x110 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
READY : EADC Start-up Completely and Ready for Conversion (Read Only)
bits : 0 - 0 (1 bit)
access : read-only
Enumeration:
#0 : 0
Power-on sequence is still in progress
#1 : 1
EADC is ready for conversion
End of enumeration elements list.
AUTOFF : Auto Off Mode
bits : 5 - 5 (1 bit)
access : read-write
Enumeration:
#0 : 0
Auto off function Disabled
#1 : 1
Auto off function Enabled. When AUTOFF is set to 1, EADC will be powered off automatically to save power
End of enumeration elements list.
STUPT : EADC Start-up Time
Set this bit fields to adjust start-up time. The minimum start-up time of EADC is 10us.
bits : 8 - 19 (12 bit)
access : read-write
AUTOPDTHT : Auto Power Down Threshold Time
bits : 20 - 23 (4 bit)
access : read-write
Enumeration:
#0111 : 7
8 EADC clock for power down threshold time
#1000 : 8
16 EADC clock for power down threshold time
#1001 : 9
32 EADC clock for power down threshold time
#1010 : 10
64 EADC clock for power down threshold time
#1011 : 11
128 EADC clock for power down threshold time
#1100 : 12
256 EADC clock for power down threshold time
End of enumeration elements list.
EADC PDMA Control Register
address_offset : 0x130 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
PDMATEN : PDMA Transfer Enable Bit for External Channel
When EADC conversion is completed, the converted data is loaded into EADC_DATn (n:0 ~ 3) register, user can enable this bit to generate a PDMA data transfer request.
bits : 0 - 3 (4 bit)
access : read-write
Enumeration:
0 : 0
PDMA data transfer Disabled
1 : 1
PDMA data transfer Enabled
End of enumeration elements list.
INTPDMATEN : PDMA Transfer Enable Bit for Internal Channel
When EADC conversion is completed, the converted data is loaded into EADC_DATn (n:17, 16) register, user can enable this bit to generate a PDMA data transfer request.
bits : 16 - 17 (2 bit)
access : read-write
Enumeration:
0 : 0
PDMA data transfer Disabled
1 : 1
PDMA data transfer Enabled
End of enumeration elements list.
EADC Sample Module0 Control Register 1
address_offset : 0x140 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
ALIGN : Alignment Selection
bits : 0 - 0 (1 bit)
access : read-write
Enumeration:
#0 : 0
The conversion result will be right aligned in data register
#1 : 1
The conversion result will be left aligned in data register
End of enumeration elements list.
AVG : Average Mode Selection
bits : 1 - 1 (1 bit)
access : read-write
Enumeration:
#0 : 0
Conversion results will be stored in data register without averaging
#1 : 1
Conversion results in data register will be averaged
End of enumeration elements list.
ACU : Number of Accumulated Conversion Results Selection
bits : 4 - 7 (4 bit)
access : read-write
Enumeration:
#0000 : 0
1 conversion result will be accumulated
#0001 : 1
2 conversion result will be accumulated
#0010 : 2
4 conversion result will be accumulated
#0011 : 3
8 conversion result will be accumulated
#0100 : 4
16 conversion result will be accumulated
#0101 : 5
32 conversion result will be accumulated
#0110 : 6
64 conversion result will be accumulated
#0111 : 7
128 conversion result will be accumulated
#1000 : 8
256 conversion result will be accumulated
End of enumeration elements list.
EADC Sample Module1 Control Register 1
address_offset : 0x144 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
EADC Sample Module2 Control Register 1
address_offset : 0x148 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
EADC Sample Module3 Control Register 1
address_offset : 0x14C Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
ADC Result Offset Cancellation Register
address_offset : 0x208 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
OFFSETCANCEL : ADC Offset Cancellation Trim Bits
When CALEN(EADC_CTL[8]) is set to 1, the offset cancellation trim bits will compensate ADC result offset. When this bit is set to 0, the offset cancellation trim bits have no effect to ADC result.
Note 1: These 5 bits trim value wouldn't latched into EADC_OFFSETCAL automatically when Flash initialization. User must read DCR2 by ISP command first, then write the value to OFFSETCANCEL.
Note 2: OFFSETCANCEL is signed format. OFFSETCANCEL will sign extension to 12 bit by hardware to perform signed addition with EADC conversion result if CALEN is enabled.
bits : 0 - 4 (5 bit)
access : read-write
ADC Data Register 1 for Sample Module 1
address_offset : 0x4 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
ADC Data Register 16 for Sample Module 16
address_offset : 0x40 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
ADC Data Register 17 for Sample Module 17
address_offset : 0x44 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
EADC PDMA Current Transfer Data Register
address_offset : 0x4C Bytes (0x0)
size : -1 bit
access : read-only
reset_value : 0x0
reset_Mask : 0x0
CURDAT : EADC PDMA Current Transfer Data (Read Only)
Note: After PDMA reads this register, the VAILD of the shadow EADC_DAT register will be automatically cleared.
bits : 0 - 18 (19 bit)
access : read-only
ADC Control Register
address_offset : 0x50 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
EADCEN : ADC Converter Enable Bit
Note: Before starting ADC conversion function, this bit should be set to 1. Clear it to 0 to disable ADC converter analog circuit power consumption.
bits : 0 - 0 (1 bit)
access : read-write
Enumeration:
#0 : 0
Disabled EADC
#1 : 1
Enabled EADC
End of enumeration elements list.
EADCRST : EADC ADC Converter Control Circuits Reset
Note: EADCRST bit remains 1 during EADC reset. When EADC reset end, the EADCRST bit is automatically cleared to 0.
bits : 1 - 1 (1 bit)
access : read-write
Enumeration:
#0 : 0
No effect
#1 : 1
Cause EADC control circuits reset to initial state, but not change the EADC registers value
End of enumeration elements list.
EADCIEN0 : Specific Sample Module ADC ADINT0 Interrupt Enable Bit
The ADC converter generates a conversion end ADIF0 (EADC_STATUS2[0]) upon the end of specific sample module ADC conversion. If EADCIEN0 bit is set then conversion end interrupt request ADINT0 is generated.
bits : 2 - 2 (1 bit)
access : read-write
Enumeration:
#0 : 0
Specific sample module ADC ADINT0 interrupt function Disabled
#1 : 1
Specific sample module ADC ADINT0 interrupt function Enabled
End of enumeration elements list.
EADCIEN1 : Specific Sample Module ADC ADINT1 Interrupt Enable Bit
The ADC converter generates a conversion end ADIF1 (EADC_STATUS2[1]) upon the end of specific sample module ADC conversion. If EADCIEN1 bit is set then conversion end interrupt request ADINT1 is generated.
bits : 3 - 3 (1 bit)
access : read-write
Enumeration:
#0 : 0
Specific sample module ADC ADINT1 interrupt function Disabled
#1 : 1
Specific sample module ADC ADINT1 interrupt function Enabled
End of enumeration elements list.
EADCIEN2 : Specific Sample Module ADC ADINT2 Interrupt Enable Bit
The ADC converter generates a conversion end ADIF2 (EADC_STATUS2[2]) upon the end of specific sample module ADC conversion. If EADCIEN2 bit is set then conversion end interrupt request ADINT2 is generated.
bits : 4 - 4 (1 bit)
access : read-write
Enumeration:
#0 : 0
Specific sample module ADC ADINT2 interrupt function Disabled
#1 : 1
Specific sample module ADC ADINT2 interrupt function Enabled
End of enumeration elements list.
EADCIEN3 : Specific Sample Module ADC ADINT3 Interrupt Enable Bit
The ADC converter generates a conversion end ADIF3 (EADC_STATUS2[3]) upon the end of specific sample module ADC conversion. If EADCIEN3 bit is set then conversion end interrupt request ADINT3 is generated.
bits : 5 - 5 (1 bit)
access : read-write
Enumeration:
#0 : 0
Specific sample module ADC ADINT3 interrupt function Disabled
#1 : 1
Specific sample module ADC ADINT3 interrupt function Enabled
End of enumeration elements list.
ADC Sample Module Software Start Register
address_offset : 0x54 Bytes (0x0)
size : -1 bit
access : write-only
reset_value : 0x0
reset_Mask : 0x0
SWTRG : ADC Sample Module 0~3, Sample Module 16,17 Software Force to Start EADC Conversion
Note: After writing this register to start EADC conversion, the EADC_PENDSTS register will show which sample module will conversion. If user want to disable the conversion of the sample module, user can write EADC_PENDSTS register to clear it.
bits : 0 - 3 (4 bit)
access : write-only
Enumeration:
0 : 0
No effect
1 : 1
Cause an EADC conversion when the priority is given to sample module
End of enumeration elements list.
INTSWTRG : ADC Sample Module 16,17 Software Force to Start EADC Conversion
Note: INTSWTRG is only for internal channels. After writing this register to start EADC conversion, the EADC_PENDSTS register will show which sample module will conversion. If user want to disable the conversion of the sample module, user can write EADC_PENDSTS register to clear it.
bits : 16 - 17 (2 bit)
access : write-only
Enumeration:
0 : 0
No effect
1 : 1
Cause an EADC conversion when the priority is given to sample module
End of enumeration elements list.
ADC Sample Module Start of Conversion Pending Flag Register
address_offset : 0x58 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
STPF : ADC Sample Module 0~3 Start of Conversion Pending Flag
Read Operation:
bits : 0 - 3 (4 bit)
access : read-write
Enumeration:
0 : 0
There is no pending conversion for sample module
1 : 1
Sample module EADC start of conversion is pending.
Clear pending flag and stop conversion for corresponding sample module
End of enumeration elements list.
INTSTPF : ADC Sample Module 17, 16 Start of Conversion Pending Flag
Read Operation:
bits : 16 - 17 (2 bit)
access : read-write
Enumeration:
0 : 0
There is no pending conversion for sample module
1 : 1
Sample module EADC start of conversion is pending.
Clear pending flag and stop conversion for corresponding sample module
End of enumeration elements list.
ADC Sample Module Start of Conversion Overrun Flag Register
address_offset : 0x5C Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
SPOVF : ADC SAMPLE0~3 Overrun Flag
Note: This bit is cleared by writing 1 to it.
bits : 0 - 3 (4 bit)
access : read-write
Enumeration:
0 : 0
No sample module event overrun
1 : 1
Indicates a new sample module event is generated while an old one event is pending
End of enumeration elements list.
INTSPOVF : ADC SAMPLE16,17 Overrun Flag
Note: This bit is cleared by writing 1 to it.
bits : 16 - 17 (2 bit)
access : read-write
Enumeration:
0 : 0
No sample module event overrun
1 : 1
Indicates a new sample module event is generated while an old one event is pending
End of enumeration elements list.
ADC Data Register 2 for Sample Module 2
address_offset : 0x8 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
ADC Sample Module 0 Control Register
address_offset : 0x80 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CHSEL : ADC Sample Module Channel Selection
.
bits : 0 - 3 (4 bit)
access : read-write
EXTREN : ADC External Trigger Rising Edge Enable Bit
bits : 4 - 4 (1 bit)
access : read-write
Enumeration:
#0 : 0
Rising edge Disabled when ADC selects EADC0_ST as trigger source
#1 : 1
Rising edge Enabled when ADC selects EADC0_ST as trigger source
End of enumeration elements list.
EXTFEN : ADC External Trigger Falling Edge Enable Bit
bits : 5 - 5 (1 bit)
access : read-write
Enumeration:
#0 : 0
Falling edge Disabled when ADC selects EADC0_ST as trigger source
#1 : 1
Falling edge Enabled when ADC selects EADC0_ST as trigger source
End of enumeration elements list.
TRGDLYDIV : ADC Sample Module Start of Conversion Trigger Delay Clock Divider Selection
Trigger delay clock frequency:
bits : 6 - 7 (2 bit)
access : read-write
Enumeration:
#00 : 0
EADC_CLK/1
#01 : 1
EADC_CLK/2
#10 : 2
EADC_CLK/4
#11 : 3
EADC_CLK/16
End of enumeration elements list.
TRGDLYCNT : ADC Sample Module Start of Conversion Trigger Delay Time
Note: If TRGDLYCNT is set to 1, trigger delay time is actually the same as TRGDLYCNT is set to 2 for hardware operation.
bits : 8 - 15 (8 bit)
access : read-write
TRGSEL : ADC Sample Module Start of Conversion Trigger Source Selection
bits : 16 - 20 (5 bit)
access : read-write
INTPOS : Interrupt Flag Position Select
bits : 22 - 22 (1 bit)
access : read-write
Enumeration:
#0 : 0
Set ADIFn (EADC_STATUS2[n], n=0~3) at ADC end of conversion
#1 : 1
Set ADIFn (EADC_STATUS2[n], n=0~3) at ADC start of conversion
End of enumeration elements list.
EXTSMPT : EADC Sampling Time Extend
When ADC converting at high conversion rate, the sampling time of analog input voltage may not enough if input channel loading is heavy, user can extend ADC sampling time after trigger source is coming to get enough sampling time. EXTSMPT can be set from 0~8'd251.
bits : 24 - 31 (8 bit)
access : read-write
ADC Sample Module 1 Control Register
address_offset : 0x84 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
ADC Sample Module 2 Control Register
address_offset : 0x88 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
ADC Sample Module 3 Control Register
address_offset : 0x8C Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
ADC Data Register 3 for Sample Module 3
address_offset : 0xC Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
ADC Sample Module 16 Control Register
address_offset : 0xC0 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
EXTSMPT : EADC Sampling Time Extend
When ADC converting at high conversion rate, the sampling time of analog input voltage may not enough if input channel loading is heavy, SW can extend ADC sampling time after trigger source is coming to get enough sampling time. EXTSMPT can be set from 0~8'd255.
The range of start delay time is from 0~255 EADC clock.
bits : 24 - 31 (8 bit)
access : read-write
ADC Sample Module 17 Control Register
address_offset : 0xC4 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
EADC Interrupt 0 Source Enable Control Register.
address_offset : 0xD0 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
SPLIE0 : Sample Module 0 Interrupt Enable Bit
bits : 0 - 0 (1 bit)
access : read-write
Enumeration:
#0 : 0
Sample Module 0 interrupt Disabled
#1 : 1
Sample Module 0 interrupt Enabled
End of enumeration elements list.
SPLIE1 : Sample Module 1 Interrupt Enable Bit
bits : 1 - 1 (1 bit)
access : read-write
Enumeration:
#0 : 0
Sample Module 1 interrupt Disabled
#1 : 1
Sample Module 1 interrupt Enabled
End of enumeration elements list.
SPLIE2 : Sample Module 2 Interrupt Enable Bit
bits : 2 - 2 (1 bit)
access : read-write
Enumeration:
#0 : 0
Sample Module 2 interrupt Disabled
#1 : 1
Sample Module 2 interrupt Enabled
End of enumeration elements list.
SPLIE3 : Sample Module 3 Interrupt Enable Bit
bits : 3 - 3 (1 bit)
access : read-write
Enumeration:
#0 : 0
Sample Module 3 interrupt Disabled
#1 : 1
Sample Module 3 interrupt Enabled
End of enumeration elements list.
EADC Interrupt 1 Source Enable Control Register.
address_offset : 0xD4 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
EADC Interrupt 2 Source Enable Control Register.
address_offset : 0xD8 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
EADC Interrupt 3 Source Enable Control Register.
address_offset : 0xDC Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
ADC Result Compare Register 0
address_offset : 0xE0 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
EADCMPEN : ADC Result Compare Enable Bit
bits : 0 - 0 (1 bit)
access : read-write
Enumeration:
#0 : 0
Compare Disabled
#1 : 1
Compare Enabled
End of enumeration elements list.
EADCMPIE : ADC Result Compare Interrupt Enable Bit
bits : 1 - 1 (1 bit)
access : read-write
Enumeration:
#0 : 0
Compare function interrupt Disabled
#1 : 1
Compare function interrupt Enabled
End of enumeration elements list.
CMPCOND : Compare Condition
bits : 2 - 2 (1 bit)
access : read-write
Enumeration:
#0 : 0
Set the compare condition as that when a 12-bit ADC conversion result is less than the 12-bit CMPDAT (EADC_CMPn [27:16]), the internal match counter will increase one
#1 : 1
Set the compare condition as that when a 12-bit ADC conversion result is greater or equal to the 12-bit CMPDAT (EADC_CMPn [27:16]), the internal match counter will increase one
End of enumeration elements list.
CMPSPL : Compare Sample Module Selection
bits : 3 - 7 (5 bit)
access : read-write
Enumeration:
#00000 : 0
Sample Module 0 conversion result EADC_DAT0 is selected to be compared
#00001 : 1
Sample Module 1 conversion result EADC_DAT1 is selected to be compared
#00010 : 2
Sample Module 2 conversion result EADC_DAT2 is selected to be compared
#00011 : 3
Sample Module 3 conversion result EADC_DAT3 is selected to be compared
#00100 : 4
Sample Module 4 conversion result EADC_DAT4 is selected to be compared
#00101 : 5
Sample Module 5 conversion result EADC_DAT5 is selected to be compared
#00110 : 6
Sample Module 6 conversion result EADC_DAT6 is selected to be compared
#00111 : 7
Sample Module 7 conversion result EADC_DAT7 is selected to be compared
#01000 : 8
Sample Module 8 conversion result EADC_DAT8 is selected to be compared
#01001 : 9
Sample Module 9 conversion result EADC_DAT9 is selected to be compared
#01010 : 10
Sample Module 10 conversion result EADC_DAT10 is selected to be compared
#01011 : 11
Sample Module 11 conversion result EADC_DAT11 is selected to be compared
#01100 : 12
Sample Module 12 conversion result EADC_DAT12 is selected to be compared
#01101 : 13
Sample Module 13 conversion result EADC_DAT13 is selected to be compared
#01110 : 14
Sample Module 14 conversion result EADC_DAT14 is selected to be compared
#01111 : 15
Sample Module 15 conversion result EADC_DAT15 is selected to be compared
#10000 : 16
Sample Module 16 conversion result EADC_DAT16 is selected to be compared
#10001 : 17
Sample Module 17 conversion result EADC_DAT17 is selected to be compared
#10010 : 18
Sample Module 18 conversion result EADC_DAT18 is selected to be compared
End of enumeration elements list.
CMPMCNT : Compare Match Count
bits : 8 - 11 (4 bit)
access : read-write
CMPWEN : Compare Window Mode Enable Bit
Note: This bit is only present in EADC_CMP0 and EADC_CMP2 register.
bits : 15 - 15 (1 bit)
access : read-write
Enumeration:
#0 : 0
EADCMPF0 (EADC_STATUS2[4]) will be set when EADC_CMP0 compared condition matched. EADCMPF2 (EADC_STATUS2[6]) will be set when EADC_CMP2 compared condition matched
#1 : 1
EADCMPF0 (EADC_STATUS2[4]) will be set when both EADC_CMP0 and EADC_CMP1 compared condition matched. EADCMPF2 (EADC_STATUS2[6]) will be set when both EADC_CMP2 and EADC_CMP3 compared condition matched
End of enumeration elements list.
CMPDAT : Comparison Data
The 12 bits data is used to compare with conversion result of specified sample module. User can use it to monitor the external analog input pin voltage transition without imposing a load on software.
bits : 16 - 27 (12 bit)
access : read-write
ADC Result Compare Register 1
address_offset : 0xE4 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
ADC Result Compare Register 2
address_offset : 0xE8 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
ADC Result Compare Register 3
address_offset : 0xEC Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
ADC Status Register 0
address_offset : 0xF0 Bytes (0x0)
size : -1 bit
access : read-only
reset_value : 0x0
reset_Mask : 0x0
VALID : EADC_DAT0~3 Data Valid Flag
bits : 0 - 3 (4 bit)
access : read-only
OV : EADC_DAT0~3 Overrun Flag
bits : 16 - 19 (4 bit)
access : read-only
ADC Status Register 1
address_offset : 0xF4 Bytes (0x0)
size : -1 bit
access : read-only
reset_value : 0x0
reset_Mask : 0x0
VALID : EADC_DAT16~17 Data Valid Flag
bits : 0 - 2 (3 bit)
access : read-only
OV : EADC_DAT16~18 Overrun Flag
bits : 16 - 17 (2 bit)
access : read-only
ADC Status Register 2
address_offset : 0xF8 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
ADIF0 : ADC ADINT0 Interrupt Flag
Note 1: This bit is cleared by writing 1 to it.
Note 2:This bit indicates whether an ADC conversion of specific sample module has been completed
bits : 0 - 0 (1 bit)
access : read-write
Enumeration:
#0 : 0
No ADINT0 interrupt pulse received
#1 : 1
ADINT0 interrupt pulse has been received
End of enumeration elements list.
ADIF1 : ADC ADINT1 Interrupt Flag
Note 1: This bit is cleared by writing 1 to it.
Note 2:This bit indicates whether an ADC conversion of specific sample module has been completed
bits : 1 - 1 (1 bit)
access : read-write
Enumeration:
#0 : 0
No ADINT1 interrupt pulse received
#1 : 1
ADINT1 interrupt pulse has been received
End of enumeration elements list.
ADIF2 : ADC ADINT2 Interrupt Flag
Note 1: This bit is cleared by writing 1 to it.
Note 2:This bit indicates whether an ADC conversion of specific sample module has been completed
bits : 2 - 2 (1 bit)
access : read-write
Enumeration:
#0 : 0
No ADINT2 interrupt pulse received
#1 : 1
ADINT2 interrupt pulse has been received
End of enumeration elements list.
ADIF3 : ADC ADINT3 Interrupt Flag
Note 1: This bit is cleared by writing 1 to it.
Note 2:This bit indicates whether an ADC conversion of specific sample module has been completed
bits : 3 - 3 (1 bit)
access : read-write
Enumeration:
#0 : 0
No ADINT3 interrupt pulse received
#1 : 1
ADINT3 interrupt pulse has been received
End of enumeration elements list.
EADCMPF0 : EADC Compare 0 Flag
When the specific sample module ADC conversion result meets setting condition in EADC_CMP0 then this bit is set to 1.
Note: This bit is cleared by writing 1 to it.
bits : 4 - 4 (1 bit)
access : read-write
Enumeration:
#0 : 0
Conversion result in EADC_DAT does not meet EADC_CMP0 register setting
#1 : 1
Conversion result in EADC_DAT meets EADC_CMP0 register setting
End of enumeration elements list.
EADCMPF1 : EADC Compare 1 Flag
When the specific sample module ADC conversion result meets setting condition in EADC_CMP1 then this bit is set to 1.
Note: This bit is cleared by writing 1 to it.
bits : 5 - 5 (1 bit)
access : read-write
Enumeration:
#0 : 0
Conversion result in EADC_DAT does not meet EADC_CMP1 register setting
#1 : 1
Conversion result in EADC_DAT meets EADC_CMP1 register setting
End of enumeration elements list.
EADCMPF2 : EADC Compare 2 Flag
When the specific sample module ADC conversion result meets setting condition in EADC_CMP2 then this bit is set to 1.
Note: This bit is cleared by writing 1 to it.
bits : 6 - 6 (1 bit)
access : read-write
Enumeration:
#0 : 0
Conversion result in EADC_DAT does not meet EADC_CMP2 register setting
#1 : 1
Conversion result in EADC_DAT meets EADC_CMP2 register setting
End of enumeration elements list.
EADCMPF3 : EADC Compare 3 Flag
When the specific sample module ADC conversion result meets setting condition in EADC_CMP3 then this bit is set to 1.
Note: This bit is cleared by writing 1 to it.
bits : 7 - 7 (1 bit)
access : read-write
Enumeration:
#0 : 0
Conversion result in EADC_DAT does not meet EADC_CMP3 register setting
#1 : 1
Conversion result in EADC_DAT meets EADC_CMP3 register setting
End of enumeration elements list.
ADOVIF0 : ADC ADINT0 Interrupt Flag Overrun
Note: This bit is cleared by writing 1 to it.
bits : 8 - 8 (1 bit)
access : read-write
Enumeration:
#0 : 0
ADINT0 interrupt flag is not overwritten to 1
#1 : 1
ADINT0 interrupt flag is overwritten to 1
End of enumeration elements list.
ADOVIF1 : ADC ADINT1 Interrupt Flag Overrun
Note: This bit is cleared by writing 1 to it.
bits : 9 - 9 (1 bit)
access : read-write
Enumeration:
#0 : 0
ADINT1 interrupt flag is not overwritten to 1
#1 : 1
ADINT1 interrupt flag is overwritten to 1
End of enumeration elements list.
ADOVIF2 : ADC ADINT2 Interrupt Flag Overrun
Note: This bit is cleared by writing 1 to it.
bits : 10 - 10 (1 bit)
access : read-write
Enumeration:
#0 : 0
ADINT2 interrupt flag is not overwritten to 1
#1 : 1
ADINT2 interrupt flag is overwritten to 1
End of enumeration elements list.
ADOVIF3 : ADC ADINT3 Interrupt Flag Overrun
Note: This bit is cleared by writing 1 to it.
bits : 11 - 11 (1 bit)
access : read-write
Enumeration:
#0 : 0
ADINT3 interrupt flag is not overwritten to 1
#1 : 1
ADINT3 interrupt flag is overwritten to 1
End of enumeration elements list.
EADCMPO0 : EADC Compare 0 Output Status
The 12 bits compare0 data CMPDAT0 (EADC_CMP0[27:16]) is used to compare with conversion result of specified sample module. User can use it to monitor the external analog input pin voltage status.
bits : 12 - 12 (1 bit)
access : read-write
Enumeration:
#0 : 0
Conversion result in EADC_DAT is less than CMPDAT0 setting
#1 : 1
Conversion result in EADC_DAT is greater than or equal to CMPDAT0 setting
End of enumeration elements list.
EADCMPO1 : EADC Compare 1 Output Status
The 12 bits compare1 data CMPDAT1 (EADC_CMP1[27:16]) is used to compare with conversion result of specified sample module. User can use it to monitor the external analog input pin voltage status.
bits : 13 - 13 (1 bit)
access : read-write
Enumeration:
#0 : 0
Conversion result in EADC_DAT is less than CMPDAT1 setting
#1 : 1
Conversion result in EADC_DAT is greater than or equal to CMPDAT1 setting
End of enumeration elements list.
EADCMPO2 : EADC Compare 2 Output Status
The 12 bits compare2 data CMPDAT2 (EADC_CMP2[27:16]) is used to compare with conversion result of specified sample module. User can use it to monitor the external analog input pin voltage status.
bits : 14 - 14 (1 bit)
access : read-write
Enumeration:
#0 : 0
Conversion result in EADC_DAT is less than CMPDAT2 setting
#1 : 1
Conversion result in EADC_DAT is greater than or equal to CMPDAT2 setting
End of enumeration elements list.
EADCMPO3 : EADC Compare 3 Output Status
The 12 bits compare3 data CMPDAT3 (EADC_CMP3[27:16]) is used to compare with conversion result of specified sample module. User can use it to monitor the external analog input pin voltage status.
bits : 15 - 15 (1 bit)
access : read-write
Enumeration:
#0 : 0
Conversion result in EADC_DAT is less than CMPDAT3 setting
#1 : 1
Conversion result in EADC_DAT is greater than or equal to CMPDAT3 setting
End of enumeration elements list.
CHANNEL : Current Conversion Channel (Read Only)
bits : 16 - 20 (5 bit)
access : read-only
BUSY : ADC Converter Busy/Idle Status (Read Only)
Note: Once a trigger source is coming, this bit must wait 2 EADC_CLK synchronization then the BUSY status will be high. The status will be high to low when the current conversion is finished.
bits : 23 - 23 (1 bit)
access : read-only
Enumeration:
#0 : 0
EADC is in idle state
#1 : 1
EADC is busy for sample or conversion
End of enumeration elements list.
ADOVIF : All ADC Interrupt Flag Overrun Bits Check
Note: This bit will keep 1 when any ADOVIFn Flag is equal to 1.
bits : 24 - 24 (1 bit)
access : read-write
Enumeration:
#0 : 0
None of ADINT interrupt flag ADOVIFn (EADC_STATUS2[11:8]) is overwritten to 1
#1 : 1
Any one of ADINT interrupt flag ADOVIFn (EADC_STATUS2[11:8]) is overwritten to 1
End of enumeration elements list.
STOVF : All ADC Sample Module Start of Conversion Overrun Flags Check
Note: This bit will keep 1 when any SPOVFn or INTSPOVFn Flag is equal to 1.
bits : 25 - 25 (1 bit)
access : read-write
Enumeration:
#0 : 0
None of sample module event overrun flag SPOVF (EADC_OVSTS[n], n=0~3), INTSPOVF (EADC_OVSTS[n], n=16,17) is set to 1
#1 : 1
Any one of sample module event overrun flag SPOVF (EADC_OVSTS[n]) is set to 1
End of enumeration elements list.
AVALID : All Sample Module ADC Result Data Register EADC_DAT Data Valid Flag Check
Note: This bit will keep 1 when any VALIDn Flag is equal to 1.
bits : 26 - 26 (1 bit)
access : read-write
Enumeration:
#0 : 0
None of sample module data register valid flag VALID (EADC_DATn[17]) is set to 1
#1 : 1
Any one of sample module data register valid flag VALID (EADC_DATn[17]) is set to 1
End of enumeration elements list.
AOV : All Sample Module ADC Result Data Register Overrun Flags Check
Note: This bit will keep 1 when any OVn Flag is equal to 1.
bits : 27 - 27 (1 bit)
access : read-write
Enumeration:
#0 : 0
None of sample module data register overrun flag OV (EADC_DATn[16]) is set to 1
#1 : 1
Any one of sample module data register overrun flag OV (EADC_DATn[16]) is set to 1
End of enumeration elements list.
ADC Status Register 3
address_offset : 0xFC Bytes (0x0)
size : -1 bit
access : read-only
reset_value : 0x0
reset_Mask : 0x0
CURSPL : EADC Current Sample Module (Read Only)
This register shows the current EADC is controlled by which sample module control logic modules.
If the EADC is Idle, the bit filed will be set to 0x1F.
bits : 0 - 4 (5 bit)
access : read-only
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.