S912XEQ384J3MALR Freescale Semiconductor, S912XEQ384J3MALR Datasheet - Page 708

no-image

S912XEQ384J3MALR

Manufacturer Part Number
S912XEQ384J3MALR
Description
S912XEQ Series 16 Bit 50 Mhz 384 KB Flash 24 KB Ram Microcontroller - LQFP-112
Manufacturer
Freescale Semiconductor
Datasheet
Chapter 19 Pulse-Width Modulator (S12PWM8B8CV1)
For boundary case programming values, please refer to
Read: Anytime
Write: Anytime
19.3.2.15 PWM Shutdown Register (PWMSDN)
The PWMSDN register provides for the shutdown functionality of the PWM module in the emergency
cases. For proper operation, channel 7 must be driven to the active level for a minimum of two bus clocks.
Read: Anytime
Write: Anytime
708
Module Base + 0x001C = PWMDTY0, 0x001D = PWMDTY1, 0x001E = PWMDTY2, 0x001F = PWMDTY3
Module Base + 0x0020 = PWMDTY4, 0x0021 = PWMDTY5, 0x0022 = PWMDTY6, 0x0023 = PWMDTY7
Module Base + 0x0024
PWMRSTRT
PWMIE
Reset
Reset
PWMIF
Field
7
6
5
W
W
R
R
Duty Cycle = [PWMDTYx / PWMPERx] * 100%
PWMIF
Bit 7
PWM Interrupt Flag — Any change from passive to asserted (active) state or from active to passive state will
be flagged by setting the PWMIF flag = 1. The flag is cleared by writing a logic 1 to it. Writing a 0 has no effect.
0 No change on PWM7IN input.
1 Change on PWM7IN input
PWM Interrupt Enable — If interrupt is enabled an interrupt to the CPU is asserted.
0 PWM interrupt is disabled.
1 PWM interrupt is enabled.
PWM Restart — The PWM can only be restarted if the PWM channel input 7 is de-asserted. After writing a logic
1 to the PWMRSTRT bit (trigger event) the PWM channels start running after the corresponding counter passes
next “counter == 0” phase. Also, if the PWM7ENA bit is reset to 0, the PWM do not start before the counter
passes $00. The bit is always read as “0”.
1
0
7
7
= Unimplemented or Reserved
PWMIE
Figure 19-16. PWM Channel Duty Registers (PWMDTYx)
1
0
6
6
6
Figure 19-17. PWM Shutdown Register (PWMSDN)
MC9S12XE-Family Reference Manual Rev. 1.24
PWMRSTRT
1
0
0
5
5
5
PWMLVL
1
0
4
4
4
Description
Section 19.4.2.8, “PWM Boundary
1
0
0
3
3
3
PWM7IN
1
0
2
2
2
PWM7INL
Freescale Semiconductor
1
0
1
1
1
Cases”.
PWM7ENA
Bit 0
1
0
0
0

Related parts for S912XEQ384J3MALR