h8s-2158 Renesas Electronics Corporation., h8s-2158 Datasheet - Page 378

no-image

h8s-2158

Manufacturer Part Number
h8s-2158
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Section 13 8-Bit Timer (TMR)
TCSR_X
Rev. 3.00 Jan 25, 2006 page 326 of 872
REJ09B0286-0300
Bit
7
6
5
4
3
2
Bit Name Initial Value
CMFB
CMFA
OVF
ICF
OS3
OS2
0
0
0
0
0
0
R/W
R/(W) * Compare-Match Flag B
R/(W) * Compare-Match Flag A
R/(W) * Timer Overflow Flag
R/(W) * Input Capture Flag
R/W
R/W
Description
[Setting condition]
[Clearing condition]
[Setting condition]
[Clearing condition]
[Setting condition]
[Clearing condition]
[Setting condition]
[Clearing condition]
Output Select 3, 2
These bits specify how the TMOX pin output level is to
be changed by compare-match B of TCORB_X and
TCNT_X.
00: No change
01: 0 is output
10: 1 is output
11: Output is inverted (toggle output)
When the values of TCNT_X and TCORB_X match
Read CMFB when CMFB = 1, then write 0 in CMFB
When the values of TCNT_X and TCORA_X match
Read CMFA when CMFA = 1, then write 0 in CMFA
When TCNT_X overflows from H'FF to H'00
Read OVF when OVF = 1, then write 0 in OVF
When a rising edge and falling edge is detected in
the external reset signal in that order, after the ICST
bit in TCONRI of the timer connection is set to 1
Read ICF when ICF = 1, then write 0 in ICF

Related parts for h8s-2158