CYW20734
1.12 PWM
The CYW20734 has four internal PWMs. The PWM module consists of the following:
■ PWM1–4
■ Each of the four PWM channels, PWM1–4, contains the following registers:
❐ 10-bit initial value register (read/write)
❐ 10-bit toggle register (read/write)
❐ 10-bit PWM counter value register (read)
■ PWM configuration register shared among PWM1–4 (read/write). This 12-bit register is used:
❐ To configure each PWM channel
❐ To select the clock of each PWM channel
❐ To change the phase of each PWM channel
Figure 5 shows the structure of one PWM.
Figure 5. PWM Block Diagram
pwm_cfg_adr register
pwm#_init_val_adr register
10
pwm#_togg_val_adr register
10
pwm#_cntr_adr
10
cntr value is ARM readable
pwm_out
Example: PWM cntr w/ pwm#_init_val = 0 (dashed line)
PWM cntr w/ pwm#_init_val = x (solid line)
10'H3FF
pwm_togg_val_adr
10'Hx
10'H000
pwm_out
Document Number: 002-14874 Rev. *S
Page 14 of 51