upd78f0114m6gb-8es Renesas Electronics Corporation., upd78f0114m6gb-8es Datasheet - Page 157

no-image

upd78f0114m6gb-8es

Manufacturer Part Number
upd78f0114m6gb-8es
Description
8-bit Single-chip Microcontrollers
Manufacturer
Renesas Electronics Corporation.
Datasheet
(2) One-shot pulse output with external trigger
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 and 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 Even if the external trigger is generated again while the one-shot pulse is output, it is ignored.
CR010 set value
CR000 set value
TO00 pin output
Count clock
TM00 count
INTTM010
INTTM000
register and inactive with the CR010 register. Do not set N to M.
OSPT00
set to the TMC003 and TMC002 bits.
Figure 6-32. Timing of One-Shot Pulse Output Operation with Software Trigger
Note
.
Set TMC00 to 04H
(TM00 count starts)
0000H
M
N
0001H
CHAPTER 6 16-BIT TIMER/EVENT COUNTER 00
N
User’s Manual U16227EJ3V0UD
N + 1
N
M
0000H
N – 1
M
N
N
M – 1
M
M
N
M + 1 M + 2
157

Related parts for upd78f0114m6gb-8es