209
CHAPTER 8 16-BIT TIMER/EVENT COUNTER
Count Pulse
TM0 Count Value
Edge Input
Interrupt
Request Flag
Capture Read Signal
CR01 Captured Value
Capture Operation
Ignored
X
N+1
N
N+1
N+2
M
M+1
M+2
(4) Capture register data retention timings
If the valid edge of the TI00/P00 pin is input during 16-bit capture/compare register 01 (CR01) read, CR01
holds data without carrying out capture operation. However, the interrupt request flag (PIF0) is set upon
detection of the valid edge.
Figure 8-37. Capture Register Data Retention Timing
(5) Valid edge setting
Set the valid edge of the TI00/P00/INTP0 pin after setting bits 1 to 3 (TMC01 to TMC03) of the 16-bit timer
mode control register (TMC0) to 0, 0, 0, respectively, and then stopping timer operation.
Valid edge setting is carried out with bits 2 and 3 (ES10 and ES11) of external interrupt mode register 0 (INTM0).
(6) Re-trigger of one-shot pulse
(a) One-shot pulse output using software
When outputting one-shot pulse, do not set bit 6 (OSPT) of the 16-bit timer output control register (TOC0).
When outputting one-shot pulse again, wait for interrupt INTTM00, which coincides with CR00, to be
generated first.
(b) One-shot pulse output using external trigger
When outputting one-shot pulses, external trigger is ignored if generated again.
Содержание PD78056F
Страница 2: ...2 MEMO ...
Страница 14: ...14 MEMO ...
Страница 34: ...34 MEMO ...
Страница 154: ...154 MEMO ...
Страница 170: ...170 MEMO ...
Страница 238: ...238 MEMO ...
Страница 278: ...278 MEMO ...
Страница 432: ...432 MEMO ...
Страница 476: ...476 MEMO ...
Страница 548: ...548 MEMO ...
Страница 564: ...564 MEMO ...
Страница 580: ...580 MEMO ...
Страница 584: ...584 MEMO ...
Страница 592: ...592 MEMO ...