Pulse Width Modulator (PWM)
Prototype:
void
ROM_PWMOutputFaultLevel(uint32_t ui32Base,
uint32_t ui32PWMOutBits,
bool bDriveHigh)
ROM Location:
ROM_APITABLE
is an array of pointers located at
0x0100.0010
.
ROM_PWMTABLE
is an array of pointers located at
ROM_APITABLE[8]
.
ROM_PWMOutputFaultLevel
is a function pointer located at
ROM_PWMTABLE[22]
.
Parameters:
ui32Base
is the base address of the PWM module.
ui32PWMOutBits
are the PWM outputs to be modified.
Must be the logical OR of
any of
PWM_OUT_0_BIT
,
PWM_OUT_1_BIT
,
PWM_OUT_2_BIT
,
PWM_OUT_3_BIT
,
PWM_OUT_4_BIT
,
PWM_OUT_5_BIT
,
PWM_OUT_6_BIT
, or
PWM_OUT_7_BIT
.
bDriveHigh
determines if the signal is driven high or low during an active fault condition.
Description:
This function determines whether a PWM output pin that is suppressed in response to a
fault condition is driven high or low. The affected outputs are selected using the parameter
ui32PWMOutBits
. The parameter
bDriveHigh
determines the output level for the pins identi-
fied by
ui32PWMOutBits
. If
bDriveHigh
is
true
then the selected outputs are driven high when
a fault is detected. If it is
false
, the pins are driven low.
In a fault condition, pins which have not been configured to be suppressed via a call to
are unaffected by this function.
Note:
This function is available only on devices which support extended PWM fault handling.
Returns:
None.
15.2.1.24 ROM_PWMOutputInvert
Selects the inversion mode for PWM outputs.
Prototype:
void
ROM_PWMOutputInvert(uint32_t ui32Base,
uint32_t ui32PWMOutBits,
bool bInvert)
ROM Location:
ROM_APITABLE
is an array of pointers located at
0x0100.0010
.
ROM_PWMTABLE
is an array of pointers located at
ROM_APITABLE[8]
.
ROM_PWMOutputInvert
is a function pointer located at
ROM_PWMTABLE[12]
.
Parameters:
ui32Base
is the base address of the PWM module.
170
April 8, 2013
Summary of Contents for Tiva TM4C123GH6PM
Page 26: ...Boot Loader 26 April 8 2013...
Page 68: ...Controller Area Network CAN 68 April 8 2013...
Page 122: ...Hibernation Module 122 April 8 2013...
Page 136: ...Inter Integrated Circuit I2C 136 April 8 2013...
Page 152: ...Memory Protection Unit MPU 152 April 8 2013...
Page 174: ...Pulse Width Modulator PWM Returns None 174 April 8 2013...
Page 196: ...Synchronous Serial Interface SSI 196 April 8 2013...
Page 222: ...System Control 222 April 8 2013...
Page 270: ...UART 270 April 8 2013...
Page 296: ...uDMA Controller 296 April 8 2013...
Page 351: ...April 8 2013 351...