Functions
timer.c File Reference
#include <ti/devices/msp432e4/inc/msp432e411y.h>
#include "types.h"
#include <stdbool.h>
#include <stdint.h>
#include "inc/hw_timer.h"
#include "inc/hw_sysctl.h"
#include "debug.h"
#include "interrupt.h"
#include "timer.h"

Functions

void TimerEnable (uint32_t ui32Base, uint32_t ui32Timer)
 
void TimerDisable (uint32_t ui32Base, uint32_t ui32Timer)
 
void TimerConfigure (uint32_t ui32Base, uint32_t ui32Config)
 
void TimerControlLevel (uint32_t ui32Base, uint32_t ui32Timer, bool bInvert)
 
void TimerControlTrigger (uint32_t ui32Base, uint32_t ui32Timer, bool bEnable)
 
void TimerControlEvent (uint32_t ui32Base, uint32_t ui32Timer, uint32_t ui32Event)
 
void TimerControlStall (uint32_t ui32Base, uint32_t ui32Timer, bool bStall)
 
void TimerControlWaitOnTrigger (uint32_t ui32Base, uint32_t ui32Timer, bool bWait)
 
void TimerRTCEnable (uint32_t ui32Base)
 
void TimerRTCDisable (uint32_t ui32Base)
 
void TimerClockSourceSet (uint32_t ui32Base, uint32_t ui32Source)
 
uint32_t TimerClockSourceGet (uint32_t ui32Base)
 
void TimerPrescaleSet (uint32_t ui32Base, uint32_t ui32Timer, uint32_t ui32Value)
 
uint32_t TimerPrescaleGet (uint32_t ui32Base, uint32_t ui32Timer)
 
void TimerPrescaleMatchSet (uint32_t ui32Base, uint32_t ui32Timer, uint32_t ui32Value)
 
uint32_t TimerPrescaleMatchGet (uint32_t ui32Base, uint32_t ui32Timer)
 
void TimerLoadSet (uint32_t ui32Base, uint32_t ui32Timer, uint32_t ui32Value)
 
uint32_t TimerLoadGet (uint32_t ui32Base, uint32_t ui32Timer)
 
uint32_t TimerValueGet (uint32_t ui32Base, uint32_t ui32Timer)
 
void TimerMatchSet (uint32_t ui32Base, uint32_t ui32Timer, uint32_t ui32Value)
 
uint32_t TimerMatchGet (uint32_t ui32Base, uint32_t ui32Timer)
 
void TimerIntRegister (uint32_t ui32Base, uint32_t ui32Timer, void(*pfnHandler)(void))
 
void TimerIntUnregister (uint32_t ui32Base, uint32_t ui32Timer)
 
void TimerIntEnable (uint32_t ui32Base, uint32_t ui32IntFlags)
 
void TimerIntDisable (uint32_t ui32Base, uint32_t ui32IntFlags)
 
uint32_t TimerIntStatus (uint32_t ui32Base, bool bMasked)
 
void TimerIntClear (uint32_t ui32Base, uint32_t ui32IntFlags)
 
void TimerSynchronize (uint32_t ui32Base, uint32_t ui32Timers)
 
void TimerADCEventSet (uint32_t ui32Base, uint32_t ui32ADCEvent)
 
uint32_t TimerADCEventGet (uint32_t ui32Base)
 
void TimerDMAEventSet (uint32_t ui32Base, uint32_t ui32DMAEvent)
 
uint32_t TimerDMAEventGet (uint32_t ui32Base)
 
void TimerUpdateMode (uint32_t ui32Base, uint32_t ui32Timer, uint32_t ui32Config)
 
Copyright 2017, Texas Instruments Incorporated