Datasheet

Section 15 Timer RC
Page 446 of 982 REJ09B0465-0300 Rev. 3.00
Sep 17, 2010
H8S/20103, H8S/20203, H8S/20223, H8S/20115, H8S/20215, H8S/20235 Group
Bit Symbol Bit Name Description R/W
2 PWMD PWM mode D Selects the output mode of the FTIOD pin.
0: Functions in timer mode
1: Functions in PWM mode
R/W
1 PWMC PWM mode C Selects the output mode of the FTIOC pin.
0: Functions in timer mode
1: Functions in PWM mode
R/W
0 PWMB PWM mode B Selects the output mode of the FTIOB pin.
0: Functions in timer mode
1: Functions in PWM mode
R/W
15.2.2 Timer RC Control Register 1 (TRCCR1)
b7
CCLR
0
b6
0
b5
CKS[2:0]
0
b4
0
b3
TOD
0
b2
TOC
0
b1
TOB
0
b0
TOA
0
H'FFFF8B
Bit:
Address:
Value after reset:
Bit Symbol Bit Name Description R/W
7 CCLR Counter clear 0: TRCCNT functions as a free-running counter.
1: The TRCCNT value is cleared by
input capture A/compare match A.
R/W
6 to 4 CKS[2:0]*
2
Clock select
2 to 0
Select the source of the clock input to TRCCNT.
000: TRCCNT counts the internal clock φ.
001: TRCCNT counts the internal clock φ/2.
010: TRCCNT counts the internal clock φ/4.
011: TRCCNT counts the internal clock φ/8.
100: TRCCNT counts the internal clock φ/32.
101: TRCCNT counts the rising edge of the
external event (FTCI).
110: Setting prohibited
111: Reserved (setting prohibited)
R/W