English
Language : 

HD6475328CG Datasheet, PDF (198/459 Pages) Hitachi Semiconductor – Manual Gives a Hardware Description
Table 10-2 Register Configuration (cont)
Initial
Channel Name
Abbreviation R/W Value
Timer control register
TCR
R/W H'00
Timer control/status register
TCSR
R/(W)* H'00
Free-running counter (High)
FRC (H)
R/W H'00
Free-running counter (Low)
FRC (L)
R/W H'00
3
Output compare register A (High) OCRA (H)
R/W H'FF
Output compare register A (Low) OCRA (L)
R/W H'FF
Output compare register B (High) OCRB (H)
R/W H'FF
Output compare register B (Low) OCRB (L)
R/W H'FF
Input capture register (High)
ICR (H)
R
H'00
Input capture register (Low)
ICR (L)
R
H'00
* Software can write a “0” to clear bits 7 to 4, but cannot write a “1” in these bits.
Address
H'FFB0
H'FFB1
H'FFB2
H'FFB3
H'FFB4
H'FFB5
H'FFB6
H'FFB7
H'FFB8
H'FFB9
10.2 Register Descriptions
10.2.1 Free-Running Counter (FRC)—H'FF92, H'FFA2, H'FFB2
Bit
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Initial value 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Read/WriteR/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W
Each FRC is a 16-bit readable/writable up-counter that increments on an internal pulse generated
from a clock source. The clock source is selected by the clock select 1 and 0 bits (CKS1 and
CKS0) of the timer control register (TCR).
The FRC can be cleared by compare-match A.
When the FRC overflows from H'FFFF to H'0000, the overflow flag (OVF) in the timer
control/status register (TCSR) is set to “1.”
Because the FRC is a 16-bit register, a temporary register (TEMP) is used when the FRC is
written or read. See section 10.3, “CPU Interface” for details.
The FRCs are initialized to H'0000 at a reset and in the standby modes.
181