MC68HC908LJ12CPB FREESCALE [Freescale Semiconductor, Inc], MC68HC908LJ12CPB Datasheet - Page 205

no-image

MC68HC908LJ12CPB

Manufacturer Part Number
MC68HC908LJ12CPB
Description
8-bit microcontroller units
Manufacturer
FREESCALE [Freescale Semiconductor, Inc]
Datasheet
Timer Interface Module (TIM)
Technical Data
206
NOTE:
Before changing a channel function by writing to the MSxB or MSxA bit,
set the TSTOP and TRST bits in the TIM status and control register
(TSC).
ELSxB and ELSxA — Edge/Level Select Bits
MSxB:MSxA
When ELSxB:ELSxA = 0:0, this read/write bit selects the initial output
level of the TCHx pin. See
When channel x is an input capture channel, these read/write bits
control the active edge-sensing logic on channel x.
When channel x is an output compare channel, ELSxB and ELSxA
control the channel x output behavior when an output compare
occurs.
When ELSxB and ELSxA are both clear, channel x is not connected
to an I/O port, and pin TCHx is available as a general-purpose I/O pin.
Table 11-3
ELSxB and ELSxA bits.
1 = Initial output level low
0 = Initial output level high
X0
X1
1X
1X
1X
00
00
00
01
01
01
Timer Interface Module (TIM)
Table 11-3. Mode, Edge, and Level Selection
shows how ELSxB and ELSxA work. Reset clears the
ELSxB:ELSxA
00
00
01
10
11
01
10
11
01
10
11
Table
buffered PWM
Output preset
Input capture
compare or
compare or
Buffered
Output
output
Mode
PWM
11-3. Reset clears the MSxA bit.
Capture on falling edge only
Capture on rising edge only
Toggle output on compare
Toggle output on compare
Clear output on compare
Clear output on compare
MC68HC908LJ12
Set output on compare
Set output on compare
Pin under port control;
initial output level high
Pin under port control;
initial output level low
Capture on rising or
Freescale Semiconductor
Configuration
falling edge
Rev. 2.1

Related parts for MC68HC908LJ12CPB