![]() |
LPCOpen Platform
v1.03
LPCOpen Platform for NXP LPC Microcontrollers
|
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. | |
| STATIC INLINE void Chip_RIT_ClearInt | ( | LPC_RITIMER_T * | pRITimer | ) |
Clears the RIT interrupt.
| pRITimer | : RITimer peripheral selected |
Definition at line 135 of file ritimer_18xx_43xx.h.
| void Chip_RIT_DeInit | ( | LPC_RITIMER_T * | pRITimer | ) |
Shutdown the RIT.
| pRITimer | : RITimer peripheral selected |
Definition at line 58 of file ritimer_18xx_43xx.c.
| STATIC INLINE void Chip_RIT_Disable | ( | LPC_RITIMER_T * | pRITimer | ) |
Disable Timer.
| pRITimer | : RITimer peripheral selected |
Definition at line 73 of file ritimer_18xx_43xx.h.
| STATIC INLINE void Chip_RIT_Enable | ( | LPC_RITIMER_T * | pRITimer | ) |
Enable Timer.
| pRITimer | : RITimer peripheral selected |
Definition at line 63 of file ritimer_18xx_43xx.h.
| STATIC INLINE void Chip_RIT_EnableCTRL | ( | LPC_RITIMER_T * | pRITimer, |
| uint32_t | val | ||
| ) |
Enables or clears the RIT or interrupt.
| pRITimer | : RITimer peripheral selected |
| val | : RIT to be set, one or more RIT_CTRL_* values |
Definition at line 125 of file ritimer_18xx_43xx.h.
| STATIC INLINE uint32_t Chip_RIT_GetCounter | ( | LPC_RITIMER_T * | pRITimer | ) |
Returns the current RIT Counter value.
| pRITimer | : RITimer peripheral selected |
Definition at line 145 of file ritimer_18xx_43xx.h.
| STATIC INLINE IntStatus Chip_RIT_GetIntStatus | ( | LPC_RITIMER_T * | pRITimer | ) |
Check whether interrupt flag is set or not.
| pRITimer | : RITimer peripheral selected |
Definition at line 103 of file ritimer_18xx_43xx.h.
| void Chip_RIT_Init | ( | LPC_RITIMER_T * | pRITimer | ) |
Initialize the RIT.
| pRITimer | : RITimer peripheral selected |
Definition at line 51 of file ritimer_18xx_43xx.c.
| STATIC INLINE void Chip_RIT_SetCOMPVAL | ( | LPC_RITIMER_T * | pRITimer, |
| uint32_t | val | ||
| ) |
Set a tick value for the interrupt to time out.
| pRITimer | : RITimer peripheral selected |
| val | : value (in ticks) of the interrupt to be set |
Definition at line 114 of file ritimer_18xx_43xx.h.
| void Chip_RIT_SetTimerInterval | ( | LPC_RITIMER_T * | pRITimer, |
| uint32_t | time_interval | ||
| ) |
Set timer interval value.
| pRITimer | : RITimer peripheral selected |
| time_interval | : timer interval value (ms) |
Definition at line 65 of file ritimer_18xx_43xx.c.
| STATIC INLINE void Chip_RIT_TimerDebugDisable | ( | LPC_RITIMER_T * | pRITimer | ) |
Disable timer debug.
| pRITimer | : RITimer peripheral selected |
Definition at line 93 of file ritimer_18xx_43xx.h.
| STATIC INLINE void Chip_RIT_TimerDebugEnable | ( | LPC_RITIMER_T * | pRITimer | ) |
Enable timer debug.
| pRITimer | : RITimer peripheral selected |
Definition at line 83 of file ritimer_18xx_43xx.h.