Pwm_Dutyn Bit Definitions - Intel PXA255 Developer's Manual

Intel computer hardware user manual
Hide thumbs Also See for PXA255:
Table of Contents

Advertisement

System Integration Unit
Table 4-47. PWM_DUTYn Bit Definitions
Physical Address
0x40B0_0004
0x40C0_0004
Bit
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9
Reset 0
0
0
0
0
0
Bits
Name
<31:11>
<10>
FDCYCLE
<9:0>
DCYCLE
4.5.2.3
PWM Period Control Register (PWM_PERVALn)
The PWM_PERVALn, shown in
the period of the PWM_OUTn waveform in terms of the PSCLK_PWMn clock. If this field is
cleared to zero PWMn is effectively turned off and PWM_OUTn remains in a high state. For any
non-zero value written to the PV field, the output frequency of PWMn is the frequency of the
PSCLK_OUTn divided by the value of (PV + 1). The range of the clock gate extends from a pass-
through of the PSCLK_PWMn to a clock delay of 2
When the value of the 10 bit up-counter equals the value of (PV +1), the up-counter and the flip-
flop are reset and the values of PWM_CTRLn, PWM_PERVALn and PWM_DUTYn are loaded
into the internal versions of these registers. Resetting this flip-flop causes PWM_OUTn to go low
and the PWM cycle to start again.
Writing all zeroes to this register results in the output maintaining a high state unless
FDCYCLE=0x0 and DCYCLE=0x0. If FDCYCLE=0x0 and DCYCLE=0x0, the output maintains
a low state regardless of the value in the PV bit field.
Note: Due to internal timing requirements, all changes to any of the PWM registers must be complete a
minimum of 4 core clock cycles before the start of end of a PWM clock cycle in order to guarantee
that the following PWM cycle implements the new values.
4-42
PWM Duty Cycle Registers
(PWM_DUTY0, PWM_DUTY1)
reserved
0
0
0
0
0
0
0
reserved
PWMn Full Duty Cycle
0 – PWM clock (PWM_OUTn) duty cycle is determined by DCYCLE field.
1 – PWM_OUTn is set high and does not toggle.
PWMn Duty Cycle
Duty cycle of PWMn clock, i.e. the number of PSCLK_PWM cycles PWMn is asserted
within one cycle of PWMn.
Table
0
0
0
0
0
0
0
0
Description
4-48, contains a 10 bit field called PV. This field determines
6
or 64 input clocks per output pulse.
Intel® PXA255 Processor Developer's Manual
System Integration Unit
8
7
6
5
4
3
DCYCLE
0
0
0
0
0
0
0
0
2
1
0
0
0
0

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents