CHAPTER 7 16-BIT TIMER/EVENT COUNTERS 00 AND 01
Preliminary User’s Manual U17260EJ3V1UD
212
Figure 7-36. Example of Software Processing in Clear & Start Mode Entered by TI00n Pin Valid Edge Input
TM0n register
0000H
Operable bits
(TMC0n3, TMC0n2)
Count clear input
(TI00n pin input)
Compare register
(CR00n)
Compare match interrupt
(INTTM00n)
Compare register
(CR01n)
Compare match interrupt
(INTTM01n)
TO0n pin output
M
10
M
N
N
N
N
M
M
M
00
<1>
<2>
<2>
<2>
<3>
<2>
00
N
TMC0n3, TMC0n2 bits = 10
Edge input to TI00n pin
Register initial setting
PRM0n register,
CRC0n register,
TOC0
n
register
Note
,
CR00n, CR01n registers,
TMC0n.TMC0n1 bit,
port setting
Initial setting of these
registers is performed
before setting the
TMC0n3 and TMC0n2
bits to 10.
Starts count operation
When the valid edge is input to the TI00n pin,
the value of the TM0n register is cleared.
START
<1> Count operation start flow
<2> TM0n register clear & start 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
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: ......