XC912BC32CFU8 Motorola Semiconductor Products, XC912BC32CFU8 Datasheet - Page 176

no-image

XC912BC32CFU8

Manufacturer Part Number
XC912BC32CFU8
Description
M68HC12B Family Data Sheet
Manufacturer
Motorola Semiconductor Products
Datasheet
Enhanced Capture Timer (ECT) Module
13.4 Timer Registers
13.4.1 Timer Input Capture/Output Compare Select Register
13.4.2 Timer Compare Force Register
Data Sheet
176
Input/output pins default to general-purpose input/output (I/O) lines until an internal
function which uses that pin is specifically enabled. The timer overrides the state
of the DDR to force the I/O state of each associated port line when an output
compare using a port line is enabled. In these cases, the data direction bits will
have no effect on these lines.
When a pin is assigned to output an on-chip peripheral function, writing to this
PORTT bit does not affect the pin. The data is stored in an internal latch such that
if the pin becomes available for general-purpose output, the driven level will be the
last value written to the PORTT bit.
Read: Anytime
Write: Anytime
IOS[7:0] — Input Capture or Output Compare Channel Configuration Bits
Read: Anytime but, will always return $00 (1 state is transient).
Write: Anytime
FOC[7:0] — Force Output Compare Action Bits for Channel 7–0
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 the interrupt flag does not get set.
Address: $0080
Address: $0081
Reset:
Reset:
Read:
Read:
Write:
Write:
0 = The corresponding channel acts as an input capture.
1 = The corresponding channel acts as an output compare.
FOC7
IOS7
Figure 13-6. Timer Compare Force Register (CFORC)
Bit 7
Bit 7
Enhanced Capture Timer (ECT) Module
0
0
Figure 13-5. Timer Input Capture/Output Compare
FOC6
IOS6
6
0
6
0
Select Register (TIOS)
FOC5
IOS5
5
0
5
0
FOC4
IOS4
4
0
4
0
FOC3
IOS3
3
0
3
0
M68HC12B Family — Rev. 8.0
FOC2
IOS2
2
0
2
0
FOC1
IOS1
1
0
1
0
MOTOROLA
FOC0
IOS0
Bit 0
Bit 0
0
0

Related parts for XC912BC32CFU8