LPCOpen Platform
LPCOpen Platform for NXP LPC Microcontrollers
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
CHIP: LPC18xx/43xx ATimer Driver

Functions

void Chip_ATIMER_Init (uint32_t PresetValue)
 Initialize Alarm Timer.
 
STATIC INLINE void Chip_ATIMER_DeInit (void)
 Close ATIMER device.
 
STATIC INLINE void Chip_ATIMER_IntEnable (void)
 Enable ATIMER Interrupt.
 
STATIC INLINE void Chip_ATIMER_IntDisable (void)
 Disable ATIMER Interrupt.
 
STATIC INLINE void Chip_ATIMER_ClearIntStatus (void)
 Clear ATIMER Interrupt Status.
 
STATIC INLINE void Chip_ATIMER_SetIntStatus (void)
 Set ATIMER Interrupt Status.
 
STATIC INLINE void Chip_ATIMER_UpdatePresetValue (uint32_t PresetValue)
 Update Preset value.
 
STATIC INLINE uint32_t Chip_ATIMER_GetPresetValue (void)
 Read value of preset register.
 

Detailed Description

Function Documentation

STATIC INLINE void Chip_ATIMER_ClearIntStatus ( void  )

Clear ATIMER Interrupt Status.

Returns
None

Definition at line 80 of file atimer_18xx_43xx.h.

STATIC INLINE void Chip_ATIMER_DeInit ( void  )

Close ATIMER device.

Returns
None

Definition at line 53 of file atimer_18xx_43xx.h.

STATIC INLINE uint32_t Chip_ATIMER_GetPresetValue ( void  )

Read value of preset register.

Returns
Value of capture register

Definition at line 108 of file atimer_18xx_43xx.h.

void Chip_ATIMER_Init ( uint32_t  PresetValue)

Initialize Alarm Timer.

Parameters
PresetValueCount of 1 to 1024s for Alarm
Returns
None

Definition at line 51 of file atimer_18xx_43xx.c.

STATIC INLINE void Chip_ATIMER_IntDisable ( void  )

Disable ATIMER Interrupt.

Returns
None

Definition at line 71 of file atimer_18xx_43xx.h.

STATIC INLINE void Chip_ATIMER_IntEnable ( void  )

Enable ATIMER Interrupt.

Returns
None

Definition at line 62 of file atimer_18xx_43xx.h.

STATIC INLINE void Chip_ATIMER_SetIntStatus ( void  )

Set ATIMER Interrupt Status.

Returns
None

Definition at line 89 of file atimer_18xx_43xx.h.

STATIC INLINE void Chip_ATIMER_UpdatePresetValue ( uint32_t  PresetValue)

Update Preset value.

Parameters
PresetValue: updated preset value
Returns
Nothing

Definition at line 99 of file atimer_18xx_43xx.h.