English
Language : 

HD6475348R Datasheet, PDF (414/487 Pages) Hitachi Semiconductor – Single-Chip Microcomputer
TCSR—Timer Control/Status Register
H'FE91
FRT1
Bit
Initial value
Read/Write
7
ICF
0
R/(W)*
6
OCFB
0
R/(W)*
5
OCFA
0
R/(W)*
4
OVF
0
R/(W)*
3
OLVLB
0
R/W
2
OLVLA
0
R/W
1
IEDG
0
R/W
0
CCLRA
0
R/W
Counter Clear A
0 FRC count
is not cleared.
1 FRC count is
cleared by
compare-
match A.
Input Edge Select
0 Count is captured on
falling edge of input
capture signal (FTI).
1 Count is captured on
rising edge of input
capture signal.
Output Level A
0 Compare-match A causes 0 output.
1 Compare-match A causes 1 output.
Output Level B
0 Compare-match B causes 0 output.
1 Compare-match B causes 1 output.
Timer Overflow
0 Cleared from 1 to 0 when CPU reads OVF =
1, then writes 0 in OVF.
1 Set to 1 when FRC changes from H'FFFF to H'0000.
Output Compare Flag A
0 Cleared from 1 to 0 when:
1. CPU reads OCFA = 1, then writes 0 in OCFA.
2. OCIA interrupt is served by DTC.
1 Set to 1 when FRC = OCRA.
* Only writing of a 0 to
clear the flag is enabled.
Output Compare Flag B
0 Cleared from 1 to 0 when:
1. CPU reads OCFB = 1, then writes 0 in OCFB.
2. OCIB interrupt is served by DTC.
1 Set to 1 when FRC = OCRB.
Input Capture Flag
0 Cleared from 1 to 0 when:
1. CPU reads ICF = 1, then writes 0 in ICF.
2. ICI interrupt is served by DTC.
1 Set to 1 when input capture signal is received and FRC count is copied to ICR.
404