LM3S818 Luminary Micro, Inc, LM3S818 Datasheet - Page 316

no-image

LM3S818

Manufacturer Part Number
LM3S818
Description
Lm3s818 Arm Microcontroller
Manufacturer
Luminary Micro, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
LM3S818-EQN50-C2
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
LM3S818-EQN50-C2T
Manufacturer:
MICRON
Quantity:
1 200
Part Number:
LM3S818-EQN50-C2T
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
LM3S818-IGZ50-C2
Manufacturer:
TI
Quantity:
82
Part Number:
LM3S818-IQN50-C2
Quantity:
1 947
Company:
Part Number:
LM3S818-IQN50-C2
Quantity:
330
Part Number:
LM3S818-IQN50-C2T
Manufacturer:
Texas Instruments
Quantity:
10 000
Pulse Width Modulator (PWM)
15.4
Table 15-1. PWM Register Map (Sheet 1 of 3)
316
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 15-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
February 6, 2007
page
See
319
320
321
322
323
324
325
326
327
328
330
332
333
334
334
336
337
338

Related parts for LM3S818