uc-sdk
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
SYSTICK Private Macros

Macros

#define ST_CTRL_ENABLE   ((uint32_t)(1<<0))
 
#define ST_CTRL_TICKINT   ((uint32_t)(1<<1))
 
#define ST_CTRL_CLKSOURCE   ((uint32_t)(1<<2))
 
#define ST_CTRL_COUNTFLAG   ((uint32_t)(1<<16))
 
#define ST_RELOAD_RELOAD(n)   ((uint32_t)(n & 0x00FFFFFF))
 
#define ST_RELOAD_CURRENT(n)   ((uint32_t)(n & 0x00FFFFFF))
 
#define ST_CALIB_TENMS(n)   ((uint32_t)(n & 0x00FFFFFF))
 
#define ST_CALIB_SKEW   ((uint32_t)(1<<30))
 
#define ST_CALIB_NOREF   ((uint32_t)(1<<31))
 
#define CLKSOURCE_EXT   ((uint32_t)(0))
 
#define CLKSOURCE_CPU   ((uint32_t)(1))
 

Detailed Description

Macro Definition Documentation

#define CLKSOURCE_CPU   ((uint32_t)(1))

Definition at line 71 of file lpc17xx_systick.h.

#define CLKSOURCE_EXT   ((uint32_t)(0))

Definition at line 70 of file lpc17xx_systick.h.

#define ST_CALIB_NOREF   ((uint32_t)(1<<31))

Definition at line 68 of file lpc17xx_systick.h.

#define ST_CALIB_SKEW   ((uint32_t)(1<<30))

Definition at line 67 of file lpc17xx_systick.h.

#define ST_CALIB_TENMS (   n)    ((uint32_t)(n & 0x00FFFFFF))

Macro defines for System Timer Calibration value (STCALIB) register

Definition at line 66 of file lpc17xx_systick.h.

#define ST_CTRL_CLKSOURCE   ((uint32_t)(1<<2))

Definition at line 50 of file lpc17xx_systick.h.

#define ST_CTRL_COUNTFLAG   ((uint32_t)(1<<16))

Definition at line 51 of file lpc17xx_systick.h.

#define ST_CTRL_ENABLE   ((uint32_t)(1<<0))

Macro defines for System Timer Control and status (STCTRL) register

Definition at line 48 of file lpc17xx_systick.h.

#define ST_CTRL_TICKINT   ((uint32_t)(1<<1))

Definition at line 49 of file lpc17xx_systick.h.

#define ST_RELOAD_CURRENT (   n)    ((uint32_t)(n & 0x00FFFFFF))

Macro defines for System Timer Current value (STCURRENT) register

Definition at line 61 of file lpc17xx_systick.h.

#define ST_RELOAD_RELOAD (   n)    ((uint32_t)(n & 0x00FFFFFF))

Macro defines for System Timer Reload value (STRELOAD) register

Definition at line 56 of file lpc17xx_systick.h.