![NXP Semiconductors MC9S08PA4 Скачать руководство пользователя страница 255](http://html1.mh-extra.com/html/nxp-semiconductors/mc9s08pa4/mc9s08pa4_reference-manual_1721838255.webp)
12.4.8.2 CnVH:L registers
If (CLKS[1:0] = 0:0), then CnVH:L registers are updated when their second byte is
written.
If (CLKS[1:0] ≠ 0:0), then CnVH:L registers are updated according to the selected mode:
• If the selected mode is output compare mode, then CnVH:L registers are updated
after their second byte is written and on the next change of the FTM counter.
• If the selected mode is EPWM mode, the CnVH:L registers are updated after both
bytes have been written and the FTM counter changes from MODH:L to all zeroes.
If the FTM counter is a free running counter, then this update is made when the FTM
counter changes from 0xFFFF to 0x0000.
• If the selected mode is CPWM mode, then CnVH:L registers are updated after both
bytes have been written and the FTM counter changes from MODH:L to (MODH:L
– 0x0001).
12.4.9 BDM mode
When BDM mode is active, the FlexTimer counter and the channels output are frozen.
However, the value of FlexTimer counter or the channels output are modified in BDM
mode when:
• A write of any value to the CNTH or CNTL registers (
counter to the value of 0x0000 and the channels output to their initial value, except
for channels in output compare mode.
12.5 Reset overview
The FTM is reset whenever any chip reset occurs.
When the FTM exits from reset:
• The FTM counter and the prescaler counter are zero and are stopped (CLKS[1:0] =
0b00)
• The timer overflow interrupt is zero (
• The channels interrupts are zero (
Chapter 12 FlexTimer Module (FTM)
MC9S08PA4 Reference Manual, Rev. 5, 08/2017
NXP Semiconductors
255
Содержание MC9S08PA4
Страница 1: ...MC9S08PA4 Reference Manual Supports MC9S08PA4 Document Number MC9S08PA4RM Rev 5 08 2017 ...
Страница 2: ...MC9S08PA4 Reference Manual Rev 5 08 2017 2 NXP Semiconductors ...
Страница 22: ...MC9S08PA4 Reference Manual Rev 5 08 2017 22 NXP Semiconductors ...
Страница 28: ...System clock distribution MC9S08PA4 Reference Manual Rev 5 08 2017 28 NXP Semiconductors ...
Страница 150: ...Port data registers MC9S08PA4 Reference Manual Rev 5 08 2017 150 NXP Semiconductors ...
Страница 196: ...Human machine interfaces HMI MC9S08PA4 Reference Manual Rev 5 08 2017 196 NXP Semiconductors ...
Страница 224: ...Instruction Set Summary MC9S08PA4 Reference Manual Rev 5 08 2017 224 NXP Semiconductors ...
Страница 232: ...Functional Description MC9S08PA4 Reference Manual Rev 5 08 2017 232 NXP Semiconductors ...
Страница 258: ...FTM Interrupts MC9S08PA4 Reference Manual Rev 5 08 2017 258 NXP Semiconductors ...
Страница 268: ...Initialization application information MC9S08PA4 Reference Manual Rev 5 08 2017 268 NXP Semiconductors ...
Страница 294: ...Functional description MC9S08PA4 Reference Manual Rev 5 08 2017 294 NXP Semiconductors ...
Страница 370: ...Memory map and register description MC9S08PA4 Reference Manual Rev 5 08 2017 370 NXP Semiconductors ...
Страница 398: ...Resets MC9S08PA4 Reference Manual Rev 5 08 2017 398 NXP Semiconductors ...
Страница 400: ...MC9S08PA4 Reference Manual Rev 5 08 2017 400 NXP Semiconductors ...