LPCOpen Platform  v1.03
LPCOpen Platform for NXP LPC Microcontrollers
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
ritimer_18xx_43xx.h File Reference

Go to the source code of this file.

Functions

void Chip_RIT_Init (LPC_RITIMER_T *pRITimer)
 Initialize the RIT.
 
void Chip_RIT_DeInit (LPC_RITIMER_T *pRITimer)
 Shutdown the RIT.
 
STATIC INLINE void Chip_RIT_Enable (LPC_RITIMER_T *pRITimer)
 Enable Timer.
 
STATIC INLINE void Chip_RIT_Disable (LPC_RITIMER_T *pRITimer)
 Disable Timer.
 
STATIC INLINE void Chip_RIT_TimerDebugEnable (LPC_RITIMER_T *pRITimer)
 Enable timer debug.
 
STATIC INLINE void Chip_RIT_TimerDebugDisable (LPC_RITIMER_T *pRITimer)
 Disable timer debug.
 
STATIC INLINE IntStatus Chip_RIT_GetIntStatus (LPC_RITIMER_T *pRITimer)
 Check whether interrupt flag is set or not.
 
STATIC INLINE void Chip_RIT_SetCOMPVAL (LPC_RITIMER_T *pRITimer, uint32_t val)
 Set a tick value for the interrupt to time out.
 
STATIC INLINE void Chip_RIT_EnableCTRL (LPC_RITIMER_T *pRITimer, uint32_t val)
 Enables or clears the RIT or interrupt.
 
STATIC INLINE void Chip_RIT_ClearInt (LPC_RITIMER_T *pRITimer)
 Clears the RIT interrupt.
 
STATIC INLINE uint32_t Chip_RIT_GetCounter (LPC_RITIMER_T *pRITimer)
 Returns the current RIT Counter value.
 
void Chip_RIT_SetTimerInterval (LPC_RITIMER_T *pRITimer, uint32_t time_interval)
 Set timer interval value.