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

Go to the source code of this file.

Data Structures

struct  IP_ATIMER_001_Type
 Alarm Timer register block structure. More...
 

Functions

void IP_ATIMER_DeInit (IP_ATIMER_001_Type *pATimer)
 Close ATIMER device.
 
STATIC INLINE void IP_ATIMER_ClearIntStatus (IP_ATIMER_001_Type *pATimer)
 Clear ATIMER Interrupt Status.
 
STATIC INLINE void IP_ATIMER_SetIntStatus (IP_ATIMER_001_Type *pATimer)
 Set ATIMER Interrupt Status.
 
STATIC INLINE void IP_ATIMER_IntEnable (IP_ATIMER_001_Type *pATimer)
 Enable ATIMER Interrupt.
 
STATIC INLINE void IP_ATIMER_IntDisable (IP_ATIMER_001_Type *pATimer)
 Disable ATIMER Interrupt.
 
STATIC INLINE void IP_ATIMER_UpdatePresetValue (IP_ATIMER_001_Type *pATimer, uint32_t PresetValue)
 Update Preset value.
 
STATIC INLINE uint32_t IP_ATIMER_GetPresetValue (IP_ATIMER_001_Type *pATimer)
 Read value of preset register.
 
STATIC INLINE uint32_t IP_ATIMER_GetIntEnableState (IP_ATIMER_001_Type *pATimer)
 Returns enable state of ATimer interrupt.
 
STATIC INLINE uint32_t IP_ATIMER_GetIntPendingState (IP_ATIMER_001_Type *pATimer)
 Returns current pending state of ATimer interrupt.