MC68HC908JG16FA MOTOROLA [Motorola, Inc], MC68HC908JG16FA Datasheet - Page 156

no-image

MC68HC908JG16FA

Manufacturer Part Number
MC68HC908JG16FA
Description
Microcontrollers
Manufacturer
MOTOROLA [Motorola, Inc]
Datasheet
Timer Interface Module (TIM)
Technical Data
156
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.
ELSxB and ELSxA — Edge/Level Select Bits
Notes:
MS0B:MSxA
1. Enable only one channel for unbuffered output compare or PWM functions. Avoid the
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 10-3
ELSxB and ELSxA bits.
Freescale Semiconductor, Inc.
following configuration: MS0B = 0, MS0A = 1, MS1A = 1, and ELSxB:A
For More Information On This Product,
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 10-3. Mode, Edge, and Level Selection
Go to: www.freescale.com
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
PWM
Output
output
Mode
10-3. Reset clears the MSxA bit.
(1)
Capture on falling edge only
Capture on rising edge only
Toggle output on compare
Toggle output on compare
MC68HC908JG16
Clear output on compare
Clear output on compare
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
Configuration
falling edge
00
MOTOROLA
Rev. 1.0

Related parts for MC68HC908JG16FA