Document # 001-20559 Rev. *D
229
Analog Interface
18.4.4
DEC_CR0 Register
The Decimator Control Register 0 (DEC_CR0) contains con-
trol bits to access hardware support for both the Incremental
ADC and the DELISG ADC.
Bits 5 to 4: IGEN[1:0].
For incremental support, these bits
select which column comparator bit is gated by the output of
a digital block. The output of that digital block is typically a
PWM signal; the high time of which corresponds to the ADC
conversion period. This ensures that the comparator output
is only processed for the precise conversion time. The digital
block selected for the gating function is controlled by
ICLKS0 in this register, and ICLKS3, ICLKS2 and ICLKS1
bits in the DEC_CR1 register.
Bit 3: ICLKS0.
In conjunction with ICLKS1, ICLKS2, and
ICLKS3 in the DEC_CR1 register, these bits select up to
one of 16 digital blocks (depending on the PSoC device
resources) to provide the gating signal for an incremental
ADC conversion.
Bits 2 and 1: DCOL[1:0].
The DELSIG ADC uses the
hardware decimator to do a portion of the post processing
computation on the comparator signal. DCOL[1:0] selects
the column source for the decimator data (comparator bit)
and clock input (PHI clocks).
Bit 0: DCLKS0.
The decimator requires a timer signal to
sample the current decimator value to an output register that
may subsequently be read by the CPU. This timer period is
set to be a function of the DELSIG conversion time and may
be selected from up to one of eight digital blocks (depending
on the PSoC device resources) with DCLKS0 in this register
and DCLKS3, DCLKS2, and DCLKS1 in the DEC_CR1 reg-
ister.
For additional information, refer to the
18.4.5
DEC_CR1 Register
The Decimator Control Register 1 (DEC_CR1) is used to
configure the decimator prior to using it.
Bit 7: ECNT.
The ECNT bit is a mode bit that controls the
operation of the decimator hardware block. By default, the
decimator is set to a double integrate function, for use in
hardware DELSIG processing. When the ECNT bit is set,
the decimator block converts to a single integrate function.
This gives the equivalent of a 16-bit counter suitable for use
in hardware support for an Incremental ADC function.
The DEC_CR1 register’s bit 7 (ECNT) is only available in
PSoC devices with a type 1 decimator and is reserved in
PSoC devices with a type 2 decimator.
Bit 6: IDEC.
Any function using the decimator requires a
digital block timer to sample the current decimator value.
Normally, the positive edge of this signal causes the decima-
tor output to be sampled. However, when the IDEC bit is set,
the negative edge of the selected digital block input causes
the decimator value to be sampled.
Bits 5 to 0: ICLKSx and DCLKSx.
The ICLKS3, ICLKS2,
ICLKS1, DCLKS3, DCLKS2, and DCLKS1 bits in this regis-
ter select the digital block sources for Incremental and DEL-
SIGN ADC hardware support (see the DEC_CR0 register).
For additional information, refer to the
Add.
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Access
0,E6h
IGEN[1:0]
ICLKS0
DCOL[1:0]
DCLKS0
RW : 00
Address
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Access
0,E7h
ECNT
IDEC
ICLKS3
ICLKS2
ICLKS1
DCLKS3
DCLKS2
DCLKS1
RW : 00
Содержание PSoC CY8C23533
Страница 4: ...Contents Overview 4 Document 001 20559 Rev D Section G Glossary 385 Index 401 ...
Страница 16: ...Contents Overview 16 Document 001 20559 Rev D ...
Страница 24: ...24 Document 001 20559 Rev D Section A Overview ...
Страница 30: ...30 Document 001 20559 Rev D Pin Information ...
Страница 54: ...54 Document 001 20559 Rev D Supervisory ROM SROM ...
Страница 60: ...60 Document 001 20559 Rev D RAM Paging ...
Страница 68: ...68 Document 001 20559 Rev D Interrupt Controller ...
Страница 76: ...12 Document 001 20559 Rev D General Purpose IO GPIO ...
Страница 82: ...18 Document 001 20559 Rev D Internal Main Oscillator IMO ...
Страница 84: ...20 Document 001 20559 Rev D Internal Low Speed Oscillator ILO ...
Страница 90: ...26 Document 001 20559 Rev D External Crystal Oscillator ECO ...
Страница 94: ...30 Document 001 20559 Rev D Phase Locked Loop PLL ...
Страница 106: ...42 Document 001 20559 Rev D Sleep and Watchdog ...
Страница 228: ...164 Document 001 20559 Rev D Section D Digital System ...
Страница 234: ...170 Document 001 20559 Rev D Array Digital Interconnect ADI ...
Страница 278: ...214 Document 001 20559 Rev D Digital Blocks ...
Страница 296: ...232 Document 001 20559 Rev D Analog Interface ...
Страница 304: ...240 Document 001 20559 Rev D Analog Array ...
Страница 308: ...244 Document 001 20559 Rev D Analog Input Configuration ...
Страница 312: ...248 Document 001 20559 Rev D Analog Reference ...
Страница 338: ...274 Document 001 20559 Rev D Section F System Resources ...
Страница 354: ...290 Document 001 20559 Rev D Multiply Accumulate MAC ...
Страница 374: ...310 Document 001 20559 Rev D I2C ...
Страница 400: ...336 Document 001 20559 Rev D Section G Glossary ...