\n

ADC

Peripheral Memory Blocks

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

Registers

ADC_DAT (DAT)

ADC_INTCTL (INTCTL)

ADC_PDMACTL (PDMACTL)

ADC_CMP0 (CMP0)

ADC_CMP1 (CMP1)

ADC_CHEN (CHEN)

ADC_CLKDIV (CLKDIV)

ADC_DCICTL (DCICTL)


ADC_DAT (DAT)

ADC FIFO Data Out.
address_offset : 0x0 Bytes (0x0)
size : -1 bit
access : read-only
reset_value : 0x0
reset_Mask : 0x0

ADC_DAT ADC_DAT 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 RESULT

RESULT : ADC Audio Data FIFO Read A read of this register will read data from the audio FIFO and increment the read pointer. A read past empty will repeat the last data. Can be used with FIFOINTLV interrupt to determine if valid data is present in FIFO.
bits : 0 - 15 (16 bit)
access : read-only


ADC_INTCTL (INTCTL)

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

ADC_INTCTL ADC_INTCTL 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 FIFOINTLV INTEN

FIFOINTLV : FIFO Interrupt Level Determines at what level the ADC FIFO will generate a servicing interrupt to the CPU. Interrupt will be generated when number of words present in ADC FIFO is > FIFOINTLV.
bits : 0 - 2 (3 bit)
access : read-write

INTEN : Interrupt Enable If set to '1' an interrupt is generated whenever FIFO level exceeds that set in FIFOINTLV.
bits : 31 - 31 (1 bit)
access : read-write


ADC_PDMACTL (PDMACTL)

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

ADC_PDMACTL ADC_PDMACTL 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 RXDMAEN

RXDMAEN : Enable ADC PDMA Receive Channel Enable ADC PDMA. If set, then ADC will request PDMA service when data is available.
bits : 0 - 0 (1 bit)
access : read-write


ADC_CMP0 (CMP0)

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

ADC_CMP0 ADC_CMP0 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 ADCMPEN ADCMPIE CMPCOND CMPFLAG CMPMCNT CMPDAT

ADCMPEN : Compare Enable Set this bit to 1 to enable compare CMPDAT with FIFO data output.
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

#0 : 0

Disable compare

#1 : 1

Enable compare

End of enumeration elements list.

ADCMPIE : Compare Interrupt Enable If the compare function is enabled and the compare condition matches the setting of CMPCOND and CMPMCNT, CMPFLAG bit will be asserted, if ADCMPIE is set to 1, a compare interrupt request is generated.
bits : 1 - 1 (1 bit)
access : read-write

Enumeration:

#0 : 0

Disable compare function interrupt

#1 : 1

Enable compare function interrupt

End of enumeration elements list.

CMPCOND : Compare Condition Note: When the internal counter reaches the value (CMPMCNT +1), the CMPFLAG bit will be set.
bits : 2 - 2 (1 bit)
access : read-write

Enumeration:

#0 : 0

Set the compare condition that result is less than CMPDAT

#1 : 1

Set the compare condition that result is greater or equal to CMPDAT

End of enumeration elements list.

CMPFLAG : Compare Flag When the conversion result meets condition in ADCMPR0 this bit is set to 1. It is cleared by writing 1 to self.
bits : 7 - 7 (1 bit)
access : read-write

CMPMCNT : Compare Match Count When the A/D FIFO result matches the compare condition defined by CMPCOND, the internal match counter will increase by 1. When the internal counter reaches the value to (CMPMCNT +1), the CMPFLAG bit will be set.
bits : 8 - 11 (4 bit)
access : read-write

CMPDAT : Comparison Data 16 bit value to compare to FIFO output word.
bits : 16 - 31 (16 bit)
access : read-write


ADC_CMP1 (CMP1)

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

ADC_CMP1 ADC_CMP1 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 ADCMPEN ADCMPIE CMPCOND CMPFLAG CMPMCNT CMPDAT

ADCMPEN : Compare Enable Set this bit to 1 to enable compare CMPDAT with FIFO data output.
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

#0 : 0

Disable compare

#1 : 1

Enable compare

End of enumeration elements list.

ADCMPIE : Compare Interrupt Enable If the compare function is enabled and the compare condition matches the setting of CMPCOND and CMPMCNT, CMPFLAG bit will be asserted, if ADCMPIE is set to 1, a compare interrupt request is generated.
bits : 1 - 1 (1 bit)
access : read-write

Enumeration:

#0 : 0

Disable compare function interrupt

#1 : 1

Enable compare function interrupt

End of enumeration elements list.

CMPCOND : Compare Condition Note: When the internal counter reaches the value (CMPMCNT +1), the CMPFLAG bit will be set.
bits : 2 - 2 (1 bit)
access : read-write

Enumeration:

#0 : 0

Set the compare condition that result is less than CMPDAT

#1 : 1

Set the compare condition that result is greater or equal to CMPDAT

End of enumeration elements list.

CMPFLAG : Compare Flag When the conversion result meets condition in ADCMPR0 this bit is set to 1. It is cleared by writing 1 to self.
bits : 7 - 7 (1 bit)
access : read-write

CMPMCNT : Compare Match Count When the A/D FIFO result matches the compare condition defined by CMPCOND, the internal match counter will increase by 1. When the internal counter reaches the value to (CMPMCNT +1), the CMPFLAG bit will be set.
bits : 8 - 11 (4 bit)
access : read-write

CMPDAT : Comparison Data 16 bit value to compare to FIFO output word.
bits : 16 - 31 (16 bit)
access : read-write


ADC_CHEN (CHEN)

ADC Enable Register
address_offset : 0x4 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

ADC_CHEN ADC_CHEN 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 CHEN

CHEN : ADC Enable
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

#0 : 0

Conversion stopped and ADC is reset including FIFO pointers

#1 : 1

ADC Conversion enabled

End of enumeration elements list.


ADC_CLKDIV (CLKDIV)

ADC Clock Divider Register
address_offset : 0x8 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

ADC_CLKDIV ADC_CLKDIV 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 CLKDIV

CLKDIV : ADC Clock Divider This register determines the clock division ration between the incoming ADC_CLK (aaa HCLK by default) and the Delta-Sigma sampling clock of the ADC. This together with the over-sampling ratio (OSR) determines the audio sample rate of the converter. CLKDIV should be set to give a SD_CLK frequency in the range of 1.024-6.144MHz. CLKDIV must be greater than 2. SD_CLK frequency aaa HCLK / CLKDIV
bits : 0 - 7 (8 bit)
access : read-write


ADC_DCICTL (DCICTL)

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

ADC_DCICTL ADC_DCICTL 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 OVSPLRAT GAIN

OVSPLRAT : Decimation Over-Sampling Ratio This term determines the over-sampling ratio of the decimation filter. Valid values are: 0: OVSPLRAT aaa 64 1: OVSPLRAT aaa 128 2: OVSPLRAT aaa 192 3: OVSPLRAT aaa 384
bits : 0 - 3 (4 bit)
access : read-write

GAIN : CIC Filter Additional Gain This should normally remain default 0. Can be set to non-zero values to provide additional digital gain from the decimation filter. An additional gain is applied to signal of GAIN/2.
bits : 16 - 19 (4 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 EmbeetleEmbeetle, an IDE designed from scratch for embedded software developers.