/** @file DHL_Timer_Config.h @brief DHL_Timer Ç÷§Æû µðÆúÆ® ¼³Á¤ */ #ifndef __DHL_TIMER_CONFIG_H__ #define __DHL_TIMER_CONFIG_H__ #ifdef __cplusplus extern "C" { #endif //---------------------------- // dhl timer id: any unique number // // // maximum number of allowed timer entry in this timer module. // // ÇÊ¿ä ÀÌ»óÀ¸·Î Ŭ °æ¿ì // ÀÌ °ªÀÌ ºÎÁ·Çϸé Ãß°¡·Î DHL_SYS_StartTimer¿¡¼­ ¿¡·¯°¡ ¹ß»ýÇÑ´Ù. // // ¾Æ·¡¿¡ ÁöÁ¤ÇÑ Timer ID ÃÖ´ë °¹¼ö·Î ¸ÂÃçÁÖ¸é ÁÁ´Ù. // #define DHL_TIMER_MAX_ENTRY 6 // // definition of each timer entry id and its description. // // meaning of description: // purpose: what to do in timer proc. // timing: degree of precision of timer, timing point of view. // if it requires very critical (~1 os tick), consider other method. // load: how much work cpu should do in timer proc. // if load is too heavy, do not use this dhl timer. enum { eDHL_TIMER_IR_LED = 7700, // purpose: LED manipulation. // timing: high. 50 ms. (not so important) // load: very small. LED control (1 gpio). eDHL_TIMER_IR_WAKEUP = 7701, // purpose: implement IR repeatition feature. // timing: medium. 200~500 ms. // load: very small. just send message to gpio dpc task. eDHL_TIMER_GPIO_DPC = 7702, // purpose: avoid gpio button glitch noise. // timing: critical. needs 10 millisecond precision. (~2 os tick) // load: very small. just send message to gpio dpc task. #if 0 eDHL_TIMER_FE_SER = 7703, // purpose: periodic signal statistic check. // timing: medium. 100 ms. // load: small. register read, arithmatic calculation. #else eDHL_TIMER_TUNER_BASE = 7800, // purpose: tuner timeout control // timing: medium. 100 ms. // load: very small. just send message to tuner task. eDHL_TIMER_TUNER_END = 7816, #endif eDHL_TIMER_CHM_PSI_BASE = 7820, // purpose: psi rx timeout control // timing: medium. 100 ms. // load: very small. just send message to tuner task. eDHL_TIMER_CHM_PSI_END = 7836, }; #ifdef __cplusplus } /* extern "C" */ #endif #endif /* __DHL_TIMER_CONFIG_H__ */