123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110 |
- #ifndef HAL_DRIVER_H
- #define HAL_DRIVER_H
- #ifdef __cplusplus
- extern "C"
- {
- #endif
- #define HAL_KEY_EVENT 0x0001
- #define HAL_LED_BLINK_EVENT 0x0002
- #define HAL_SLEEP_TIMER_EVENT 0x0004
- #define PERIOD_RSSI_RESET_EVT 0x0008
- #define PERIOD_RSSI_RESET_TIMEOUT 10
- extern uint8 Hal_TaskID;
- extern void Hal_Init ( uint8 task_id );
- extern uint16 Hal_ProcessEvent ( uint8 task_id, uint16 events );
- extern void Hal_ProcessPoll (void);
- extern void HalDriverInit (void);
- #ifdef __cplusplus
- }
- #endif
- #endif
|