198
Bit 7—Counter Clear (CCLR): Selects how TCNT is cleared.
Bit 7: CCLR
Description
0
TCNT is not cleared by GRA compare match
(Initial value)
1
TCNT is cleared by GRA compare match
Bits 6 to 4—Clock Select (CKS2 to CKS0): These bits select the TCNT clock source from four
internal clock sources and one external event.
Bit 6: CKS2
Bit 5: CKS1
Bit 4: CKS0
Function
0
0
0
Internal clock:
φ
*
(Initial value)
1
Internal clock:
φ
/2
1
0
Internal clock:
φ
/4
1
Internal clock:
φ
/8
1
0 or 1
0 or 1
Rising edges of the external event input (FTCI)
Note:
*
When internal clock
φ
is selected, the counter operates by the subclock in subactive or
subsleep mode.
Bit 3—Timer Output Level Setting D (TOD): Sets the value output from the FTIOD pin after
reset until the first compare match D (TCNT and GRD matching signal) is generated. After a
compare match is generated, FTIOD outputs the value specified in timer I/O control register 1
(IOD2 to IOD0).
Bit 3: TOD
Description
0
FTIOD is 0
(Initial value)
1
FTIOD is 1
Bit 2—Timer Output Level Setting C (TOC): Sets the value output from the FTIOC pin after
reset until the first compare match C (TCNT and GRC matching signal) is generated. After a
compare match is generated, FTIOC outputs the value specified in timer I/O control register 1
(IOC2 to IOC0).
Bit 2: TOC
Description
0
FTIOC is 0
(Initial value)
1
FTIOC is 1
Summary of Contents for H8/3660
Page 4: ......
Page 26: ...10 ...
Page 82: ...66 ...
Page 152: ...136 ...
Page 154: ...138 ...
Page 260: ...244 ...