English
Language : 

SH7059 Datasheet, PDF (377/1042 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer
11. Advanced Timer Unit-II (ATU-II)
P
TCNT1
Clock
TCNT1 0000
0001
0002
0003
0004
0005
5678
5679
567A
567B
567C
567D
567E
TIO1A–1C
GR1A
GR1B
GR1C
TSR1
IMF1A
TSR1
IMF1B
TSR1
IMF1C
0003
0003
Cleared by software
567A
0003
567A
Cleared by software
Figure 11.16 Input Capture Operation
11.3.5 One-Shot Pulse Function
Channel 8 has sixteen down-counters (DCNT8A to DCNT8P) and corresponding external pins (TO8A to TO8P) which
can be used as one-shot pulse output pins.
When a value is set beforehand in DCNT and the corresponding bit in the down-counter start register (DSTR) is set,
DCNT starts counting down, and at the same time 1 is output from the corresponding external pin. When DCNT reaches
H'0000 the down-count stops, the corresponding bit in the timer status register (TSR) is set, and 0 is output from the
external pin. The corresponding bit in DSTR is cleared automatically. By making the appropriate setting in the interrupt
enable register (TIER), an interrupt request can be sent to the CPU.
An example of one-shot pulse operation is shown in figure 11.17.
In the example in figure 11.17, H'0005 is set in DCNT and a down-count is started.
P
DSTR
DST8A
DCNT
Clock
Synchronized with down-counter clock
TO8A
DCNT8A
0005
0004
TSR8
0003
0002
0001
0000
Figure 11.17 One-Shot Pulse Output Operation
Cleared by software
Rev.3.00 Mar. 12, 2008 Page 287 of 948
REJ09B0177-0300