MC68HC908JK3EMP MOTOROLA [Motorola, Inc], MC68HC908JK3EMP Datasheet - Page 140

no-image

MC68HC908JK3EMP

Manufacturer Part Number
MC68HC908JK3EMP
Description
Microcontrollers
Manufacturer
MOTOROLA [Motorola, Inc]
Datasheet
Timer Interface Module (TIM)
Technical Data
140
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
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.
X
X
0
0
0
0
0
0
1
1
1
1 = Initial output level low
0 = Initial output level high
MSxA
X
X
X
0
1
0
0
0
1
1
1
Timer Interface Module (TIM)
Table 10-3. Mode, Edge, and Level Selection
shows how ELSxB and ELSxA work. Reset clears the
ELSxB
0
0
0
1
1
0
1
1
0
1
1
ELSxA
0
0
1
0
1
1
0
1
1
0
1
Table
Compare or
Compare
MC68H(R)C908JL3E/JK3E/JK1E
Capture
or PWM
Buffered
Buffered
Output
Output
Mode
Preset
Output
PWM
Input
10-3.) Reset clears the MSxA bit.
Pin under Port Control;
Initial Output Level High
Pin under Port Control;
Initial Output Level Low
Capture on Rising Edge Only
Capture on Falling Edge Only
Capture on Rising or Falling Edge
Toggle Output on Compare
Clear Output on Compare
Set Output on Compare
Toggle Output on Compare
Clear Output on Compare
Set Output on Compare
Configuration
MOTOROLA
Rev. 2.0

Related parts for MC68HC908JK3EMP