EasyManuals Logo

Texas Instruments TM4C1294NCPDT User Manual

Texas Instruments TM4C1294NCPDT
1890 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #1679 background imageLoading...
Page #1679 background image
Write the PWM0LOAD register with a value of 0x0000.018F.
8. Set the pulse width of the MnPWM0 pin for a 25% duty cycle.
Write the PWM0CMPA register with a value of 0x0000.012B.
9. Set the pulse width of the MnPWM1 pin for a 75% duty cycle.
Write the PWM0CMPB register with a value of 0x0000.0063.
10. Start the timers in PWM generator 0.
Write the PWM0CTL register with a value of 0x0000.0001.
11. Enable PWM outputs.
Write the PWMENABLE register with a value of 0x0000.0003.
23.5 Register Map
Table 23-2 on page 1679 lists the PWM registers. The offset listed is a hexadecimal increment to the
register's address, relative to the PWM module's base address:
PWM0: 0x4002.8000
Note that the PWM module clock must be enabled before the registers can be programmed. There
must be a delay of 3 system clocks after the PWM module clock is enabled before any PWM module
registers are accessed.
Table 23-2. PWM Register Map
See
page
DescriptionResetTypeNameOffset
1683PWM Master Control0x0000.0000RWPWMCTL0x000
1685PWM Time Base Sync0x0000.0000RWPWMSYNC0x004
1686PWM Output Enable0x0000.0000RWPWMENABLE0x008
1688PWM Output Inversion0x0000.0000RWPWMINVERT0x00C
1690PWM Output Fault0x0000.0000RWPWMFAULT0x010
1692PWM Interrupt Enable0x0000.0000RWPWMINTEN0x014
1694PWM Raw Interrupt Status0x0000.0000ROPWMRIS0x018
1697PWM Interrupt Status and Clear0x0000.0000RW1CPWMISC0x01C
1700PWM Status0x0000.0000ROPWMSTATUS0x020
1702PWM Fault Condition Value0x0000.0000RWPWMFAULTVAL0x024
1704PWM Enable Update0x0000.0000RWPWMENUPD0x028
1708PWM0 Control0x0000.0000RWPWM0CTL0x040
1713PWM0 Interrupt and Trigger Enable0x0000.0000RWPWM0INTEN0x044
1716PWM0 Raw Interrupt Status0x0000.0000ROPWM0RIS0x048
1679June 18, 2014
Texas Instruments-Production Data
Tiva
TM4C1294NCPDT Microcontroller

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments TM4C1294NCPDT and is the answer not in the manual?

Texas Instruments TM4C1294NCPDT Specifications

General IconGeneral
BrandTexas Instruments
ModelTM4C1294NCPDT
CategoryMicrocontrollers
LanguageEnglish

Related product manuals