Added cbHW_setSysTickMode

pull/4338/head
andreas.larsson 2017-05-17 23:12:05 +02:00
parent 233b92ce3f
commit 9e61a52c12
1 changed files with 6 additions and 1 deletions

View File

@ -59,6 +59,11 @@ typedef enum {
cbHW_IRQ_LOW = 12U
}cbHW_PRIO_LVL;
typedef enum {
cbHW_SYSTICK_DISABLED,
cbHW_SYSTICK_LOW_FREQ,
cbHW_SYSTICK_DEFAULT,
} cbHW_SysTickMode;
/*===========================================================================
* TYPES
*=========================================================================*/
@ -79,6 +84,7 @@ void cbHW_enterSleepMode(void);
void cbHW_enterStopMode(void);
void cbHW_setWakeupEvent(void);
void cbHW_resetWakeupEvent(void);
void cbHW_setSysTickMode(cbHW_SysTickMode sysTickMode);
/**
* Wait for specified amount of microseconds. May be interrupt dependent.
@ -143,4 +149,3 @@ void cbHW_enableAllIrq(void);
#endif