LPCOpen Platform for LPC18XX/43XX microcontrollers: C:/w/lpcopen_docs/software/lpc_core/lpc_chip/chip_18xx_43xx/ritimer_18xx_43xx.h File Reference

| LPCOpen Platform for LPC18XX/43XX microcontrollers 18XX43XX LPCOpen Platform for the NXP LPC18XX/43XX family of Microcontrollers

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

Data Structures | Macros | Functions
ritimer_18xx_43xx.h File Reference

Go to the source code of this file.

## Data Structures
struct | LPC_RITIMER_T
| Repetitive Interrupt Timer register block structure. More...

## Macros
#define | RIT_CTRL_INT ((uint32_t) (1))
#define | RIT_CTRL_ENCLR ((uint32_t) _BIT(1))
#define | RIT_CTRL_ENBR ((uint32_t) _BIT(2))
#define | RIT_CTRL_TEN ((uint32_t) _BIT(3))

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