Pulse Width Modulator (PWM)
15.2.1.18 ROM_PWMGenPeriodSet
Set the period of a PWM generator.
Prototype:
void
ROM_PWMGenPeriodSet(uint32_t ui32Base,
uint32_t ui32Gen,
uint32_t ui32Period)
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_PWMGenPeriodSet
is a function pointer located at
ROM_PWMTABLE[2]
.
Parameters:
ui32Base
is the base address of the PWM module.
ui32Gen
is the PWM generator to be modified. Must be one of
PWM_GEN_0
,
PWM_GEN_1
,
PWM_GEN_2
, or
PWM_GEN_3
.
ui32Period
specifies the period of PWM generator output, measured in clock ticks.
Description:
This function sets the period of the specified PWM generator block, where the period of the
generator block is defined as the number of PWM clock ticks between pulses on the generator
block zero signal.
Note:
Any subsequent calls made to this function before an update occurs will cause the previous
values to be overwritten.
Returns:
None.
15.2.1.19 ROM_PWMIntDisable
Disables generator and fault interrupts for a PWM module.
Prototype:
void
ROM_PWMIntDisable(uint32_t ui32Base,
uint32_t ui32GenFault)
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_PWMIntDisable
is a function pointer located at
ROM_PWMTABLE[19]
.
Parameters:
ui32Base
is the base address of the PWM module.
ui32GenFault
contains the interrupts to be disabled.
Must be a logical OR of
any of
PWM_INT_GEN_0
,
PWM_INT_GEN_1
,
PWM_INT_GEN_2
,
PWM_INT_GEN_3
,
PWM_INT_FAULT0
,
PWM_INT_FAULT1
,
PWM_INT_FAULT2
, or
PWM_INT_FAULT3
.
April 8, 2013
167
Содержание 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...