mc9s08gt16a Freescale Semiconductor, Inc, mc9s08gt16a Datasheet - Page 162

no-image

mc9s08gt16a

Manufacturer Part Number
mc9s08gt16a
Description
Hcs08 Microcontrollers 8-bit Microcontroller Family
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc9s08gt16aCBE
Manufacturer:
SHARP
Quantity:
1 200
Part Number:
mc9s08gt16aCFBE
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mc9s08gt16aCFBE
Quantity:
480
Part Number:
mc9s08gt16aCFBER
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mc9s08gt16aCFBER
Manufacturer:
FREESCALE
Quantity:
8 000
Part Number:
mc9s08gt16aCFBER
Manufacturer:
NXP/恩智浦
Quantity:
20 000
Part Number:
mc9s08gt16aMFBE
Manufacturer:
XILINX
Quantity:
1 300
Part Number:
mc9s08gt16aMFBE
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Timer/Pulse-Width Modulator (S08TPMV2)
If the associated port pin is not stable for at least two bus clock cycles before changing to input capture
mode, it is possible to get an unexpected indication of an edge trigger. Typically, a program would clear
status flags after changing channel configuration bits and before enabling channel interrupts or using the
status flags to avoid any unexpected behavior.
10.3.5
These read/write registers contain the captured TPM counter value of the input capture function or the
output compare value for the output compare or PWM functions. The channel value registers are cleared
by reset.
In input capture mode, reading either byte (TPMxCnVH or TPMxCnVL) latches the contents of both bytes
into a buffer where they remain latched until the other byte is read. This latching mechanism also resets
(becomes unlatched) when the TPMxCnSC register is written.
162
CPWMS
Reset
Reset
X
0
1
W
W
R
R
Bit 15
Timer x Channel Value Registers (TPMxCnVH:TPMxCnVL)
Bit 7
0
0
7
7
MSnB:MSnA
XX
XX
1X
00
01
Figure 10-9. Timer x Channel Value Register High (TPMxCnVH)
Figure 10-10. Timer Channel Value Register Low (TPMxCnVL)
14
0
6
0
6
6
ELSnB:ELSnA
Table 10-5. Mode, Edge, and Level Selection
MC9S08GT16A/GT8A Data Sheet, Rev. 1
X1
X1
00
01
10
11
00
01
10
11
10
10
13
0
5
0
5
5
Pin not used for TPM channel; use as an external clock for the TPM or
revert to general-purpose I/O
Center-aligned
Input capture
Edge-aligned
compare
Output
12
Mode
PWM
PWM
0
4
0
4
4
Capture on rising edge only
Capture on falling edge only
Capture on rising or falling edge
Software compare only
Toggle output on compare
Clear output on compare
Set output on compare
High-true pulses (clear output on compare)
Low-true pulses (set output on compare)
High-true pulses (clear output on compare-up)
Low-true pulses (set output on compare-up)
11
3
0
3
3
0
10
0
2
0
2
2
Configuration
Freescale Semiconductor
9
0
1
0
1
1
Bit 8
Bit 0
0
0
0
0

Related parts for mc9s08gt16a