Pulse Width Modulator
EP93xx User's Guide
Note: All undefined register bits will be read as 0.
Register Descriptions
PWMxTermCnt
15
14
24
Address:
Default:
Definition:
Bit Descriptions:
PWMxDutyCycle
15
14
Address:
Default:
Definition:
24-4
13
12
11
10
PWM0TermCnt: 0x8091_0000 - Read/Write
PWM1TermCnt: 0x8091_0020 - Read/Write
0x0000_0000
PWMx Terminal Count
PWM_TC:
13
12
11
10
PWM0DutyCycle: 0x8091_0004 - Read/Write
PWM1DutyCycle: 0x8091_0024 - Read/Write
0x0000_0000
PWMx Duty Cycle
Copyright 2007 Cirrus Logic
9
8
7
6
PWM_TC
PWMxTermCnt is used to adjust the output frequency of
the PWM. PWMxTermCnt gives the PWM up to 16-bit
resolution.
PWMxTermCnt is double buffered to allow it to be
programed statically (PWM is stopped) or dynamically
(PWM is running).
Programmed dynamically, PWMxTermCnt is updated at
the end of a PWM cycle to prevent any output glitches or
errors. Reading the register reflects what was written to it,
not the state of the counter.
9
8
7
6
PWM_DC
5
4
3
2
5
4
3
2
1
0
1
0
DS785UM1
Need help?
Do you have a question about the EP93 Series and is the answer not in the manual?
Questions and answers