Timer
Parameters:
ui32Base
is the base address of the timer module.
ui32IntFlags
is the bit mask of the interrupt sources to be enabled.
Description:
Enables the indicated timer interrupt sources. Only the sources that are enabled can be re-
flected to the processor interrupt; disabled sources have no effect on the processor.
The
ui32IntFlags
parameter must be the logical OR of any combination of the following:
TIMER_CAPB_EVENT
- Capture B event interrupt
TIMER_CAPB_MATCH
- Capture B match interrupt
TIMER_TIMB_TIMEOUT
- Timer B timeout interrupt
TIMER_RTC_MATCH
- RTC interrupt mask
TIMER_CAPA_EVENT
- Capture A event interrupt
TIMER_CAPA_MATCH
- Capture A match interrupt
TIMER_TIMA_TIMEOUT
- Timer A timeout interrupt
Returns:
None.
21.2.1.12 ROM_TimerIntStatus
Gets the current interrupt status.
Prototype:
uint32_t
ROM_TimerIntStatus(uint32_t ui32Base,
bool bMasked)
ROM Location:
ROM_APITABLE
is an array of pointers located at
0x0100.0010
.
ROM_TIMERTABLE
is an array of pointers located at
ROM_APITABLE[11]
.
ROM_TimerIntStatus
is a function pointer located at
ROM_TIMERTABLE[21]
.
Parameters:
ui32Base
is the base address of the timer module.
bMasked
is false if the raw interrupt status is required and true if the masked interrupt status
is required.
Description:
This returns the interrupt status for the timer module. Either the raw interrupt status or the
status of interrupts that are allowed to reflect to the processor can be returned.
Returns:
The
current
interrupt
status,
enumerated
as
a
bit
field
of
values
described
in
April 8, 2013
239
Содержание 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...