ST90158 - MULTIFUNCTION TIMER (MFT)
MULTIFUNCTION TIMER (Cont’d)
OUTPUT B CONTROL REGISTER (OBCR)
R253 - Read/Write
Bits 3:2 = OUE[0:1]: OVF/UNF event bits.
These bits are set and cleared by software.
Register Page: 10
Reset value: 0000 0000 (00h)
Action on TxOUTB pin on an Over-
OUE0 OUE1 flow or Underflow on the U/D coun-
ter
7
0
C0E0 C0E1 C1E0 C1E1 OUE0 OUE1 OEV 0P
0
0
1
1
0
1
0
1
Set
Toggle
Reset
NOP
Note: Whenever more than one event occurs si-
multaneously, the action taken will be the result of
ANDing the event bits xxE1-xxE0.
Bit 1 = OEV: On-Chip event on OVF/UNF.
This bit is set and cleared by software.
0: No action
1: An underflow/overflow activates the on-chip
event signal (a single pulse is generated)
Bits 7:6 = C0E[0:1]: COMP0 event bits.
These bits are set and cleared by software.
Action on TxOUTB pin on a suc-
C0E0 C0E1 cessful compare of the CMP0R
register
0
0
1
1
0
1
0
1
Set
Bit 0 = OP: TxOUTB preset value.
Toggle
Reset
NOP
This bit is set and cleared by software and by hard-
ware. The value of this bit is the preset value of the
TxOUTB pin. Reading this bit returns the current
state of the TxOUTB pin (useful when it is selected
in toggle mode).
Bits 5:4 = C1E[0:1]: COMP1 event bits.
These bits are set and cleared by software.
Action on TxOUTB pin on a suc-
C1E0
C1E1 cessful compare of the CMP1R reg-
ister
0
0
1
1
0
1
0
1
Set
Toggle
Reset
NOP
125/199
9