MPC5200B Users Guide, Rev. 1
7-60 Freescale Semiconductor
General Purpose Timers (GPT)
7.4.4.3 GPT 0 PWM Configuration Register—MBAR + 0x0608GPT 1 PWM Configuration Register—MBAR + 0x0618GPT 2 PWM Configuration Register—MBAR + 0x0628GPT 3 PWM Configuration Register—MBAR + 0x0638GPT 4 PWM Configuration Register—MBAR + 0x0648GPT 5 PWM Configuration Register—MBAR + 0x0658GPT 6 PWM Configuration Register—MBAR + 0x0668GPT 7 PWM Configuration Register—MBAR + 0x0678
Bit Name Description
0:15 Prescale Prescale amount applied to internal counter (in IP bus clocks).
BE AWARE—The prescale field should be written prior to enabling any timer mode. A prescale
of 0x0001 means one IP bus clock per count increment. If prescale is 0 when any timer mode is
started, it results in an effective prescale of 64K. The counter will immediately begin and an
output event will occur with the 64K prescale, rather than the desired value.
16:31 COUN T Sets number of prescaled counts applied to reference events, as follows:
IC—Field has no effect, internal counter starts at 0.
OC—Number of prescaled counts counted before creating output event.
PWM—Number of prescaled counts defining the PWM output period.
Internal Timer—Number of prescaled counts counted before timer (or watchdog ) expires.
Note: Reading this register only returns the programmed value, intermediate values of the
internal counter are not available to software.

Table7-49. GPT 0 PWM Configuration Register

GPT 1 PWM Configuration Register

GPT 2 PWM Configuration Register

GPT 3 PWM Configuration Register

GPT 4 PWM Configuration Register

GPT 5 PWM Configuration Register

GPT 6 PWM Configuration Register

GPT 7 PWM Configuration Register

msb 0123456 7 8 9101112131415
RWIDTH
W
RESET:0 000000 0 0 0 0 0 000 0
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 lsb
RReserved PWMOP Reserved LOAD
W
RESET:0 000000 0 00 0 0 000 0
Bit Name Description
0:15 WIDTH PWM only. Defines ON time for output in prescaled counts. Similar to count value, which defines
the period. ON time overlays the period time.
If WIDTH = 0, output is always OFF.
If WIDTH exceeds count value, output is always ON.
ON and OFF polarity is set by the PWMOP bit.
16:22 — Reserved