CY8C28xxx PSoC Programmable System-on-Chip TRM, Document No. 001-52594 Rev. *G
543
10-Bit SAR ADC Controller
35.3.7
SADC_CR0
Bits 6 to 3: ADC_CHS[3:0]:
ADC input channel selection.
■
0000b to 0111b: P0[0] to P0[7]
■
1000b to 1011b: ACC00-ACC03
■
1100b to 1110b: AMUXL, AMUXR, VBG
■
1111b: Reserved
Bit 2: READY.
1 shows that there is new data that has not
been read.
Bit 1: START/ONGOING.
If you read 1, the A-D conversion
started and is not finished. Write 1 to it in SW trigger mode
and it triggers a new conversion.
Bit 0: ADC_EN.
ADC enable bit.
For additional information, refer to the
35.3.8
SADC_CR1
10-bit SAR ADC controller only exists in the CY8C28x03,
CY8C28x13, CY8C28x33, CY8C28x43, and CY8C28x45
PSoC devices.
Bits 7 and 6: CVTMD[1:0].
The conversion mode:
■
00b: the default mode that only the extra cycle for sixth
bit conversion. Refer to
.
■
01b: the extra cycle for sixth bit conversion with add-on
weak Vref buffer. Refer to
■
10b: the extra cycle for seventh bit conversion with add-
on weak Vref buffer. Refer to
■
11b: the extra cycle for first bit conversion with add-on
weak Vref buffer. Refer to
Bits 5 and 4: TIGSEL[1:0].
Auto-trigger source selection. It
must work with ALIGN_EN. Refer to bit 0 of this register and
SADC_TSCRx (1,71h and 1,72h) and SADC_TSCMPL/H
(1,81h and 1,82h) register definitions for these trigger sig-
nals.
00b: TG_L
01b: TG_H
10b: TG_16BIT
11b: TG_INCMP
Bits 3 to 1: CLKSEL[3:0].
ADC Clock Selection
000b: SYSCLK/2
001b: SYSCLK/4
010b: SYSCLK/6
011b: SYSCLK/8
100b: SYSCLK/12
101b: SYSCLK/16
110b: SYSCLK/32
111b: SYSCLK/64
Bit 0: ALIGN_EN.
1 to enable auto-align/trigger function.
The ADC is driven by outside-block trigger signal.
For additional information, refer to the
Address
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Access
1,A8h
ADC_CHS[3:0]
READY
START/
ONGOING
ADC_EN
RW : 00
Address
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Access
1,A9h
CVTMD[1:0]
TIGSEL[1:0]
CLKSEL[2:0]
ALIGN_EN
RW : 00
Summary of Contents for CY8C28 series
Page 65: ...64 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G RAM Paging ...
Page 125: ...124 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G ...
Page 311: ...310 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G IDAC_CR0 1 FDh ...
Page 317: ...316 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G ...
Page 393: ...392 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G ...
Page 477: ...476 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G Digital Clocks ...
Page 561: ...560 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G ...