LM3S3768 Luminary Micro, Inc, LM3S3768 Datasheet - Page 647

no-image

LM3S3768

Manufacturer Part Number
LM3S3768
Description
Lm3s3768 Arm Microcontroller
Manufacturer
Luminary Micro, Inc
Datasheet
Reset
Reset
Type
Type
PWM0 Generator B Control (PWM0GENB)
Base 0x4002.8000
Offset 0x064
Type R/W, reset 0x0000.0000
June 02, 2008
Bit/Field
31:12
RO
RO
31
15
0
0
RO
RO
Register 47: PWM0 Generator B Control (PWM0GENB), offset 0x064
Register 48: PWM1 Generator B Control (PWM1GENB), offset 0x0A4
Register 49: PWM2 Generator B Control (PWM2GENB), offset 0x0E4
Register 50: PWM3 Generator B Control (PWM3GENB), offset 0x124
These registers control the generation of the PWMnB signal based on the load and zero output pulses
from the counter, as well as the compare A and compare B pulses from the comparators
(PWM0GENB controls the PWM generator 0 block, and so on). When the counter is running in
Down mode, only four of these events occur; when running in Up/Down mode, all six occur. These
events provide great flexibility in the positioning and duty cycle of the PWM signal that is produced.
The PWM0GENB register controls generation of the PWM0B signal; PWM1GENB, the PWM1B signal;
PWM2GENB, the PWM2B signal; and PWM3GENB, the PWM3B signal.
If a zero or load event coincides with a compare A or compare B event, the zero or load action is
taken and the compare A or compare B action is ignored. If a compare A event coincides with a
compare B event, the compare B action is taken and the compare A action is ignored.
If the Generator B update mode is immediate (based on the GenBUpd field encoding in the PWMnCTL
register), this 16-bit GenBUpd value is used the next time the counter reaches zero. If the update
mode is synchronous, it is used the next time the counter reaches zero after a synchronous update
has been requested through the PWM Master Control (PWMCTL) register (see page 615). If this
register is rewritten before the actual update occurs, the previous value is never used and is lost.
30
14
0
0
reserved
RO
RO
29
13
reserved
0
0
Name
RO
RO
28
12
0
0
R/W
RO
27
11
0
0
ActCmpBD
Type
RO
R/W
RO
26
10
0
0
R/W
RO
Reset
25
0x00
0
9
0
ActCmpBU
Preliminary
R/W
RO
24
0
8
0
reserved
Description
Software should not rely on the value of a reserved bit. To provide
compatibility with future products, the value of a reserved bit should be
preserved across a read-modify-write operation.
R/W
RO
23
0
7
0
ActCmpAD
R/W
RO
22
0
6
0
R/W
RO
21
0
5
0
ActCmpAU
R/W
RO
20
0
4
0
R/W
RO
19
0
3
0
LM3S3768 Microcontroller
ActLoad
R/W
RO
18
0
2
0
R/W
RO
17
0
1
0
ActZero
R/W
RO
16
0
0
0
647

Related parts for LM3S3768