CC13xx Driver Library
timer.c File Reference
#include <driverlib/timer.h>

Go to the source code of this file.

Functions

static uint32_t TimerIntNumberGet (uint32_t ui32Base)
 Gets the timer interrupt number. More...
 
void TimerConfigure (uint32_t ui32Base, uint32_t ui32Config)
 Configures the timer(s) More...
 
void TimerLevelControl (uint32_t ui32Base, uint32_t ui32Timer, bool bInvert)
 Controls the output level. More...
 
void TimerStallControl (uint32_t ui32Base, uint32_t ui32Timer, bool bStall)
 Controls the stall handling. More...
 
void TimerWaitOnTriggerControl (uint32_t ui32Base, uint32_t ui32Timer, bool bWait)
 Controls the wait on trigger handling. More...
 
void TimerIntRegister (uint32_t ui32Base, uint32_t ui32Timer, void(*pfnHandler)(void))
 Registers an interrupt handler for the timer interrupt. More...
 
void TimerIntUnregister (uint32_t ui32Base, uint32_t ui32Timer)
 Unregisters an interrupt handler for the timer interrupt. More...
 
void TimerMatchUpdateMode (uint32_t ui32Base, uint32_t ui32Timer, uint32_t ui32Mode)
 Sets the Match Register Update mode. More...
 
void TimerIntervalLoadMode (uint32_t ui32Base, uint32_t ui32Timer, uint32_t ui32Mode)
 Sets the Interval Load mode. More...
 

Function Documentation

static uint32_t TimerIntNumberGet ( uint32_t  ui32Base)
static

Gets the timer interrupt number.

Given a timer base address, this function returns the corresponding interrupt number.

Parameters
ui32Baseis the base address of the timer module.
Returns
Returns a timer interrupt number, or -1 if ui32Base is invalid.

Definition at line 79 of file timer.c.

Referenced by TimerIntRegister(), and TimerIntUnregister().