24-4
DS785UM1
Copyright 2007 Cirrus Logic
Pulse Width Modulator
EP93xx User’s Guide
2
4
2
4
24
Note: All undefined register bits will be read as 0.
Register Descriptions
PWMxTermCnt
Address:
PWM0TermCnt: 0x8091_0000 - Read/Write
PWM1TermCnt: 0x8091_0020 - Read/Write
Default:
0x0000_0000
Definition:
PWMx Terminal Count
Bit Descriptions:
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.
PWMxDutyCycle
Address:
PWM0DutyCycle: 0x8091_0004 - Read/Write
PWM1DutyCycle: 0x8091_0024 - Read/Write
Default:
0x0000_0000
Definition:
PWMx Duty Cycle
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
PWM_TC
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
PWM_DC
Summary of Contents for EP93 Series
Page 28: ...P 6 DS785UM1 Copyright 2007 Cirrus Logic Preface EP93xx User s Guide PP P ...
Page 162: ...5 36 DS785UM1 Copyright 2007 Cirrus Logic System Controller EP93xx User s Guide 55 5 ...
Page 576: ...15 18 DS785UM1 Copyright 2007 Cirrus Logic UART2 EP93xx User s Guide 1515 15 ...
Page 634: ...17 38 DS785UM1 Copyright 2007 Cirrus Logic IrDA EP93xx User s Guide 1717 17 ...
Page 648: ...19 6 DS785UM1 Copyright 2007 Cirrus Logic Watchdog Timer EP93xx User s Guide 1919 19 ...
Page 688: ...21 32 DS785UM1 Copyright 2007 Cirrus Logic I2S Controller EP93xx User s Guide 2121 21 ...
Page 790: ...27 20 DS785UM1 Copyright 2007 Cirrus Logic IDE Interface EP93xx User s Guide 2727 27 ...
Page 808: ...28 18 DS785UM1 Copyright 2007 Cirrus Logic GPIO Interface EP93xx User s Guide 2828 28 ...