Capture Register Data Retention Timing - NEC PD78056F User Manual

Pd78058f series; pd78058fy series 8-bit single-chip microcontrollers
Table of Contents

Advertisement

(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.
Count Pulse
TM0 Count Value
N
Edge Input
Interrupt
Request Flag
Capture Read Signal
CR01 Captured Value
(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.
CHAPTER 8 16-BIT TIMER/EVENT COUNTER
Figure 8-37. Capture Register Data Retention Timing
N+1
N+2
X
M
M+1
N+1
Capture Operation
Ignored
M+2
209

Advertisement

Table of Contents
loading

Table of Contents