294
Document # 001-20559 Rev. *D
Decimator
27.2.3
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, the upper
four bits, IGEN[3:0], select which column comparator bit is
gated by the output of a digital block. The output of that digi-
tal 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 the ICLKS1, ICLKS2,
and ICLKS3 bits in the DEC_CR1 register, these bits select
up to 1 of 16 digital blocks (depending on 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
.
27.2.4
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.
This bit is only available in PSoC devices with a type 1 deci-
mator .
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
.
Address
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
Summary of Contents for PSoC CY8C23533
Page 4: ...Contents Overview 4 Document 001 20559 Rev D Section G Glossary 385 Index 401 ...
Page 16: ...Contents Overview 16 Document 001 20559 Rev D ...
Page 24: ...24 Document 001 20559 Rev D Section A Overview ...
Page 30: ...30 Document 001 20559 Rev D Pin Information ...
Page 54: ...54 Document 001 20559 Rev D Supervisory ROM SROM ...
Page 60: ...60 Document 001 20559 Rev D RAM Paging ...
Page 68: ...68 Document 001 20559 Rev D Interrupt Controller ...
Page 76: ...12 Document 001 20559 Rev D General Purpose IO GPIO ...
Page 82: ...18 Document 001 20559 Rev D Internal Main Oscillator IMO ...
Page 84: ...20 Document 001 20559 Rev D Internal Low Speed Oscillator ILO ...
Page 90: ...26 Document 001 20559 Rev D External Crystal Oscillator ECO ...
Page 94: ...30 Document 001 20559 Rev D Phase Locked Loop PLL ...
Page 106: ...42 Document 001 20559 Rev D Sleep and Watchdog ...
Page 228: ...164 Document 001 20559 Rev D Section D Digital System ...
Page 234: ...170 Document 001 20559 Rev D Array Digital Interconnect ADI ...
Page 278: ...214 Document 001 20559 Rev D Digital Blocks ...
Page 296: ...232 Document 001 20559 Rev D Analog Interface ...
Page 304: ...240 Document 001 20559 Rev D Analog Array ...
Page 308: ...244 Document 001 20559 Rev D Analog Input Configuration ...
Page 312: ...248 Document 001 20559 Rev D Analog Reference ...
Page 338: ...274 Document 001 20559 Rev D Section F System Resources ...
Page 354: ...290 Document 001 20559 Rev D Multiply Accumulate MAC ...
Page 374: ...310 Document 001 20559 Rev D I2C ...
Page 400: ...336 Document 001 20559 Rev D Section G Glossary ...