47 #ifndef DRIVERLIB_GENERATE_ROM
49 #define TimerConfigure NOROM_TimerConfigure
50 #undef TimerLevelControl
51 #define TimerLevelControl NOROM_TimerLevelControl
52 #undef TimerTriggerControl
53 #define TimerTriggerControl NOROM_TimerTriggerControl
54 #undef TimerStallControl
55 #define TimerStallControl NOROM_TimerStallControl
56 #undef TimerWaitOnTriggerControl
57 #define TimerWaitOnTriggerControl NOROM_TimerWaitOnTriggerControl
58 #undef TimerIntRegister
59 #define TimerIntRegister NOROM_TimerIntRegister
60 #undef TimerIntUnregister
61 #define TimerIntUnregister NOROM_TimerIntUnregister
79 TimerIntNumberGet(uint32_t ui32Base)
90 ui32Int = INT_TIMER0A;
93 ui32Int = INT_TIMER1A;
96 ui32Int = INT_TIMER2A;
99 ui32Int = INT_TIMER3A;
122 ASSERT(TimerBaseValid(ui32Base));
157 HWREG(ui32Base +
GPT_O_CFG) = ui32Config >> 24;
179 ASSERT(TimerBaseValid(ui32Base));
188 (HWREG(ui32Base +
GPT_O_CTL) | ui32Timer) :
206 ASSERT(TimerBaseValid(ui32Base));
214 ui32Val &= ui32Timer;
231 (HWREG(ui32Base +
GPT_O_CTL) | ui32Timer) :
247 ASSERT(TimerBaseValid(ui32Base));
256 (HWREG(ui32Base +
GPT_O_CTL) | ui32Timer) :
257 (HWREG(ui32Base +
GPT_O_CTL) & ~(ui32Timer)));
271 ASSERT(TimerBaseValid(ui32Base));
319 ASSERT(TimerBaseValid(ui32Base));
326 ui32Int = TimerIntNumberGet(ui32Base);
374 ASSERT(TimerBaseValid(ui32Base));
381 ui32Int = TimerIntNumberGet(ui32Base);
#define TIMER_CFG_SPLIT_PAIR
void TimerWaitOnTriggerControl(uint32_t ui32Base, uint32_t ui32Timer, bool bWait)
Controls the wait on trigger handling.
#define TIMER_CFG_B_ONE_SHOT
#define TIMER_CFG_A_ONE_SHOT_UP
#define TIMER_CFG_A_CAP_TIME_UP
#define TIMER_CFG_PERIODIC_UP
void TimerStallControl(uint32_t ui32Base, uint32_t ui32Timer, bool bStall)
Controls the stall handling.
#define TIMER_CFG_ONE_SHOT
#define TIMER_CFG_A_CAP_COUNT_UP
void TimerIntRegister(uint32_t ui32Base, uint32_t ui32Timer, void(*pfnHandler)(void))
Registers an interrupt handler for the timer interrupt.
#define TIMER_CFG_B_ONE_SHOT_UP
#define TIMER_CFG_B_CAP_TIME
void TimerConfigure(uint32_t ui32Base, uint32_t ui32Config)
Configures the timer(s)
#define TIMER_CFG_ONE_SHOT_UP
#define TIMER_CFG_A_PERIODIC
#define TIMER_CFG_B_CAP_TIME_UP
void TimerIntUnregister(uint32_t ui32Base, uint32_t ui32Timer)
Unregisters an interrupt handler for the timer interrupt.
void TimerLevelControl(uint32_t ui32Base, uint32_t ui32Timer, bool bInvert)
Controls the output level.
#define TIMER_CFG_B_PERIODIC
#define TIMER_CFG_B_CAP_COUNT
#define TIMER_CFG_B_CAP_COUNT_UP
void IntUnregister(uint32_t ui32Interrupt)
Unregisters the function to be called when an interrupt occurs.
void TimerTriggerControl(uint32_t ui32Base, uint32_t ui32Timer, bool bEnable)
Enables or disables the ADC trigger output.
#define TIMER_CFG_PERIODIC
#define TIMER_CFG_A_ONE_SHOT
#define TIMER_CFG_A_CAP_COUNT
#define TIMER_CFG_A_CAP_TIME
#define TIMER_CFG_A_PERIODIC_UP
void IntDisable(uint32_t ui32Interrupt)
Disables an interrupt.
void IntRegister(uint32_t ui32Interrupt, void(*pfnHandler)(void))
Registers a function to be called when an interrupt occurs.
void IntEnable(uint32_t ui32Interrupt)
Enables an interrupt.
#define TIMER_CFG_B_PERIODIC_UP