CHAPTER 7 16-BIT TIMER/EVENT COUNTERS 00 AND 01
Preliminary User’s Manual U17260EJ3V1UD
229
Figure 7-50. Example of Software Processing for One-Shot Pulse Output Operation (2/2)
TMC0n3, TMC0n2 bits =
01 or 10
Register initial setting
PRM0n register,
CRC0n register,
TOC0n register
Note
,
CR00n, CR01n registers,
port setting
Initial setting of these registers is performed
before setting the TMC0n3 and TMC0n2 bits.
Starts count operation
START
<1> Count operation start flow
<2> One-shot trigger input flow
TMC0n3, TMC0n2 bits = 00
The counter is initialized and counting is stopped
by clearing the TMC0n3 and TMC0n2 bits to 00.
STOP
<3> Count operation stop flow
TOC0n.OSPT0n bit = 1
or edge input to TI00n pin
Write the same value to the bits other than the
OSTP0n bit.
Note
Care must be exercised when setting TOC0n. For details, see
7.3 (3) 16-bit timer output control
register 0n (TOC0n)
.
Remark
n = 0:
µ
PD78F0531, 78F0532, 78F0533
n = 0, 1:
µ
PD78F0534, 78F0535, 78F0536, 78F0537, 78F0537D
Содержание 78K/0 Series
Страница 2: ...Preliminary User s Manual U17260EJ3V1UD 2 MEMO ...
Страница 10: ......
Страница 53: ...CHAPTER 3 CPU ARCHITECTURE Preliminary User s Manual U17260EJ3V1UD 53 Figure 3 6 Memory Map µPD78F0536 ...
Страница 120: ......