\n
address_offset : 0x0 Bytes (0x0)
size : 0x9C byte (0x0)
mem_usage : registers
protection : not protected
address_offset : 0xA4 Bytes (0x0)
size : 0x18 byte (0x0)
mem_usage : registers
protection : not protected
A/D Data Register 0 for SAMPLEA0
address_offset : 0x0 Bytes (0x0)
access : read-only
reset_value : 0x0
reset_Mask : 0x0
RSLT : A/D Conversion Result\nThis field contains 12-bit conversion result.
bits : 0 - 11 (12 bit)
access : read-only
OVERRUN : Over Run Flag\nIf converted data in RSLT[11:0] has not been read before new conversion result is loaded to this register, OVERRUN is set to 1. It is cleared by hardware after ADDR register is read.
bits : 16 - 16 (1 bit)
access : read-only
Enumeration:
#0 : 0
Data in RSLT[11:0] is the recent conversion result
#1 : 1
Data in RSLT[11:0] is overwritten
End of enumeration elements list.
VALID : Valid Flag\nThis bit is set to 1 when corresponding SAMPLE channel analog input conversion is completed and cleared by hardware after ADDR register is read.
bits : 17 - 17 (1 bit)
access : read-only
Enumeration:
#0 : 0
Data in RSLT[11:0] bits is not valid
#1 : 1
Data in RSLT[11:0] bits is valid
End of enumeration elements list.
address_offset : 0x10 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0
address_offset : 0x14 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0
address_offset : 0x18 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0
address_offset : 0x1C Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0
address_offset : 0x20 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0
address_offset : 0x24 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0
address_offset : 0x28 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0
address_offset : 0x2C Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0
address_offset : 0x30 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0
address_offset : 0x34 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0
address_offset : 0x38 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0
address_offset : 0x3C Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0
address_offset : 0x4 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0
A/D Control Register
address_offset : 0x40 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0
AD_EN : A/D Converter Enable\nBefore starting the A/D conversion function, this bit should be set to 1. Clear it to 0 to disable A/D converter analog circuit power consumption.
bits : 0 - 0 (1 bit)
access : read-write
Enumeration:
#0 : 0
Disabled
#1 : 1
Enabled
End of enumeration elements list.
ADRESET : ADCA, ADCB A/D Converter control circuits reset\nADRESET bit remains 1 during ADC reset, when ADC reset end, the ADRESET bit is automatically cleared to 0.
bits : 1 - 1 (1 bit)
access : read-write
Enumeration:
#0 : 0
Writing 0 has no effect
#1 : 1
Writing 1 will cause ADC control circuits reset to initial state, but not change the ADC registers value
End of enumeration elements list.
ADIE0 : Specific SAMPLE A/D ADINT0 Interrupt Enable\nThe A/D converter generates a conversion end ADF0 flag in ADSR1 register upon the end of specific SAMPLE A/D conversion. If ADIE0 bit is set then conversion end interrupt request ADINT0 is generated.
bits : 2 - 2 (1 bit)
access : read-write
Enumeration:
#0 : 0
Specific SAMPLE A/D ADINT0 interrupt function Disabled
#1 : 1
Specific SAMPLE A/D ADINT0 interrupt function Enabled
End of enumeration elements list.
ADIE1 : Specific SAMPLE A/D ADINT1 Interrupt Enable\nThe A/D converter generates a conversion end ADF1 flag in ADSR1 register upon the end of specific SAMPLE A/D conversion. If ADIE1 bit is set then conversion end interrupt request ADINT1 is generated.
bits : 3 - 3 (1 bit)
access : read-write
Enumeration:
#0 : 0
Specific SAMPLE A/D ADINT1 interrupt function Disabled
#1 : 1
Specific SAMPLE A/D ADINT1 interrupt function Enabled
End of enumeration elements list.
ADIE2 : Specific SAMPLE A/D ADINT2 Interrupt Enable\nThe A/D converter generates a conversion end ADF2 flag in ADSR1 register upon the end of specific SAMPLE A/D conversion. If ADIE2 bit is set then conversion end interrupt request ADINT2 is generated.
bits : 4 - 4 (1 bit)
access : read-write
Enumeration:
#0 : 0
Specific SAMPLE A/D ADINT2 interrupt function Disabled
#1 : 1
Specific SAMPLE A/D ADINT2 interrupt function Enabled
End of enumeration elements list.
ADIE3 : Specific SAMPLE A/D ADINT3 Interrupt Enable\nThe A/D converter generates a conversion end ADF3 flag in ADSR1 register upon the end of specific SAMPLE A/D conversion. If ADIE3 bit is set then conversion end interrupt request ADINT3 is generated.
bits : 5 - 5 (1 bit)
access : read-write
Enumeration:
#0 : 0
Specific SAMPLE A/D ADINT3 interrupt function Disabled
#1 : 1
Specific SAMPLE A/D ADINT3 interrupt function Enabled
End of enumeration elements list.
A/D Channel Input Sources Select Register
address_offset : 0x44 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0
AINA0SEL : A/D Channel AINA[0] Analog Input Selection
bits : 0 - 0 (1 bit)
access : read-write
Enumeration:
#0 : 0
AINA[0] pin P6.0/AINA0 is selected as the ADC AINA[0] input signal
#1 : 1
OP Amplifier 0 output is selected as the ADC AINA[0] input signal
End of enumeration elements list.
AINB0SEL : A/D Channel AINB[0] Analog Input Selection
bits : 1 - 1 (1 bit)
access : read-write
Enumeration:
#0 : 0
AINB[0] pin P7.0/AINB0 is selected as the A/D AINB[0] input signal
#1 : 1
OP Amplifier 1 output is selected as the A/D AINB[0] input signal
End of enumeration elements list.
PRESEL : A/D Channel AINA[7] Analog Input Selection
bits : 2 - 3 (2 bit)
access : read-write
Enumeration:
#00 : 0
Analog Input Channel AINA7
#01 : 1
Band-gap (VBG) Analog Input
#10 : 2
VTEMP Internal Temperature Sensor Analog Input
#11 : 3
Analog ground
End of enumeration elements list.
A/D SAMPLE Software Start Register
address_offset : 0x48 Bytes (0x0)
access : write-only
reset_value : 0x0
reset_Mask : 0x0
ADST7_0 : A/D SAMPLEA7~0 Software Force to Start ADC Conversion Register
bits : 0 - 7 (8 bit)
access : write-only
Enumeration:
0 : 0
No effect
1 : 1
Cause an ADC conversion when the priority is given to SAMPLEA
End of enumeration elements list.
ADST15_8 : A/D SAMPLEB7~0 Software Force to Start ADC Conversion Register
bits : 8 - 15 (8 bit)
access : write-only
Enumeration:
0 : 0
No effect
1 : 1
Cause an ADC conversion when the priority is given to SAMPLEB
End of enumeration elements list.
A/D SAMPLE Start of Conversion Pending Flag Register
address_offset : 0x4C Bytes (0x0)
access : read-only
reset_value : 0x0
reset_Mask : 0x0
STPF7_0 : A/D SAMPLEA7~0 Start Conversion Pending Flag \nThis bit remains 1 during pending state, when the respective ADC conversion is started, the STPFx bit is automatically cleared to 0.
bits : 0 - 7 (8 bit)
access : read-only
Enumeration:
0 : 0
There is no pending conversion for SAMPLEA
1 : 1
SAMPLEA ADC start of conversion is pending
End of enumeration elements list.
STPF15_8 : A/D SAMPLEB7~0 Start Conversion Pending Flag \nThis bit remains 1 during pending state, when the respective ADC conversion is started, the STPFx bit is automatically cleared to 0.
bits : 8 - 15 (8 bit)
access : read-only
Enumeration:
0 : 0
No pending conversion for SAMPLEB
1 : 1
SAMPLEB ADC start of conversion is pending
End of enumeration elements list.
A/D ADINT3~0 Interrupt Flag Over Run Register
address_offset : 0x50 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0
ADFOV0 : A/D ADINT0 Interrupt flag over run bit
It is cleared by write 1.
bits : 0 - 0 (1 bit)
access : read-write
Enumeration:
#0 : 0
ADINT0 interrupt flag is not overwrite to 1
#1 : 1
ADINT0 interrupt flag is overwrite to 1
End of enumeration elements list.
ADFOV1 : A/D ADINT1 Interrupt flag over run bit
It is cleared by write 1.
bits : 1 - 1 (1 bit)
access : read-write
Enumeration:
#0 : 0
ADINT1 interrupt flag is not overwrite to 1
#1 : 1
ADINT1 interrupt flag is overwrite to 1
End of enumeration elements list.
ADFOV2 : A/D ADINT2 Interrupt flag over run bit
It is cleared by write 1.
bits : 2 - 2 (1 bit)
access : read-write
Enumeration:
#0 : 0
ADINT2 interrupt flag is not overwrite to 1
#1 : 1
ADINT2 interrupt flag is overwrite to 1
End of enumeration elements list.
ADFOV3 : A/D ADINT3 Interrupt flag over run bit
It is cleared by write 1.
bits : 3 - 3 (1 bit)
access : read-write
Enumeration:
#0 : 0
ADINT3 interrupt flag is not overwrite to 1
#1 : 1
ADINT3 interrupt flag is overwrite to 1
End of enumeration elements list.
A/D SAMPLE Start of Conversion Over Run Flag Register
address_offset : 0x54 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0
SPOVF7_0 : A/D SAMPLEA7~0 Start Conversion Over Run Flag\nIt is cleared by writing 1.
bits : 0 - 7 (8 bit)
access : read-write
Enumeration:
0 : 0
No SAMPLE event over run
1 : 1
A new SAMPLEA event is generated while an old one event is pending
End of enumeration elements list.
SPOVF15_8 : A/D SAMPLEB7~0 Start Conversion Over Run Flag\nIt is cleared by writing 1.
bits : 8 - 15 (8 bit)
access : read-write
Enumeration:
0 : 0
No SAMPLE event over run
1 : 1
A new SAMPLEB event is generated while an old one event is pending
End of enumeration elements list.
A/D SAMPLEA0 Control Register
address_offset : 0x58 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CHSEL : A/D SAMPLEA,B Channel Selection
bits : 0 - 2 (3 bit)
access : read-write
TRGSEL : A/D SAMPLE Start Conversion Trigger Source Selection
bits : 4 - 7 (4 bit)
access : read-write
TRGDLYCNT : A/D SAMPLE Start Conversion Trigger Delay Time
bits : 8 - 15 (8 bit)
access : read-write
TRGDLYDIV : A/D SAMPLE Start Conversion Trigger Delay Clock Divider Selection\nTrigger delay clock frequency:
bits : 16 - 17 (2 bit)
access : read-write
Enumeration:
#00 : 0
ADC_CLK/1
#01 : 1
ADC_CLK/2
#10 : 2
ADC_CLK/4
#11 : 3
ADC_CLK/16
End of enumeration elements list.
TRGTYPE : A/D SAMPLE Trigger Type Selection
bits : 18 - 19 (2 bit)
access : read-write
Enumeration:
#00 : 0
Rising edge trigger
#01 : 1
Falling edge trigger
#10 : 2
PWM center-align trigger at center point (Only available when PWM is in Center-aligned mode)
#11 : 3
PWM center-align trigger at period end point (Only available when PWM is in Center-aligned mode)
End of enumeration elements list.
address_offset : 0x5C Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0
address_offset : 0x60 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0
address_offset : 0x64 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0
A/D SAMPLEA4 Control Register
address_offset : 0x68 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CHSEL : A/D SAMPLEA,B Channel Selection
bits : 0 - 2 (3 bit)
access : read-write
TRGSEL : A/D SAMPLE Start Conversion Trigger Source Selection
bits : 4 - 6 (3 bit)
access : read-write
TRGTYPE : A/D SAMPLEx Trigger Type Selection
bits : 18 - 18 (1 bit)
access : read-write
Enumeration:
#0 : 0
Rising edge trigger
#1 : 1
Falling edge trigger
End of enumeration elements list.
address_offset : 0x6C Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0
address_offset : 0x70 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0
address_offset : 0x74 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0
address_offset : 0x78 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0
address_offset : 0x7C Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0
address_offset : 0x8 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0
address_offset : 0x80 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0
address_offset : 0x84 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0
address_offset : 0x88 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0
address_offset : 0x8C Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0
address_offset : 0x90 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0
address_offset : 0x94 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0
A/D Interrupt Trigger Source Select Register
address_offset : 0x98 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0
ADINT0SEL : A/D ADINT0 Interrupt Trigger Source Selection
bits : 0 - 4 (5 bit)
access : read-write
ADINT1SEL : A/D ADINT1 Interrupt Trigger Source Selection
bits : 8 - 12 (5 bit)
access : read-write
ADINT2SEL : A/D ADINT2 Interrupt Trigger Source Selection
bits : 16 - 19 (4 bit)
access : read-write
ADINT3SEL : A/D ADINT3 Interrupt Trigger Source Selection
bits : 24 - 27 (4 bit)
access : read-write
A/D SAMPLE Simultaneous Mode Select Register
address_offset : 0xA4 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0
SIMUSEL0 : A/D SAMPLEA0, SAMPLEB0 Simultaneous Sampling Mode Selection
bits : 0 - 0 (1 bit)
access : read-write
Enumeration:
#0 : 0
SAMPLEA0, SAMPLEB0 are in single sampling mode, both SAMPLEA0 and SAMPLEB0's 3 bits of CHSEL define the ADC channels to be converted
#1 : 1
SAMPLEA0, SAMPLEB0 are in simultaneous sampling mode, Only SAMPLEA0 can trigger both the ADC conversions of SAMPLEA0 and SAMPLEB0, SAMPLEB0.trigger select TRGSEL is ignored. if SAMPLEA0's CHSEL = 1, and SAMPLEB0's CHSEL = 3, the pair of channels are AINA[1], AINB[3], they will do the ADC conversion at the same time
End of enumeration elements list.
SIMUSEL1 : A/D SAMPLEA1, SAMPLEB1 Simultaneous Sampling Mode Selection
bits : 1 - 1 (1 bit)
access : read-write
Enumeration:
#0 : 0
SAMPLEA1, SAMPLEB1 are in single sampling mode, both SAMPLEA1 and SAMPLEB1's 3 bits of CHSEL define the ADC channels to be converted
#1 : 1
SAMPLEA1, SAMPLEB1 are in simultaneous sampling mode, Only SAMPLEA1 can trigger both the ADC conversions of SAMPLEA1 and SAMPLEB1, SAMPLEB1.trigger select TRGSEL is ignored. if SAMPLEA1's CHSEL = 1, and SAMPLEB1's CHSEL = 3, the pair of channels are AINA[1], AINB[3], they will do the ADC conversion at the same time
End of enumeration elements list.
SIMUSEL2 : A/D SAMPLEA2, SAMPLEB2 Simultaneous Sampling Mode Selection
bits : 2 - 2 (1 bit)
access : read-write
Enumeration:
#0 : 0
SAMPLEA2, SAMPLEB2 are in single sampling mode, both SAMPLEA2 and SAMPLEB2's 3 bits of CHSEL define the ADC channels to be converted
#1 : 1
SAMPLEA2, SAMPLEB2 are in simultaneous sampling mode, Only SAMPLEA2 can trigger both the ADC conversions of SAMPLEA2 and SAMPLEB2, SAMPLEB2.trigger select TRGSEL is ignored. if SAMPLEA2's CHSEL = 1, and SAMPLEB2's CHSEL = 3, the pair of channels are AINA[1], AINB[3], they will do the ADC conversion at the same time
End of enumeration elements list.
SIMUSEL3 : A/D SAMPLEA3, SAMPLEB3 Simultaneous Sampling Mode Select ion
bits : 3 - 3 (1 bit)
access : read-write
Enumeration:
#0 : 0
SAMPLEA3, SAMPLEB3 are in single sampling mode, both SAMPLEA3 and SAMPLEB3's 3 bits of CHSEL define the ADC channels to be converted
#1 : 1
SAMPLEA3, SAMPLEB3 are in simultaneous sampling mode, Only SAMPLEA3 can trigger both the ADC conversions of SAMPLEA3 and SAMPLEB3, SAMPLEB3.trigger select TRGSEL is ignored. if SAMPLEA3's CHSEL = 1, and SAMPLEB3's CHSEL = 3, the pair of channels are AINA[1], AINB[3], they will do the ADC conversion at the same time
End of enumeration elements list.
SIMUSEL4 : A/D SAMPLEA4, SAMPLEB4 Simultaneous Sampling Mode Select ion
bits : 4 - 4 (1 bit)
access : read-write
Enumeration:
#0 : 0
SAMPLEA4, SAMPLEB4 are in single sampling mode, both SAMPLEA4 and SAMPLEB4's 3 bits of CHSEL define the ADC channels to be converted
#1 : 1
SAMPLEA4, SAMPLEB4 are in simultaneous sampling mode, Only SAMPLEA4 can trigger both the ADC conversions of SAMPLEA4 and SAMPLEB4, SAMPLEB4.trigger select TRGSEL is ignored. if SAMPLEA4's CHSEL = 1, and SAMPLEB4's CHSEL = 3, the pair of channels are AINA[1], AINB[3], they will do the ADC conversion at the same time
End of enumeration elements list.
SIMUSEL5 : A/D SAMPLEA5, SAMPLEB5 Simultaneous Sampling Mode Selection
bits : 5 - 5 (1 bit)
access : read-write
Enumeration:
#0 : 0
SAMPLEA5, SAMPLEB5 are in single sampling mode, both SAMPLEA5 and SAMPLEB5's 3 bits of CHSEL define the ADC channels to be converted
#1 : 1
SAMPLEA5, SAMPLEB5 are in simultaneous sampling mode, Only SAMPLEA5 can trigger both the ADC conversions of SAMPLEA5 and SAMPLEB5, SAMPLEB5.trigger select TRGSEL is ignored. if SAMPLEA5's CHSEL = 1, and SAMPLEB5's CHSEL = 3, the pair of channels are AINA[1], AINB[3], they will do the ADC conversion at the same time
End of enumeration elements list.
SIMUSEL6 : A/D SAMPLEA6, SAMPLEB6 Simultaneous Sampling Mode Selection
bits : 6 - 6 (1 bit)
access : read-write
Enumeration:
#0 : 0
SAMPLEA6, SAMPLEB6 are in single sampling mode, both SAMPLEA6 and SAMPLEB6's 3 bits of CHSEL define the ADC channels to be converted
#1 : 1
SAMPLEA6, SAMPLEB6 are in simultaneous sampling mode, Only SAMPLEA6 can trigger both the ADC conversions of SAMPLEA6 and SAMPLEB6, SAMPLEB6.trigger select TRGSEL is ignored. if SAMPLEA6's CHSEL = 1, and SAMPLEB6's CHSEL = 3, the pair of channels are AINA[1], AINB[3], they will do the ADC conversion at the same time
End of enumeration elements list.
SIMUSEL7 : A/D SAMPLEA7, SAMPLEB7 Simultaneous Sampling Mode Selection
bits : 7 - 7 (1 bit)
access : read-write
Enumeration:
#0 : 0
SAMPLEA7, SAMPLEB7 are in single sampling mode, both SAMPLEA7 and SAMPLEB7's 3 bits of CHSEL define the ADC channels to be converted
#1 : 1
SAMPLEA7, SAMPLEB7 are in simultaneous sampling mode, Only SAMPLEA7 can trigger both the ADC conversions of SAMPLEA7 and SAMPLEB7, SAMPLEB7.trigger select TRGSEL is ignored. if SAMPLEA7's CHSEL = 1, SAMPLEB7's CHSEL = 3, the pair of channels are AINA[1], AINB[3], they will do the ADC conversion at the same time
End of enumeration elements list.
A/D Result Compare Register 0
address_offset : 0xA8 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0
ADCMP_EN : A/D Result Compare Enable\nSet this bit to 1 to enable compare CMPD[11:0] with specified SAMPLE conversion result when converted data is loaded into ADDR register.
bits : 0 - 0 (1 bit)
access : read-write
Enumeration:
#0 : 0
Compare Disabled
#1 : 1
Compare Enabled
End of enumeration elements list.
ADCMPIE : A/D Result Compare Interrupt Enable\nIf the compare function is enabled and the compare condition matches the setting of CMPCOND and CMPMATCNT, ADCMPF bit will be asserted, in the meanwhile, if ADCMPIE is set to 1, a compare interrupt request is generated.
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\nNote: When the internal counter reaches the value to (CMPMATCNT +1), the CMPF bit will be set.
bits : 2 - 2 (1 bit)
access : read-write
Enumeration:
#0 : 0
Set the compare condition as that when a 12-bit A/D conversion result is less than the 12-bit CMPD (ADCMPRx[27:16]), the internal match counter will increase one
#1 : 1
Set the compare condition as that when a 12-bit A/D conversion result is greater or equal to the 12-bit CMPD (ADCMPRx[27:16]), the internal match counter will increase one
End of enumeration elements list.
CMPSMPL : Compare SAMPLE Selection
bits : 3 - 5 (3 bit)
access : read-write
Enumeration:
#000 : 0
SAMPLEA0 conversion result ADDRA0 is selected to be compared
#001 : 1
SAMPLEA1 conversion result ADDRA1 is selected to be compared
#010 : 2
SAMPLEA2 conversion result ADDRA2 is selected to be compared
#011 : 3
SAMPLEA3 conversion result ADDRA3 is selected to be compared
#100 : 4
SAMPLEB0 conversion result ADDRB0 is selected to be compared
#101 : 5
SAMPLEB1 conversion result ADDRB1 is selected to be compared
#110 : 6
SAMPLEB2 conversion result ADDRB2 is selected to be compared
#111 : 7
SAMPLEB3 conversion result ADDRB3 is selected to be compared
End of enumeration elements list.
CMPMATCNT : Compare Match Count\nWhen the specified A/D SAMPLE analog conversion result matches the compare condition defined by CMPCOND, the internal match counter will increase 1. When the internal counter reaches the value to (CMPMATCNT +1), the CMPF bit will be set.
bits : 8 - 11 (4 bit)
access : read-write
CMPD : Comparison Data\nThe 12 bits data is used to compare with the conversion result of specified SAMPLE. Software 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
address_offset : 0xAC Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0
A/D Status Register 0
address_offset : 0xB0 Bytes (0x0)
access : read-only
reset_value : 0x0
reset_Mask : 0x0
VALID7_0 : ADDRA7~0 Data Valid Flag\nIt is a mirror of VALID bit in SAMPLEA A/D result data register ADDRAx
bits : 0 - 7 (8 bit)
access : read-only
VALID15_8 : ADDRB7~0 Data Valid Flag\nIt is a mirror of VALID bit in SAMPLEB A/D result data register ADDRBx
bits : 8 - 15 (8 bit)
access : read-only
OVERRUN7_0 : ADDRA7~0 Over Run Flag\nIt is a mirror to OVERRUN bit in SAMPLEA A/D result data register ADDRAx
bits : 16 - 23 (8 bit)
access : read-only
OVERRUN15_8 : ADDRB7~0 Over Run Flag\nIt is a mirror to OVERRUN bit in SAMPLEB A/D result data register ADDRBx
bits : 24 - 31 (8 bit)
access : read-only
A/D Status Register 1
address_offset : 0xB4 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0
ADF0 : A/D ADINT0 Interrupt Flag\nIt is cleared by writing 1.\nThis bit indicates whether an A/D conversion of specific SAMPLE has been completed.
bits : 0 - 0 (1 bit)
access : read-write
Enumeration:
#0 : 0
No ADINT0 interrupt pulse received
#1 : 1
ADINT0 interrupt pulse received
End of enumeration elements list.
ADF1 : A/D ADINT1 Interrupt Flag\nIt is cleared by writing 1.\nThis bit indicates whether an A/D conversion of specific SAMPLE 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.
ADF2 : A/D ADINT2 Interrupt Flag\nIt is cleared by writing 1. \nThis bit indicates whether an A/D conversion of specific SAMPLE has been completed.
bits : 2 - 2 (1 bit)
access : read-write
Enumeration:
#0 : 0
No ADINT2 interrupt pulse received
#1 : 1
ADINT2 interrupt pulse received
End of enumeration elements list.
ADF3 : A/D ADINT3 Interrupt Flag\nIt is cleared by writing 1.\nThis bit indicates whether an A/D conversion of specific SAMPLE has been completed
bits : 3 - 3 (1 bit)
access : read-write
Enumeration:
#0 : 0
No ADINT3 interrupt pulse received
#1 : 1
ADINT3 interrupt pulse received
End of enumeration elements list.
ADCMPO0 : ADC Compare 0 Output Status Bit
The 12 bits compare0 data (ADCMPR0[27:16]) is used to compare with conversion result of specified SAMPLE. Software can use it to monitor the external analog input pin voltage status.
bits : 4 - 4 (1 bit)
access : read-write
Enumeration:
#0 : 0
Conversion result in ADDR is less than ADCMPR0[27:16] setting
#1 : 1
Conversion result in ADDR is great than or equal ADCMPR0[27:16] setting
End of enumeration elements list.
ADCMPO1 : ADC Compare 1 Output Status Bit
The 12 bits compare1 data (ADCMPR1[27:16]) is used to compare with conversion result of specified SAMPLE. Software can use it to monitor the external analog input pin voltage status.
bits : 5 - 5 (1 bit)
access : read-write
Enumeration:
#0 : 0
Conversion result in ADDR less than ADCMPR1[27:16] setting
#1 : 1
Conversion result in ADDR great than or equal ADCMPR1[27:16] setting
End of enumeration elements list.
ADCMPF0 : ADC Compare 0 Flag\nWhen the specific SAMPLE A/D conversion result meets setting condition in ADCMPR0 then this bit is set to 1. And it is cleared by write 1.
bits : 6 - 6 (1 bit)
access : read-write
Enumeration:
#0 : 0
Conversion result in ADDR does not meet ADCMPR0 setting
#1 : 1
Conversion result in ADDR meets ADCMPR0 setting
End of enumeration elements list.
ADCMPF1 : ADC Compare 1 Flag\nWhen the specific SAMPLE A/D conversion result meets setting condition in ADCMPR1 then this bit is set to 1. And it is cleared by write 1.
bits : 7 - 7 (1 bit)
access : read-write
Enumeration:
#0 : 0
Conversion result in ADDR does not meet ADCMPR1 setting
#1 : 1
Conversion result in ADDR meets ADCMPR1 setting
End of enumeration elements list.
BUSYA : BUSY/IDLE\nIt is read only.
bits : 8 - 8 (1 bit)
access : read-write
Enumeration:
#0 : 0
A/D converter A (ADCA) is in idle state
#1 : 1
A/D converter A (ADCA) is busy at conversion
End of enumeration elements list.
CHANNELA : Current Conversion Channel
bits : 12 - 14 (3 bit)
access : read-write
BUSYB : BUSY/IDLE\nIt is read only.
bits : 16 - 16 (1 bit)
access : read-write
Enumeration:
#0 : 0
A/D converter B (ADCB) is in idle state
#1 : 1
A/D converter B (ADCB) is busy at conversion
End of enumeration elements list.
CHANNELB : Current Conversion Channel
bits : 20 - 22 (3 bit)
access : read-write
AADFOV : All A/D Interrupt Flag Over Run Bits Check \nThis bit will keep 1 when any ADFOVx Flag is equal to 1.
bits : 24 - 24 (1 bit)
access : read-write
Enumeration:
#0 : 0
None of ADINT interrupt flag ADFOVx is overwritten to 1
#1 : 1
Any one of ADINT interrupt flag ADFOVx is overwritten to 1
End of enumeration elements list.
ASPOVF : All A/D SAMPLE Start Conversion Over Run Flags Check\nThis bit will keep 1 when any SPOVFx Flag is equal to 1.
bits : 25 - 25 (1 bit)
access : read-write
Enumeration:
#0 : 0
None of SAMPLE event over run flag SPOVFx is set to 1
#1 : 1
Any one of SAMPLE event over run flag SPOVFx is set to 1
End of enumeration elements list.
AVALID : All SAMPLE A/D Result Data Register ADDR Data Valid Flag Check\nThis bit will keep 1 when any VALIDx Flag is equal to 1.
bits : 26 - 26 (1 bit)
access : read-write
Enumeration:
#0 : 0
None of SAMPLE data register valid flag VALIDx is set to 1
#1 : 1
Any one of SAMPLE data register valid flag VALIDx is set to 1
End of enumeration elements list.
AOVERRUN : All SAMPLE A/D Result Data Register Over Run Flags Check \nThis bit will keep 1 when any OVERRUNx Flag is equal to 1.
bits : 27 - 27 (1 bit)
access : read-write
Enumeration:
#0 : 0
None of SAMPLE data register over run flag OVERRUNx is set to 1
#1 : 1
Any one of SAMPLE data register over run flag OVERRUNx is set to 1
End of enumeration elements list.
A/D Timing Control Register
address_offset : 0xB8 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0
ADAEST : ADCA Extend Sampling Time
When A/D converting at high conversion rate, the sampling time of analog input voltage may not enough if input channel loading is heavy, SW can extend A/D sampling time after trigger source is coming to get enough sampling time.
The range of start delay time is from 0~255 ADC clock.
bits : 0 - 7 (8 bit)
access : read-write
ADBEST : ADCB Extend Sampling Time
When A/D converting at high conversion rate, the sampling time of analog input voltage may not enough if input channel loading is heavy, SW can extend A/D sampling time after trigger source is coming to get enough sampling time.
The range of start delay time is from 0~255 ADC clock.
bits : 16 - 23 (8 bit)
access : read-write
address_offset : 0xC Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0
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.