![Freescale Semiconductor HCS08 Series Скачать руководство пользователя страница 218](http://html1.mh-extra.com/html/freescale-semiconductor/hcs08-series/hcs08-series_reference-manual_2330628218.webp)
Chapter 14 Timer/Pulse-Width Modulator (S08TPMV3)
MC9S08JS16 MCU Series Reference Manual, Rev. 4
218
Freescale Semiconductor
In Edge-Aligned PWM mode when (CLKSB:CLKSA not = 00),
writes to TPMCnVH:L registers
Update the TPMCnVH:L
registers with the value of
their write buffer after both
bytes were written and when
the TPM counter changes
from (TPMMODH:L – 1) to
(TPMMODH:L).
Note:
If the TPM counter is a
free-running counter, then
this update is made when the
TPM counter changes from
0xFFFE to 0xFFFF.
Update after both bytes are
written and when the TPM
counter changes from
TPMMODH:L to 0x0000.
In Center-Aligned PWM mode when (CLKSB:CLKSA not =
00), writes to TPMCnVH:L registers
4
Update the TPMxCnVH:L
registers with the value of
their write buffer after both
bytes are written and when
the TPM counter changes
from (TPMMODH:L – 1) to
(TPMMODH:L).
Note:
If the TPM counter is a
free-running counter, then
this update is made when the
TPM counter changes from
0xFFFE to 0xFFFF.
Update after both bytes are
written and when the TPM
counter changes from
TPMMODH:L to (TPMMODH:L
– 1).
Center-Aligned PWM
When TPMCnVH:L = TPMMODH:L
5
Produces 100% duty cycle.
Produces 0% duty cycle.
When TPMCnVH:L = (TPMMODH:L – 1)
6
Produces a near 100% duty
cycle.
Produces 0% duty cycle.
TPMCnVH:L is changed from 0x0000 to a non-zero value
7
Waits for the start of a new
PWM period to begin using
the new duty cycle setting.
Changes the channel output at
the middle of the current PWM
period (when the count
reaches 0x0000).
TPMCnVH:L is changed from a non-zero value to 0x0000
8
Finishes the current PWM
period using the old duty
cycle setting.
Finishes the current PWM
period using the new duty cycle
setting.
Write to TPMMODH:L registers in BDM mode
In BDM mode, a write to TPMxSC register
Clears the write coherency
mechanism of TPMxMODH:L
registers.
Does not clear the write
coherency mechanism.
1
For more information, refer to
Section 14.5.2, “TPM-Counter Registers (TPMCNTH:TPMCNTL)
.” [SE110-TPM case 7]
2
For more information, refer to
Section 14.5.5, “TPM Channel Value Registers (TPMCnVH:TPMCnVL)
.”
3
For more information, refer to
Section 14.6.2.1, “Input Capture Mode
.”
4
For more information, refer to
Section 14.6.2.4, “Center-Aligned PWM Mode
.”
5
For more information, refer to
Section 14.6.2.4, “Center-Aligned PWM Mode
.” [SE110-TPM case 1]
6
For more information, refer to
Section 14.6.2.4, “Center-Aligned PWM Mode
.” [SE110-TPM case 2]
7
For more information, refer to
Section 14.6.2.4, “Center-Aligned PWM Mode
.” [SE110-TPM case 3 and 5]
Table 14-1. TPMV2 and TPMV3 Porting Considerations (continued)
Action
TPMV3
TPMV2
Содержание HCS08 Series
Страница 2: ......
Страница 4: ......
Страница 8: ......
Страница 28: ...Chapter 2 Pins and Connections MC9S08JS16 MCU Series Reference Manual Rev 4 28 Freescale Semiconductor...
Страница 34: ...Chapter 3 Modes of Operation MC9S08JS16 MCU Series Reference Manual Rev 4 34 Freescale Semiconductor...
Страница 62: ...Chapter 4 Memory MC9S08JS16 MCU Series Reference Manual Rev 4 62 Freescale Semiconductor...
Страница 114: ...Keyboard Interrupt S08KBIV2 MC9S08JS16 MCU Series Reference Manual Rev 4 114 Freescale Semiconductor...
Страница 146: ...Multi Purpose Clock Generator S08MCGV1 MC9S08JS16 MCU Series Reference Manual Rev 4 146 Freescale Semiconductor...
Страница 166: ...Real Time Counter S08RTCV1 MC9S08JS16 MCU Series Reference Manual Rev 4 166 Freescale Semiconductor...
Страница 186: ...Serial Communications Interface S08SCIV4 MC9S08JS16 MCU Series Reference Manual Rev 4 186 Freescale Semiconductor...
Страница 214: ...16 Bit Serial Peripheral Interface S08SPI16V1 MC9S08JS16 MCU Series Reference Manual Rev 4 214 Freescale Semiconductor...
Страница 274: ...Universal Serial Bus Device Controller S08USBV1 MC9S08JS16 MCU Series Reference Manual Rev 4 274 Freescale Semiconductor...
Страница 282: ...Cyclic Redundancy Check Generator S08CRCV2 MC9S08JS16 MCU Series Reference Manual Rev 4 282 Freescale Semiconductor...
Страница 305: ......