English
Language : 

LM3S5R31 Datasheet, PDF (1040/1275 Pages) Texas Instruments – Stellaris® LM3S5R31 Microcontroller
Pulse Width Modulator (PWM)
Register 5: PWM Output Fault (PWMFAULT), offset 0x010
This register controls the behavior of the PWMn outputs in the presence of fault conditions. Both the
fault inputs (FAULTn pins and digital comparator outputs) and debug events are considered fault
conditions. On a fault condition, each pwmA' or pwmB' signal can be passed through unmodified
or driven to the value specified by the corresponding bit in the PWMFAULTVAL register. For outputs
that are configured for pass-through, the debug event handling on the corresponding PWM generator
also determines if the pwmA' or pwmB' signal continues to be generated.
Fault condition control occurs before the output inverter, so PWM signals driven to a specified value
on fault are inverted if the channel is configured for inversion (therefore, the pin is driven to the
logical complement of the specified value on a fault condition).
PWM Output Fault (PWMFAULT)
PWM0 base: 0x4002.8000
Offset 0x010
Type R/W, reset 0x0000.0000
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
reserved
Type RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
reserved
FAULT7 FAULT6 FAULT5 FAULT4 FAULT3 FAULT2 FAULT1 FAULT0
Type RO
RO
RO
RO
RO
RO
RO
RO
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Bit/Field
31:8
7
Name
reserved
FAULT7
Type
RO
R/W
Reset Description
0x0000.00 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.
0
PWM7 Fault
Value Description
1 The PWM7 output signal is driven to the value specified by the
PWM7 bit in the PWMFAULTVAL register.
0 The generated pwm3B' signal is passed to the PWM7 pin.
6
FAULT6
R/W
0
PWM6 Fault
Value Description
1 The PWM6 output signal is driven to the value specified by the
PWM6 bit in the PWMFAULTVAL register.
0 The generated pwm3A' signal is passed to the PWM6 pin.
5
FAULT5
R/W
0
PWM5 Fault
Value Description
1 The PWM5 output signal is driven to the value specified by the
PWM5 bit in the PWMFAULTVAL register.
0 The generated pwm2B' signal is passed to the PWM5 pin.
1040
Texas Instruments-Production Data
January 20, 2012