|
HD6433308 Datasheet, PDF (173/349 Pages) Hitachi Semiconductor – Hitachi Single-Chip MicroComputer | |||
|
◁ |
Bit 6
CMFA
0
1
Description
To clear CMFA, the CPU must read CMFA after
it has been set to "1," then write a â0â in this bit.
This bit is set to 1 when TCNT = TCORA.
(Initial value)
Bit 5 â Timer Overflow Flag (OVF): This status flag is set to â1â when the timer count overflows
(changes from HâFF to Hâ00). OVF must be cleared by software. It is set by hardware, however,
and cannot be set by software.
Bit 5
OVF
0
1
Description
To clear OVF, the CPU must read OVF after
it has been set to "1," then write a â0â in this bit.
This bit is set to 1 when TCNT changes from HâFF to Hâ00.
(Initial value)
Bit 4 â Reserved: This bit is always read as â1.â It cannot be written.
Bits 3 to 0 â Output Select 3 to 0 (OS3 to OS0): These bits specify the effect of compare-match
events on the timer output signal (TCOR or TCNT). Bits OS3 and OS2 control the effect of
compare-match B on the output level. Bits OS1 and OS0 control the effect of compare-match A on
the output level.
If compare-match A and B occur simultaneously, any conflict is resolved as explained in item (4) in
section 7.6, "Application Notes."
After a reset, the timer output is "0" until the first compare-match event.
When all four output select bits are cleared to â0â the timer output signal is disabled.
Bit 3
OS3
0
0
1
1
Bit 2
OS2
0
1
0
1
Description
No change when compare-match B occurs.
Output changes to â0â when compare-match B occurs.
Output changes to â1â when compare-match B occurs.
Output inverts (toggles) when compare-match B occurs.
(Initial value)
159
|
▷ |