\n

ADC

Peripheral Memory Blocks

address_offset : 0x0 Bytes (0x0)
size : 0x20 byte (0x0)
mem_usage : registers
protection : not protected

address_offset : 0x60 Bytes (0x0)
size : 0x18 byte (0x0)
mem_usage : registers
protection : not protected

address_offset : 0x38 Bytes (0x0)
size : 0x24 byte (0x0)
mem_usage : registers
protection : not protected

Registers

ADC_RESULT0 (RESULT0)

ADC_RESULT4 (RESULT4)

ADC_RESULT5 (RESULT5)

ADC_RESULT6 (RESULT6)

ADC_RESULT7 (RESULT7)

ADC_RESULT14 (RESULT14)

ADC_RESULT15 (RESULT15)

ADC_RESULT1 (RESULT1)

ADC_RESULT16 (RESULT16)

ADC_RESULT17 (RESULT17)

ADCR

ADCHER

ADCMPR0

ADCMPR1

ADSR

ADPDMA

ADCPWD

ADCCALCTL

ADCCALWORD

ADCCHSAMP0

ADCCHSAMP1

ADC_RESULT2 (RESULT2)

ADC_RESULT3 (RESULT3)


ADC_RESULT0 (RESULT0)

A/D Data Register 0
address_offset : 0x0 Bytes (0x0)
access : read-only
reset_value : 0x0
reset_Mask : 0x0

ADC_RESULT0 ADC_RESULT0 read-only 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 RSLT VALID OVERRUN

RSLT : A/D Conversion Result\nThis field contains 12 bits conversion results.
bits : 0 - 11 (12 bit)
access : read-only

VALID : Data Valid Flag\nAfter ADC converts finish, this field will set to high.\nThis field will clear when this register be read.
bits : 16 - 16 (1 bit)
access : read-only

OVERRUN : Over Run Flag\nWhen VALID is high and ADC converts finish, this field will set to high.
bits : 17 - 17 (1 bit)
access : read-only


ADC_RESULT4 (RESULT4)

A/D Data Register 4
address_offset : 0x10 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

ADC_RESULT4 ADC_RESULT4 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

ADC_RESULT5 (RESULT5)

A/D Data Register 5
address_offset : 0x14 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

ADC_RESULT5 ADC_RESULT5 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

ADC_RESULT6 (RESULT6)

A/D Data Register 6
address_offset : 0x18 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

ADC_RESULT6 ADC_RESULT6 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

ADC_RESULT7 (RESULT7)

A/D Data Register 7
address_offset : 0x1C Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

ADC_RESULT7 ADC_RESULT7 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

ADC_RESULT14 (RESULT14)

A/D Data Register 14
address_offset : 0x38 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

ADC_RESULT14 ADC_RESULT14 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

ADC_RESULT15 (RESULT15)

A/D Data Register 15
address_offset : 0x3C Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

ADC_RESULT15 ADC_RESULT15 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

ADC_RESULT1 (RESULT1)

A/D Data Register 1
address_offset : 0x4 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

ADC_RESULT1 ADC_RESULT1 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

ADC_RESULT16 (RESULT16)

A/D Data Register 16
address_offset : 0x40 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

ADC_RESULT16 ADC_RESULT16 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

ADC_RESULT17 (RESULT17)

A/D Data Register 17
address_offset : 0x44 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

ADC_RESULT17 ADC_RESULT17 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

ADCR

A/D Control Register
address_offset : 0x48 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

ADCR ADCR read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ADEN ADIE ADMD TRGS TRGCOND TRGEN PTEN DIFF ADST TMSEL TMTRGMOD REFSEL RESSEL TMPDMACNT

ADEN : A/D Converter Enable Control\nBefore starting A/D conversion, 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.

ADIE : A/D Interrupt Enable Control\nA/D conversion end interrupt request is generated if ADIE bit is set to 1.
bits : 1 - 1 (1 bit)
access : read-write

Enumeration:

#0 : 0

A/D interrupt function Disabled

#1 : 1

A/D interrupt function Enabled

End of enumeration elements list.

ADMD : A/D Converter Operation Mode\n
bits : 2 - 3 (2 bit)
access : read-write

Enumeration:

#00 : 0

Single conversion

#01 : 1

Reserved

#10 : 2

Single-cycle scan

#11 : 3

Continuous scan

End of enumeration elements list.

TRGS : Hardware Trigger Source\nSoftware should disable TRGE and ADST before change TRGS. \nIn hardware trigger mode, the ADST bit is set by the external trigger from STADC or PWM trigger, However software has the highest priority to set or cleared ADST bit at any time.
bits : 4 - 5 (2 bit)
access : read-write

Enumeration:

#00 : 0

A/D conversion is started by external STADC pin

#01 : 1

Reserved

#10 : 2

Reserved

#11 : 3

PWM trigger

End of enumeration elements list.

TRGCOND : External Trigger Condition\nThese two bits decide external pin STADC trigger event is level or edge. The signal must be kept at stable state at least 8 PCLKs for level trigger and 4 PCLKs at high and low state.\n
bits : 6 - 7 (2 bit)
access : read-write

Enumeration:

#00 : 0

Low level

#01 : 1

High level

#10 : 2

Falling edge

#11 : 3

Rising edge

End of enumeration elements list.

TRGEN : External Trigger Enable Control\nEnable or disable triggering of A/D conversion by external STADC pin.\n
bits : 8 - 8 (1 bit)
access : read-write

Enumeration:

#0 : 0

Disabled,

#1 : 1

Enabled,

End of enumeration elements list.

PTEN : PDMA Transfer Enable Control\n
bits : 9 - 9 (1 bit)
access : read-write

Enumeration:

#0 : 0

PDMA data transfer Disabled

#1 : 1

PDMA data transfer in ADC_RESULT 0~17 Enabled

End of enumeration elements list.

DIFF : Differential Mode Selection\nNote: Calibration should calibrated each time when switching between single-ended and differential mode
bits : 10 - 10 (1 bit)
access : read-write

Enumeration:

#0 : 0

ADC is operated in single-ended mode

#1 : 1

ADC is operated in differential mode

End of enumeration elements list.

ADST : A/D Conversion Start\nADST bit can be set to 1 from three sources: software write, external pin STADC and PWM trigger. ADST is cleared to 0 by hardware automatically at the end of single mode and single-cycle scan mode on specified channels. In continuous scan mode, A/D conversion is continuously performed sequentially unless software writes 0 to this bit or chip reset.\nNote: After ADC conversion done, SW needs to wait at least one ADC clock before to set this bit high again.
bits : 11 - 11 (1 bit)
access : read-write

Enumeration:

#0 : 0

Conversion stopped and A/D converter enter idle state

#1 : 1

Conversion starts

End of enumeration elements list.

TMSEL : Select A/D Enable Time-out Source \n
bits : 12 - 13 (2 bit)
access : read-write

Enumeration:

#00 : 0

TMR0

#01 : 1

TMR1

#10 : 2

TMR2

#11 : 3

TMR3

End of enumeration elements list.

TMTRGMOD : Timer Event Trigger ADC Conversion\nsetting TMSEL to select timer event from timer0~3
bits : 15 - 15 (1 bit)
access : read-write

Enumeration:

#0 : 0

This function Disabled

#1 : 1

ADC Enabled by TiMER OUt event

End of enumeration elements list.

REFSEL : Reference Voltage Source Selection\n
bits : 16 - 17 (2 bit)
access : read-write

Enumeration:

#00 : 0

Select AVDD as reference voltage

#01 : 1

Select Int_VREF as reference voltage

#10 : 2

Select VREF as reference voltage

End of enumeration elements list.

RESSEL : Resolution Selection\n
bits : 18 - 19 (2 bit)
access : read-write

Enumeration:

#00 : 0

6 bits. ADC result will put at RSLT[5:0] (ADC_RESULTx[5:0]),

#01 : 1

8 bits. ADC result will put at RSLT[7:0] (ADC_RESULTx[7:0])

#10 : 2

10 bits. ADC result will put at RSLT[9:0] (ADC_RESULTx[9:0])

#11 : 3

12 bits. ADC result will put at RSLT (ADC_RESULTx[11:0])

End of enumeration elements list.

TMPDMACNT : PDMA Count\nWhen each timer event occur PDMA will transfer TMPDMACNT +1 ADC result in the amount of this register setting\nNote: The total amount of PDMA transferring data should be set in PDMA byte count register. When PDMA finish is set, ADC will not be enabled and start transfer even though the timer event occurred
bits : 24 - 31 (8 bit)
access : read-write


ADCHER

A/D Channel Enable Register
address_offset : 0x4C Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

ADCHER ADCHER read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 CHEN0 CHEN1 CHEN2 CHEN3 CHEN4 CHEN5 CHEN6 CHEN7 CHEN14 CHEN15 CHEN16 CHEN17

CHEN0 : Analog Input Channel 0 Enable Control (Convert Input Voltage From PA.0 )\nIf more than one channel in single mode is enabled by software, the least channel is converted and other enabled channels will be ignored.
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

#0 : 0

Disabled

#1 : 1

Enabled

End of enumeration elements list.

CHEN1 : Analog Input Channel 1 Enable Control (Convert Input Voltage From PA.1 )\n
bits : 1 - 1 (1 bit)
access : read-write

Enumeration:

#0 : 0

Disabled

#1 : 1

Enabled

End of enumeration elements list.

CHEN2 : Analog Input Channel 2 Enable Control (Convert Input Voltage From PA.2 )\n
bits : 2 - 2 (1 bit)
access : read-write

Enumeration:

#0 : 0

Disabled

#1 : 1

Enabled.

End of enumeration elements list.

CHEN3 : Analog Input Channel 3 Enable Control (Convert Input Voltage From PA.3 )\n
bits : 3 - 3 (1 bit)
access : read-write

Enumeration:

#0 : 0

Disabled

#1 : 1

Enabled

End of enumeration elements list.

CHEN4 : Analog Input Channel 4 Enable Control (Convert Input Voltage From PA.4 )\n
bits : 4 - 4 (1 bit)
access : read-write

Enumeration:

#0 : 0

Disabled

#1 : 1

Enabled

End of enumeration elements list.

CHEN5 : Analog Input Channel 5 Enable Control (Convert Input Voltage From PA.5 )\n
bits : 5 - 5 (1 bit)
access : read-write

Enumeration:

#0 : 0

Disabled

#1 : 1

Enabled

End of enumeration elements list.

CHEN6 : Analog Input Channel 6 Enable Control (Convert Input Voltage From PA.6 )\n
bits : 6 - 6 (1 bit)
access : read-write

Enumeration:

#0 : 0

Disabled

#1 : 1

Enabled

End of enumeration elements list.

CHEN7 : Analog Input Channel 7 Enable Control (Convert Input Voltage From PA.7 )\n
bits : 7 - 7 (1 bit)
access : read-write

Enumeration:

#0 : 0

Disabled

#1 : 1

Enabled

End of enumeration elements list.

CHEN14 : Analog Input Channel 14 Enable Control (Convert VTEMP)\n
bits : 14 - 14 (1 bit)
access : read-write

Enumeration:

#0 : 0

Disabled

#1 : 1

Enabled

End of enumeration elements list.

CHEN15 : Analog Input Channel 15 Enable Control (Convert Int_VREF)\n
bits : 15 - 15 (1 bit)
access : read-write

Enumeration:

#0 : 0

Disabled

#1 : 1

Enabled

End of enumeration elements list.

CHEN16 : Analog Input Channel 16 Enable Control (Convert AVDD)\n
bits : 16 - 16 (1 bit)
access : read-write

Enumeration:

#0 : 0

Disabled

#1 : 1

Enabled

End of enumeration elements list.

CHEN17 : Analog Input Channel 17 Enable Control (Convert AVSS)
bits : 17 - 17 (1 bit)
access : read-write

Enumeration:

#0 : 0

Disabled

#1 : 1

Enabled

End of enumeration elements list.


ADCMPR0

A/D Compare Register 0
address_offset : 0x50 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

ADCMPR0 ADCMPR0 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 CMPEN CMPIE CMPCOND CMPCH CMPMATCNT CMPD

CMPEN : Compare Enable Control\nSet this bit to 1 to enable compare CMPD[11:0] with specified channel conversion result when converted data is loaded into ADC_RESULTx register.\nWhen this bit is set to 1, and CMPMATCNT is 0, the CMPF will be set once the match is hit.
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

#0 : 0

Compare Disabled

#1 : 1

Compare Enabled

End of enumeration elements list.

CMPIE : Compare Interrupt Enable Control\nIf the compare function is enabled and the compare condition matches the setting of CMPCOND and CMPMATCNT, CMPF bit will be asserted, in the meanwhile, if CMPIE 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 by one

End of enumeration elements list.

CMPCH : Compare Channel Selection\nSet this field to select which channel's result to be compared.\nNote: Valid setting of this field is channel 0~17, but channel 8~14 are reserved.
bits : 3 - 7 (5 bit)
access : read-write

CMPMATCNT : Compare Match Count\nWhen the specified A/D channel analog conversion result matches the compare condition defined by CMPCOND[2], 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 conversion result of specified channel. Software can use it to monitor the external analog input pin voltage variation in scan mode without imposing a load on software.
bits : 16 - 27 (12 bit)
access : read-write


ADCMPR1

A/D Compare Register 1
address_offset : 0x54 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

ADCMPR1 ADCMPR1 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

ADSR

A/D Status Register
address_offset : 0x58 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

ADSR ADSR read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ADF CMPF0 CMPF1 BUSY CHANNEL INITRDY

ADF : A/D Conversion End Flag\nA status flag that indicates the end of A/D conversion.\nADF is set to 1 at these two conditions:\nWhen A/D conversion ends in single mode\nWhen A/D conversion ends on all specified channels in scan mode.\nThis flag can be cleared by writing 1 to it.
bits : 0 - 0 (1 bit)
access : read-write

CMPF0 : Compare Flag\nWhen the selected channel A/D conversion result meets setting condition in ADCMPR0 then this bit is set to 1. And it is cleared by writing 1 to self.\nThis flag can be cleared by writing 1 to it.\nNote: When this flag is set, the matching counter will be reset to 0,and continue to count when user write 1 to clear CMPF0
bits : 1 - 1 (1 bit)
access : read-write

Enumeration:

#0 : 0

Conversion result in ADC_RESULTx does not meet ADCMPR0setting

#1 : 1

Conversion result in ADC_RESULTx meets ADCMPR0setting

End of enumeration elements list.

CMPF1 : Compare Flag\nWhen the selected channel A/D conversion result meets setting condition in ADCMPR1 then this bit is set to 1. And it is cleared by writing 1 to self.\nThis flag can be cleared by writing 1 to it.\nNote: When this flag is set, the matching counter will be reset to 0,and continue to count when user writes 1 to clear CMPF1.
bits : 2 - 2 (1 bit)
access : read-write

Enumeration:

#0 : 0

Conversion result in ADC_RESULTx does not meet ADCMPR1 setting

#1 : 1

Conversion result in ADC_RESULTx meets ADCMPR1 setting

End of enumeration elements list.

BUSY : BUSY/IDLE (Read Only)\n
bits : 3 - 3 (1 bit)
access : read-only

Enumeration:

#0 : 0

A/D converter is in idle state

#1 : 1

A/D converter is busy at conversion

End of enumeration elements list.

CHANNEL : Current Conversion Channel (Read Only)\n
bits : 4 - 8 (5 bit)
access : read-only

INITRDY : ADC Power-up Sequence Completed\nNote: This bit will be set after system reset occurred and automatically cleared by power-up event.
bits : 16 - 16 (1 bit)
access : read-write

Enumeration:

#0 : 0

ADC not powered up after system reset

#1 : 1

ADC has been powered up since the last system reset

End of enumeration elements list.


ADPDMA

A/D PDMA Current Transfer Data Register
address_offset : 0x60 Bytes (0x0)
access : read-only
reset_value : 0x0
reset_Mask : 0x0

ADPDMA ADPDMA read-only 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 AD_PDMA

AD_PDMA : ADC PDMA Current Transfer Data (Read Only)\nWhen PDMA transferring, reading these bits can monitor the current PDMA transfer data.
bits : 0 - 11 (12 bit)
access : read-only


ADCPWD

ADC Power Management Register
address_offset : 0x64 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

ADCPWD ADCPWD read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PWUPRDY PWDCALEN PWDMOD

PWUPRDY : ADC Power-up Sequence Completed and Ready for Conversion\n
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

#0 : 0

ADC is not ready for conversion may be in power down state or in the progress of power up

#1 : 1

ADC is ready for conversion

End of enumeration elements list.

PWDCALEN : Power Up Calibration Function Enable Control Note: This bit work together with CALSEL (ADCCALCTL[3]), see the following {PWDCALEN,CALFBSEL} Description: PWDCALEN is 0 and CALFBSEL is 0: No need to calibrate. PWDCALEN is 0 and CALFBSEL is 1: No need to calibrate. PWDCALEN is 1 and CALFBSEL is 0: Load calibration word when power up. PWDCALEN is 1 and CALFBSEL is 1: Calibrate when power up.
bits : 1 - 1 (1 bit)
access : read-write

Enumeration:

#0 : 0

Power up without calibration

#1 : 1

Power up with calibration

End of enumeration elements list.

PWDMOD : ADC Power-down Mode Set this bit fields to select ADC Power-down mode when system power-down. Note1: Different PWDMOD has different power down/up sequence, in order to avoid ADC powering up with wrong sequence user must keep PWMOD consistent each time in power down and power up. Note2: While the ADC is power up from Power-down mode without calibration, the PWDCALEN(ADCPWD[1]) is set to 0. (The calibration value will be reset)
bits : 2 - 3 (2 bit)
access : read-write

Enumeration:

#00 : 0

Reserved

#01 : 1

ADC Power-down mode

#10 : 2

ADC Standby mode

#11 : 3

Reserved

End of enumeration elements list.


ADCCALCTL

ADC Calibration Control Register
address_offset : 0x68 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

ADCCALCTL ADCCALCTL read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 CALEN CALSTART CALDONE CALSEL

CALEN : Calibration Function Enable Control\nEnable this bit to turn on the calibration function block.\n
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

#0 : 0

(BYPASSCAL)

#1 : 1

Enabled

End of enumeration elements list.

CALSTART : Calibration Functional Block Start\n
bits : 1 - 1 (1 bit)
access : read-write

Enumeration:

#0 : 0

Stops calibration functional block

#1 : 1

Starts calibration functional block

End of enumeration elements list.

CALDONE : Calibrate Functional Block Complete\n
bits : 2 - 2 (1 bit)
access : read-write

Enumeration:

#0 : 0

Not yet

#1 : 1

Selected functional block complete

End of enumeration elements list.

CALSEL : Select Calibration Functional Block\n
bits : 3 - 3 (1 bit)
access : read-write

Enumeration:

#0 : 0

Load calibration functional block

#1 : 1

Calibration functional block

End of enumeration elements list.


ADCCALWORD

A/D Calibration Load Word Register
address_offset : 0x6C Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

ADCCALWORD ADCCALWORD read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 CALWORD

CALWORD : Calibration Word Bits Write to this register with the previous calibration word before load calibration action Read this register after calibration done Note: The calibration block contains two parts CALIBRATION and LOAD CALIBRATION if the calibration block configure as CALIBRATION then this register represent the result of calibration when calibration is completed if configure as LOAD CALIBRATION configure this register before loading calibration action, after loading calibration complete, the laoded calibration word will apply to the ADC while in loading calibration function the loaded value will not be equal to the original CALWORD until calibration is done.
bits : 0 - 6 (7 bit)
access : read-write


ADCCHSAMP0

ADC Channel Sampling Time Counter Register Group 0
address_offset : 0x70 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

ADCCHSAMP0 ADCCHSAMP0 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 CH0SAMPCNT CH1SAMPCNT CH2SAMPCNT CH3SAMPCNT CH4SAMPCNT CH5SAMPCNT CH6SAMPCNT CH7SAMPCNT

CH0SAMPCNT : Channel 0 Sampling Counter CH0SAMPCNT ADC Clock
bits : 0 - 3 (4 bit)
access : read-write

Enumeration:

0 : 0

0

1 : 1

1

2 : 2

2

3 : 3

4

4 : 4

8

5 : 5

16

6 : 6

32

7 : 7

64

8 : 8

128

9 : 9

256

10 : 10

512

11 : 11

1024

12 : 12

1024

13 : 13

1024

14 : 14

1024

15 : 15

1024

End of enumeration elements list.

CH1SAMPCNT : Channel 1 Sampling Counter\nThe same as Channel 0 sampling counter table.
bits : 4 - 7 (4 bit)
access : read-write

CH2SAMPCNT : Channel 2 Sampling Counter\nThe same as Channel 0 sampling counter table.
bits : 8 - 11 (4 bit)
access : read-write

CH3SAMPCNT : Channel 3 Sampling Counter\nThe same as Channel 0 sampling counter table.
bits : 12 - 15 (4 bit)
access : read-write

CH4SAMPCNT : Channel 4 Sampling Counter\nThe same as Channel 0 sampling counter table.
bits : 16 - 19 (4 bit)
access : read-write

CH5SAMPCNT : Channel 5 Sampling Counter\nThe same as Channel 0 sampling counter table.
bits : 20 - 23 (4 bit)
access : read-write

CH6SAMPCNT : Channel 6 Sampling Counter\nThe same as Channel 0 sampling counter table.
bits : 24 - 27 (4 bit)
access : read-write

CH7SAMPCNT : Channel 7 Sampling Counter\nThe same as Channel 0 sampling counter table.
bits : 28 - 31 (4 bit)
access : read-write


ADCCHSAMP1

ADC Channel Sampling Time Counter Register Group 1
address_offset : 0x74 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

ADCCHSAMP1 ADCCHSAMP1 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 INTCHSAMPCNT

INTCHSAMPCNT : Internal Channel (VTEMP, AVDD, AVSS, Int_VREF) Sampling Counter\nThe same as Channel 0 sampling counter table.
bits : 16 - 19 (4 bit)
access : read-write


ADC_RESULT2 (RESULT2)

A/D Data Register 2
address_offset : 0x8 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

ADC_RESULT2 ADC_RESULT2 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

ADC_RESULT3 (RESULT3)

A/D Data Register 3
address_offset : 0xC Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

ADC_RESULT3 ADC_RESULT3 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0


Is something missing? Is something wrong? can you help correct it ? Please contact us at info@chipselect.org !

This website is sponsored by EmbeetleEmbeetle, an IDE designed from scratch for embedded software developers.