h8s-2628 Renesas Electronics Corporation., h8s-2628 Datasheet - Page 300

no-image

h8s-2628

Manufacturer Part Number
h8s-2628
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2600 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Section 11 8-Bit Timers
Note:
Rev. 3.00 Oct 04, 2005 page 260 of 598
REJ09B0155-0300
Bit
1
0
Bit
7
6
5
TCSR_2
Bit Name
OS1
OS0
Bit Name
CMFB
CMFA
OVF
*
Only a 0 can be written to this bit, to clear the flag.
Initial
Value
0
0
Initial
Value
0
0
0
R/W
R/W
R/W
R/W
R/(W) *
R/(W) *
R/(W) *
Description
Output Select 1 and 0
These bits specify how the timer output level is to be
changed by a compare-match A of TCORA and TCNT.
00: No change when compare-match A occurs
01: 0 is output when compare-match A occurs
10: 1 is output when compare-match A occurs
11: Output is inverted when compare-match A occurs
Description
Compare-Match Flag B
[Setting condition]
[Clearing conditions]
Compare-match Flag A
[Setting condition]
When TCNT = TCORA
[Clearing conditions]
Timer Overflow Flag
[Setting condition]
[Clearing condition]
When TCNT = TCORB
Read CMFB when CMFB = 1, then write 0 in CMFB
DTC is activated by the CMIB interrupt and the DISEL
bit = 0 in MRB of DTC.
Read CMFA when CMFA = 1, then write 0 in CMFA
DTC is activated by the CMIA interrupt and the DISEL
bit = 0 in MRB of DTC.
When TCNT overflows from H'FF to H'00
Read OVF when OVF = 1, then write 0 in OVF
(toggle output)

Related parts for h8s-2628