LM3S316 Luminary Micro, Inc., LM3S316 Datasheet - Page 361

no-image

LM3S316

Manufacturer Part Number
LM3S316
Description
Microcontroller
Manufacturer
Luminary Micro, Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
LM3S316-EQN25-C2
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
LM3S316-EQN25-C2T
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
LM3S316-IGZ25-C2
Manufacturer:
TI
Quantity:
84
Part Number:
LM3S316-IQN25-C2
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
LM3S316-IQN25-C2T
Manufacturer:
Texas Instruments
Quantity:
10 000
16.4
Table 16-1. PWM Register Map (Sheet 1 of 2)
April 27, 2007
PWM Module Control
PWM Generator 0
Offset
0x00C
0x01C
0x04C
0x05C
0x000
0x004
0x008
0x010
0x014
0x018
0x020
0x040
0x044
0x048
0x050
0x054
0x058
0x060
Name
PWMCTL
PWMSYNC
PWMENABLE
PWMINVERT
PWMFAULT
PWMINTEN
PWMRIS
PWMISC
PWMSTATUS
PWM0CTL
PWM0INTEN
PWM0RIS
PWM0ISC
PWM0LOAD
PWM0COUNT
PWM0CMPA
PWM0CMPB
PWM0GENA
7.
8.
9.
Register Map
Table 16-2 lists the PWM registers. The offset listed is a hexadecimal increment to the register’s
address, relative to the PWM base address of 0x40028000.
Set the pulse width of the PWM1 pin for a 75% duty cycle.
Start the timers in PWM generator 0.
Enable PWM outputs.
Write the PWM0CMPA register with a value of 0x0000012B.
Write the PWM0CMPB register with a value of 0x00000063.
Write the PWM0CTL register with a value of 0x00000001.
Write the PWMENABLE register with a value of 0x00000003.
0x00000000
0x00000000
0x00000000
0x00000000
0x00000000
0x00000000
0x00000000
0x00000000
0x00000000
0x00000000
0x00000000
0x00000000
0x00000000
0x00000000
0x00000000
0x00000000
0x00000000
0x00000000
Reset
R/W1C
R/W1C
Type
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
RO
RO
RO
RO
Preliminary
Description
Master control of the PWM module
Counter synchronization for the PWM generators
Master enable for the PWM output pins
Inversion control for the PWM output pins
Fault handling for the PWM output pins
Interrupt enable
Raw interrupt status
Interrupt status and clear
Value of the Fault input signal
Master control of the PWM0 generator block
Interrupt and trigger enable
Raw interrupt status
Interrupt status and clear
Load value for the counter
Current counter value
Comparator A value
Comparator B value
Controls PWM generator A
LM3S316 Data Sheet
page
See
363
364
365
366
367
368
369
370
371
372
374
376
377
378
378
380
381
382
361

Related parts for LM3S316