![]() |
LPCOpen Platform
LPCOpen Platform for NXP LPC Microcontrollers
|
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. | |
STATIC INLINE void Chip_RIT_Cmd | ( | FunctionalState | NewState | ) |
Enable/Disable Timer.
NewState | : ENABLE to enable timer, DISABLE to stop timer |
Definition at line 69 of file ritimer_18xx_43xx.h.
Enables or clears the RIT or interrupt.
val | : RIT to be set, one or more RIT_CTRL_* values |
Definition at line 108 of file ritimer_18xx_43xx.h.
Returns the current RIT Counter value.
Definition at line 126 of file ritimer_18xx_43xx.h.
Check whether interrupt flag is set or not.
Definition at line 88 of file ritimer_18xx_43xx.h.
Set a tick value for the interrupt to time out.
val | : value (in ticks) of the interrupt to be set |
Definition at line 98 of file ritimer_18xx_43xx.h.
void Chip_RIT_SetTimerInterval | ( | uint32_t | time_interval | ) |
Set timer interval value.
time_interval | : timer interval value (ms) |
Definition at line 51 of file ritimer_18xx_43xx.c.
STATIC INLINE void Chip_RIT_TimerDebugCmd | ( | FunctionalState | NewState | ) |
Enable or disable timer debug.
NewState | : ENABLE to halt timer whenever a hardware break condition occurs |
Definition at line 79 of file ritimer_18xx_43xx.h.