upd78f0124m6gba1-8et Renesas Electronics Corporation., upd78f0124m6gba1-8et Datasheet - Page 162

no-image

upd78f0124m6gba1-8et

Manufacturer Part Number
upd78f0124m6gba1-8et
Description
8-bit Single-chip Microcontrollers
Manufacturer
Renesas Electronics Corporation.
Datasheet
(2) One-shot pulse output with external trigger
162
Caution 16-bit timer counter 00 starts operating as soon as a value other than 00 (operation stop mode) is
Remark N < M
A one-shot pulse can be output from the TO00 pin by setting 16-bit timer mode control register 00 (TMC00),
capture/compare control register 00 (CRC00), and 16-bit timer output control register 00 (TOC00) as shown in
Figure 6-33, and by using the valid edge of the TI000 pin as an external trigger.
The valid edge of the TI000 pin is specified by bits 4 and 5 (ES000, ES001) of prescaler mode register 00
(PRM00). The rising, falling, or both the rising and falling edges can be specified.
When the valid edge of the TI000 pin is detected, the 16-bit timer/event counter is cleared and started, and the
output becomes active at the count value set in advance to 16-bit timer capture/compare register 010 (CR010).
After that, the output becomes inactive at the count value set in advance to 16-bit timer capture/compare register
000 (CR000)
Note The case where N < M is described here. When N > M, the output becomes active with the CR000
Caution Do not input the external trigger again while the one-shot pulse is being output.
CR010 set value
CR000 set value
TO00 pin output
TM00 count
Count clock
INTTM010
INTTM000
register and inactive with the CR010 register. Do not set N to M.
OSPT00
set to the TMC003 and TMC002 bits.
To output the one-shot pulse again, wait until the current one-shot pulse output is completed.
Figure 6-32. Timing of One-Shot Pulse Output Operation with Software Trigger
Note
.
Set TMC00 to 04H
(TM00 count starts)
0000H
N
M
0001H
CHAPTER 6 16-BIT TIMER/EVENT COUNTER 00
N
User’s Manual U16315EJ3V1UD
N + 1
M
N
0000H
N – 1
M
N
N
M – 1
M
M
N
M + 1 M + 2

Related parts for upd78f0124m6gba1-8et