![Cypress CY8C28 series Скачать руководство пользователя страница 366](http://html1.mh-extra.com/html/cypress/cy8c28-series/cy8c28-series_technical-reference-manual_2706133366.webp)
CY8C28xxx PSoC Programmable System-on-Chip TRM, Document No. 001-52594 Rev. *G
365
Digital Blocks
Figure 17-13. Multi-Block Timing
CMPO is generated from a combination of the internal com-
pare condition and the CMPI input using the following rules:
1. For any given block, if DR0 < DR2, the CMPO condition
is unconditionally asserted.
2. For any given block, if DR0 == DR2, CMPO is asserted
only if the CMPI input to that block is asserted.
3. If the block is a start block, the effective CMPI depends
on the compare type. If it is DR0 <= DR2, the effective
CMPI input is '1'. If it is DR0 < DR2, the effective input is
'0'.
Capture Operation.
In the timer implementation, a rising
edge of the data input or a CPU read of DR0 triggers a syn-
chronous capture event. The result of this is to generate a
latch enable to DR2 that loads the current count from DR0
into DR2. The latch enable signal is synchronized in such a
way that it is not closing near an edge on which the count is
changing.
A limitation is that capture will not work with the block clock
of 48 MHz. (A fundamental limitation to Timer Capture oper-
ation is the fact the GPIO inputs are currently synchronized
to the 24 MHz system clock).
KILL Interrupt Generation .
KILL interrupt occurs when
the function is enabled. Therefore no interrupt occurs if the
KILL is already high in KILL-Disable mode when you write
the function control register to be enabled. This is due to the
function not being enabled due to KILL assertion.
Figure 17-14. Timer KILL Interrupt Generation
CLK
2
1
0
FF
FE
Count LSB
Example of multi-block timer counting
MSB Period = k, ISB Period = m, LSB Period = n
Carry Out LSB
Count ISB
1
Carry Out ISB
0
2
1
0
n
n-1
0
m
0
Count MSB
Zero Detect LSB
Zero Detect ISB
k
Zero Detect MSB
Carry Out MSB
Multi-Block TC
Reload occurs
when all blocks
reach Terminal
Count (TC).
SYSCLK
EN
EN-Sync’ed
KILL
KILL-Sync’ed
KILL-Interrupt
KILL-Reload Mode
IOW_
A half cycle delay
SYSCLK
EN
EN-Sync’ed
KILL
KILL-Sync’ed
KILL-Interrupt
KILL-Disable Mode
A half cycle delay
Содержание 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 ...