mc68hc912bc32 Freescale Semiconductor, Inc, mc68hc912bc32 Datasheet - Page 143

no-image

mc68hc912bc32

Manufacturer Part Number
mc68hc912bc32
Description
M68hc12 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
12.3.1 Timer Compare Force Register
Read: Anytime, always returns $00 (1 state is transient)
Write: Anytime
FOC7–FOC0 — Force Output Compare Action Bits for Channels 7–0
12.3.2 Output Compare 7 Mask Register
Read: Anytime
Write: Anytime
The bits of OC7M correspond bit-for-bit with the bits of the timer port (PORTT). Setting the OC7Mn sets
the corresponding port to be an output port regardless of the state of the DDRTn bit when the
corresponding TIOSn bit is set to be an output compare. This does not change the state of the DDRT bits.
12.3.3 Output Compare 7 Data Register
Read: Anytime
Write: Anytime
The bits of OC7D correspond bit-for-bit with the bits of the timer port (PORTT). When a successful OC7
compare occurs, for each bit that is set in OC7M, the corresponding data bit in OC7D is stored to the
corresponding bit of the timer port.
When the OC7Mn bit is set, a successful OC7 action will override a successful OC6–OC0 compare action
during the same cycle; therefore, the OCn action taken will depend on the corresponding OC7D bit.
Freescale Semiconductor
A write to this register with the corresponding data bit(s) set causes the action which is programmed
for output compare n to occur immediately. The action taken is the same as if a successful comparison
had just taken place with the TCn register except that the interrupt flag does not get set.
Address: $0081
Address: $0082
Address: $0083
Reset:
Reset:
Reset:
Read:
Read:
Read:
Write:
Write:
Write:
OC7M7
OC7D7
Figure 12-4. Output Compare 7 Mask Register (OC7M)
FOC7
Figure 12-3. Timer Compare Force Register (CFORC)
Figure 12-5. Output Compare 7 Data Register (OC7D)
Bit 7
Bit 7
Bit 7
0
0
0
OC7M6
OC7D6
FOC6
6
0
6
0
6
0
M68HC12B Family Data Sheet, Rev. 9.1
OC7M5
OC7D5
FOC5
5
0
5
0
5
0
OC7M4
OC7D4
FOC4
4
0
4
0
4
0
OC7M3
OC7D3
FOC3
3
0
3
0
3
0
OC7M2
OC7D2
FOC2
2
0
2
0
2
0
OC7M1
OC7D1
FOC1
1
0
1
0
1
0
OC7M0
OC7D0
FOC0
Bit 0
Bit 0
Bit 0
0
0
0
Block Diagram
143

Related parts for mc68hc912bc32