Data Structures | |
struct | SYS_Timer_t |
Macros | |
#define | MS 1000 |
#define | SYS_TIMER_INTERVAL 10ul /* ms */ |
Typedefs | |
typedef struct SYS_Timer_t | SYS_Timer_t |
typedef enum SYS_TimerMode_t | SYS_TimerMode_t |
Enumerations | |
enum | SYS_TimerMode_t { SYS_TIMER_INTERVAL_MODE, SYS_TIMER_PERIODIC_MODE } |
Functions | |
void | SYS_EncryptConf (void) |
void | SYS_EncryptReq (uint32_t *text, uint32_t *key) |
void | SYS_HwExpiry_Cb (void) |
void | SYS_TimerInit (void) |
void | SYS_TimerStart (SYS_Timer_t *timer) |
bool | SYS_TimerStarted (SYS_Timer_t *timer) |
void | SYS_TimerStop (SYS_Timer_t *timer) |
void | SYS_TimerTaskHandler (void) |
#define MS 1000 |
Referenced by SYS_HwExpiry_Cb(), and SYS_TimerInit().
#define SYS_TIMER_INTERVAL 10ul /* ms */ |
Referenced by SYS_HwExpiry_Cb(), SYS_TimerInit(), and SYS_TimerTaskHandler().
typedef struct SYS_Timer_t SYS_Timer_t |
typedef enum SYS_TimerMode_t SYS_TimerMode_t |
enum SYS_TimerMode_t |
void SYS_EncryptConf | ( | void | ) |
void SYS_EncryptReq | ( | uint32_t * | text, |
uint32_t * | key | ||
) |
void SYS_HwExpiry_Cb | ( | void | ) |
References common_tc_delay(), MS, SYS_TIMER_INTERVAL, and SysTimerIrqCount.
Referenced by SYS_TimerInit().
void SYS_TimerInit | ( | void | ) |
References common_tc_delay(), common_tc_init(), MS, NULL, set_common_tc_expiry_callback(), SYS_HwExpiry_Cb(), SYS_TIMER_INTERVAL, and SysTimerIrqCount.
Referenced by SYS_Init().
void SYS_TimerStart | ( | SYS_Timer_t * | timer | ) |
bool SYS_TimerStarted | ( | SYS_Timer_t * | timer | ) |
References SYS_Timer_t::next.
Referenced by SYS_TimerStart().
void SYS_TimerStop | ( | SYS_Timer_t * | timer | ) |
References SYS_Timer_t::next, NULL, and SYS_Timer_t::timeout.
Referenced by APP_TaskHandler(), appCmdHandle(), and appCmdIdentifyDurationTimerHandler().
void SYS_TimerTaskHandler | ( | void | ) |
References cpu_irq_restore(), cpu_irq_save(), SYS_Timer_t::handler, SYS_Timer_t::mode, SYS_Timer_t::next, placeTimer(), SYS_TIMER_INTERVAL, SYS_TIMER_PERIODIC_MODE, SysTimerIrqCount, SYS_Timer_t::timeout, and timers.
Referenced by SYS_TaskHandler().