CY7C67300
Document #: 38-08015 Rev. *J Page 75 of 99
PWM Registers
There are eleven registers dedicated to PWM operation. Each of these registers are covered in this section and summarized in
Table 124.
PWM Control Register [0xC0E6] [R/W]
Register Description
The PWM Control register provides high level control over all four
of the PWM channels.
PWM Enable (Bit 15)
The PWM Enable bit starts and stops PWM operation.
1: Start operation
0: Stop operation
Prescale Select (Bits [11:9])
The Prescale Select field sets the frequency of all the PWM
channels as defined in Table 126.
Table 124. PWM Registers
Register Name Address R/W
PWM Control Register 0xC0E6 R/W
PWM Maximum Count Register 0xC0E8 R/W
PWM0 Start Register 0xC0EA R/W
PWM0 Stop Register 0xC0EC R/W
PWM1 Start Register 0xC0EE R/W
PWM1 Stop Register 0xC0F0 R/W
PWM2 Start Register 0xC0F2 R/W
PWM2 Stop Register 0xC0F4 R/W
PWM3 Start Register 0xC0F6 R/W
PWM3 Stop Register 0xC0F8 R/W
PWM Cycle Count Register 0xC0FA R/W
Table 125. PWM Control Register
Bit # 15 14 13 12 11 10 9 8
Field
PWM
Enable
Reserved Prescale
Select
Mode
Select
Read/Write R/W - - - R/W R/W R/W R/W
Default 0 0 0 0 0 0 0 0
Bit # 7 6 5 4 3 2 1 0
Field
PWM 3
Polarity
Select
PWM 2
Polarity
Select
PWM 1
Polarity
Select
PWM 0
Polarity
Select
PWM 3
Enable
PWM 2
Enable
PWM 1
Enable
PWM 0
Enable
Read/Write R/W R/W R/W R/W R/W R/W R/W R/W
Default 0 0 0 0 0 0 0 0
Table 126. Prescaler Select Definition
Prescale Select [11:9] Frequency
000 48.00 MHz
001 24.00 MHz
010 06.00 MHz
011 01.50 MHz
100 375 kHz
101 93.80 kHz
110 23.40 kHz
111 05.90 kHz
[+] Feedback