AM263x MCU+ SDK  10.00.00
TimerP.h File Reference

Go to the source code of this file.

Data Structures

struct  TimerP_Params
 Parameters for TimerP_setup. More...
 

Macros

#define TIME_IN_MICRO_SECONDS   (1000000U)
 
#define MAX_TIMER_COUNT_VALUE   (0xFFFFFFFFU)
 
#define TIME_IN_MILLI_SECONDS   (1000U)
 
#define TIME_IN_NANO_SECONDS   (1000000000U)
 
#define TIMERP_SHIFT_BY_EIGHT   (8U)
 
#define MAX_NUMBER_OF_CYCLES   (0xFFFFFFFFU)
 
#define MAX_NUMBER_OF_COUNT   (0xFFFFFFFFU)
 

Functions

void TimerP_Params_init (TimerP_Params *params)
 Set default value for TimerP_Params. More...
 
void TimerP_setup (uint32_t baseAddr, TimerP_Params *params)
 Setup timer but does not start it. More...
 
void TimerP_start (uint32_t baseAddr)
 Start timer. More...
 
void TimerP_stop (uint32_t baseAddr)
 Stop timer. More...
 
uint32_t TimerP_getCount (uint32_t baseAddr)
 Get timer current count. More...
 
uint32_t TimerP_getReloadCount (uint32_t baseAddr)
 Get timer reload count. More...
 
void TimerP_clearOverflowInt (uint32_t baseAddr)
 Clear timer overflow interrupt. More...
 
uint32_t TimerP_isOverflowed (uint32_t baseAddr)
 Check if timer is overflowed. More...