CHAPTER 7 16-BIT TIMER/EVENT COUNTER 0
User’s Manual U16896EJ2V0UD
278
Figure 7-36. Example of Software Processing for One-Shot Pulse Output Operation (2/2)
TMC013, TMC012 bits =
01 or 10
Register initial setting
PRM01 register,
SELCNT1 register,
CRC01 register,
TOC01 register
Note
,
CR010, CR011 registers,
port setting
Initial setting of these registers is performed
before setting the TMC013 and TMC012 bits.
Starts count operation
START
<1> Count operation start flow
<2> One-shot trigger input flow
TMC013, TMC012 bits = 00
The counter is initialized and counting is stopped
by clearing the TMC013 and TMC012 bits to 00.
STOP
<3> Count operation stop flow
TOC01.OSPT01 bit = 1
or edge input to TI010 pin
Write the same value to the bits other than the
OSPT01 bit.
Note
Care must be exercised when setting the TOC01 register. For details, refer to
7.3 (3) 16-bit timer
output control register 01 (TOC01)
.
Содержание ?PD703302
Страница 2: ...User s Manual U16896EJ2V0UD 2 MEMO ...