User's Manual

Table Of Contents
Document Number: 002-xxxxx Rev. ** Page 23 of 42
PRELIMINARY
CYBLE-013025-00
CYBLE-013030-00
PWM
The CYBLE-0130XX-00 has four PWMs. The PWM module consists of the following:
n PWM0-3
n The following GPIOs can be mapped as PWMs:
p . P26
p . P27
p . P14/P28 (Dual bonded, only one of two is available.)
p . P13 on P13/28
n PWM0–3. Each of the four PWM channels contains the following registers:
p 10-bit initial value register (read/write)
p 10-bit toggle register (read/write)
p 10-bit PWM counter value register (read)
n PWM configuration register shared among PWM0–3 (read/write). This 12-bit register is used:
p To configure each PWM channel
p To select the clock of each PWM channel
p To change the phase of each PWM channel
Figure 14 shows the structure of one PWM.
Figure 14. PWM Block Diagram