Pulse Width Modulator (PWM)
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
.
bInvert
determines if the signal is inverted or passed through.
Description:
This function is used to select the inversion mode for the selected PWM outputs. The outputs
are selected using the parameter
ui32PWMOutBits
. The parameter
bInvert
determines the
inversion mode for the selected outputs. If
bInvert
is
true
, this function will cause the specified
PWM output signals to be inverted, or made active low. If
bInvert
is
false
, the specified outputs
are passed through as is, or be made active high.
Returns:
None.
15.2.1.25 ROM_PWMOutputState
Enables or disables PWM outputs.
Prototype:
void
ROM_PWMOutputState(uint32_t ui32Base,
uint32_t ui32PWMOutBits,
bool bEnable)
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_PWMOutputState
is a function pointer located at
ROM_PWMTABLE[11]
.
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
.
bEnable
determines if the signal is enabled or disabled.
Description:
This function is used to enable or disable the selected PWM outputs. The outputs are selected
using the parameter
ui32PWMOutBits
. The parameter
bEnable
determines the state of the
selected outputs. If
bEnable
is
true
, then the selected PWM outputs are enabled, or placed in
the active state. If
bEnable
is
false
, then the selected outputs are disabled, or placed in the
inactive state.
Returns:
None.
15.2.1.26 ROM_PWMPulseWidthGet
Gets the pulse width of a PWM output.
April 8, 2013
171
Содержание Tiva TM4C123GH6PM
Страница 26: ...Boot Loader 26 April 8 2013...
Страница 68: ...Controller Area Network CAN 68 April 8 2013...
Страница 122: ...Hibernation Module 122 April 8 2013...
Страница 136: ...Inter Integrated Circuit I2C 136 April 8 2013...
Страница 152: ...Memory Protection Unit MPU 152 April 8 2013...
Страница 174: ...Pulse Width Modulator PWM Returns None 174 April 8 2013...
Страница 196: ...Synchronous Serial Interface SSI 196 April 8 2013...
Страница 222: ...System Control 222 April 8 2013...
Страница 270: ...UART 270 April 8 2013...
Страница 296: ...uDMA Controller 296 April 8 2013...
Страница 351: ...April 8 2013 351...