Hitachi H8S/2378, H8S/2378R Series Hardware Manual page 642

16 bit single-chip microcomputer
Table of Contents

Advertisement

Bit
Bit Name
1
OS1
0
OS0
Note: * Only 0 can be written to bits 7 to 5, to clear these flags.
TCSR_1
Bit
Bit Name
7
CMFB
6
CMFA
5
OVF
Rev. 1.0, 09/01, page 598 of 904
Initial Value
R/W
0
R/W
0
R/W
Initial Value
R/W
0
R/(W)*
0
R/(W)*
0
R/(W)*
Description
Output Select 1 and 0
These bits select a method of TMO pin output
when compare match A of TCORA and TCNT
occurs.
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 (toggle output)
Description
Compare Match Flag B
[Setting condition]
Set when TCNT matches TCORB
[Clearing conditions]
Cleared by reading CMFB when CMFB = 1,
then writing 0 to CMFB
When DTC is activated by CMIB interrupt
while DISEL bit of MRB in DTC is 0
Compare Match Flag A
[Setting condition]
Set when TCNT matches TCORA
[Clearing conditions]
Cleared by reading CMFA when CMFA = 1,
then writing 0 to CMFA
When DTC is activated by CMIA interrupt
while DISEL bit of MRB in DTC is 0
Timer Overflow Flag
[Setting condition]
Set when TCNT overflows from H'FF to H'00
[Clearing condition]
Cleared by reading OVF when OVF = 1, then
writing 0 to OVF

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents