CY8C28xxx PSoC Programmable System-on-Chip TRM, Document No. 001-52594 Rev. *G
401
Analog Interface
18.3.2
CMP_CR0 Register
The Analog Comparator Bus Register 0 (CMP_CR0) is used
to poll the analog column comparator bits and select column
interrupts.
This register contains two fields: COMP and AINT. By
default, the interrupt is the comparator bit. A rising edge on a
comparator bit causes an interrupt to be registered. How-
ever, if a bit in this field is set, the interrupt input for that col-
umn will be derived from the falling edge of PHI2 clock for
that column (that is, the falling edge of PHI2 will leave a ris-
ing interrupt signal). Firmware can use this capability to syn-
chronize to the current column clock.
Bits 7 to 4: COMP[x].
These bits are the read only bits cor-
responding to the comparator bits in each analog column.
They are synchronized to the column clock, and thus may
be reliably polled by the CPU.
Bits 3 to 0: AINT[x].
These bits select the interrupt source
for each column, as the input to the interrupt controller.
Note
In PSoC devices with less than four columns, the
comparator signal for each un-implemented column is tied
to logic zero.
For additional information, refer to the
Add.
Name
Cols.
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Access
0,64h
4
COMP[3:0]
AINT[3:0]
# : 00
2
COMP[1:0]
AINT[1:0]
#: Access is bit specific. Refer to the
Содержание CY8C28 series
Страница 65: ...64 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G RAM Paging ...
Страница 85: ...84 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G Internal Main Oscillator IMO ...
Страница 93: ...92 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G External Crystal Oscillator ECO ...
Страница 97: ...96 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G Phase Locked Loop PLL ...
Страница 125: ...124 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G ...
Страница 311: ...310 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G IDAC_CR0 1 FDh ...
Страница 317: ...316 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G ...
Страница 393: ...392 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G ...
Страница 425: ...424 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G Analog Reference ...
Страница 461: ...460 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G Two Column Limited Analog System ...
Страница 477: ...476 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G Digital Clocks ...
Страница 483: ...482 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G Multiply Accumulate MAC ...
Страница 513: ...512 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G Internal Voltage Reference ...
Страница 523: ...522 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G Switch Mode Pump SMP ...
Страница 533: ...532 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G I O Analog Multiplexer ...
Страница 537: ...536 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G Real Time Clock RTC ...
Страница 561: ...560 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G ...