mc68hc912bc32 Freescale Semiconductor, Inc, mc68hc912bc32 Datasheet - Page 184

no-image

mc68hc912bc32

Manufacturer Part Number
mc68hc912bc32
Description
M68hc12 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Enhanced Capture Timer (ECT) Module
TCBYP — Main Timer Divider Chain Bypass Bit
13.4.21 Timer Port Data Register
Read: Anytime (input return pin level; outputs return data register contents)
Write: Data stored in an internal latch (drives pins only if configured for output)
Since the output compare 7 register (OC7) shares pins with the pulse accumulator input, the only way for
the pulse accumulator to receive an independent input from OC7 is by setting both OM7 and OL7 to be
0, and also OC7M7 in OC7M register to be 0. OC7 can still reset the counter if enabled while PT7 is used
as an input to the pulse accumulator.
PORTT can be read anytime. When configured as an input, a read will return the pin level. When
configured as an output, a read will return the latched output data.
13.4.22 Data Direction Register for Timer Port
Read: Anytime
Write: Anytime
184
0 = Normal operation
1 = For testing only. The 16-bit free-running timer counter is divided into two 8-bit halves and the
prescaler is bypassed. The clock drives both halves directly. When the high byte of timer
counter TCNT ($84) overflows from $FF to $00, the TOF flag in TFLG2 ($8F) will be set.
Address: $00AE
Address: $00AF
Writes do not change pin state when the pin is configured for timer output.
The minimum pulse width for pulse accumulator input should always be
greater than the width of two module clocks due to input synchronizer
circuitry. The minimum pulse width for the input capture should always be
greater than the width of two module clocks due to input synchronizer
circuitry.
Timer:
Reset:
Reset:
Read:
Read:
Write:
Write:
Figure 13-43. Data Direction Register for Timer Port (DDRT)
DDT7
I/0C7
Bit 7
Bit 7
PT7
0
0
Figure 13-42. Timer Port Data Register (PORTT)
I/OC6
DDT6
PT6
6
0
6
0
M68HC12B Family Data Sheet, Rev. 9.1
I/OC5
DDT5
PT5
5
0
5
0
NOTE
I/OC4
DDT4
PT4
4
0
4
0
DDT3
I/OC3
PT3
3
0
3
0
I/OC2
DDT2
PT2
2
0
2
0
I/OC1
DDT1
PT1
1
0
1
0
Freescale Semiconductor
I/OC0
DDT0
Bit 0
Bit 0
PT0
0
0

Related parts for mc68hc912bc32