|
HD6413007F20 Datasheet, PDF (379/798 Pages) Renesas Technology Corp – Hardware Manual Renesas 16-Bit Single-Chip Microcomputer H8 Family/H8/300H Series | |||
|
◁ |
9. 16-Bit Timer
Table 9.7 (c) 16-bit timer Operating Modes (Channel 2)
Register Settings
TSNC
TMDR
TIOR2
16TCR2
Synchro-
Clear
Clock
Operating Mode
nization MDF FDIR PWM
IOA
IOB
Select
Select
Synchronous preset SYNC2 = 1
â¯
PWM mode
⯠PWM2 = 1 â¯
*
Output compare A
⯠PWM2 = 0 IOA2 = 0
Other bits
unrestricted
Output compare B
â¯
IOB2 = 0
Other bits
unrestricted
Input capture A
⯠PWM2 = 0 IOA2 = 1
Other bits
unrestricted
Input capture B
⯠PWM2 = 0
IOB2 = 1
Other bits
unrestricted
Counter By compare
â¯
clearing match/input
capture A
CCLR1 = 0
CCLR0 = 1
By compare
â¯
match/input
capture B
CCLR1 = 1
CCLR0 = 0
Syn-
SYNC2 = 1
â¯
chronous
clear
CCLR1 = 1
CCLR0 = 1
Phase counting
MDF = 1
â¯
mode
Legend:
Setting available (valid)
⯠Setting does not affect this mode
Note: * The input capture function cannot be used in PWM mode. If compare match A and compare match B occur
simultaneously, the compare match signal is inhibited.
Rev.5.00 Sep. 12, 2007 Page 349 of 764
REJ09B0396-0500
|
▷ |