LPCOpen Platform
LPCOpen Platform for NXP LPC Microcontrollers
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
ritimer_18xx_43xx.h File Reference
#include "chip.h"

Go to the source code of this file.

Functions

STATIC INLINE void Chip_RIT_Init (void)
 Initialize the RIT.
 
STATIC INLINE void Chip_RIT_DeInit (void)
 DeInitialize the RIT.
 
STATIC INLINE void Chip_RIT_Cmd (FunctionalState NewState)
 Enable/Disable Timer.
 
STATIC INLINE void Chip_RIT_TimerDebugCmd (FunctionalState NewState)
 Enable or disable timer debug.
 
STATIC INLINE IntStatus Chip_RIT_GetIntStatus (void)
 Check whether interrupt flag is set or not.
 
STATIC INLINE void Chip_RIT_SetCOMPVAL (uint32_t val)
 Set a tick value for the interrupt to time out.
 
STATIC INLINE void Chip_RIT_EnableCTRL (uint32_t val)
 Enables or clears the RIT or interrupt.
 
STATIC INLINE void Chip_RIT_ClearInt (void)
 Clears the RIT interrupt.
 
STATIC INLINE uint32_t Chip_RIT_GetCounter (void)
 Returns the current RIT Counter value.
 
void Chip_RIT_SetTimerInterval (uint32_t time_interval)
 Set timer interval value.