led_cfg_demo.h 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. /*================================================================
  2. Copyright (c) 2021, Quectel Wireless Solutions Co., Ltd. All rights reserved.
  3. Quectel Wireless Solutions Proprietary and Confidential.
  4. =================================================================*/
  5. /*=================================================================
  6. EDIT HISTORY FOR MODULE
  7. This section contains comments describing changes made to the module.
  8. Notice that changes are listed in reverse chronological order.
  9. WHEN WHO WHAT, WHERE, WHY
  10. ------------ ------- -------------------------------------------------------------------------------
  11. =================================================================*/
  12. #ifndef _LEDCFGDEMO_H
  13. #define _LEDCFGDEMO_H
  14. #include "ql_pwm.h"
  15. #include "ql_led.h"
  16. #ifdef __cplusplus
  17. extern "C" {
  18. #endif
  19. /*===========================================================================
  20. * Macro Definition
  21. ===========================================================================*/
  22. //for LPG
  23. #define QL_LED_TWINKLE_SLOW1_PERIOD 2000
  24. #define QL_LED_TWINKLE_SLOW1_ONTIME 200
  25. #define QL_LED_TWINKLE_SLOW2_PERIOD 2000
  26. #define QL_LED_TWINKLE_SLOW2_ONTIME 1800
  27. #define QL_LED_TWINKLE_FAST_PERIOD 250
  28. #define QL_LED_TWINKLE_FAST_ONTIME 125
  29. #define QL_LED_TWINKLE_ON_PERIOD 125
  30. #define QL_LED_TWINKLE_ON_ONTIME 200
  31. #define QL_LED_TWINKLE_OFF_PERIOD 2000
  32. #define QL_LED_TWINKLE_OFF_ONTIME 0
  33. /*===========================================================================
  34. * Enum
  35. ===========================================================================*/
  36. /*===========================================================================
  37. * Functions declaration
  38. ===========================================================================*/
  39. void ql_ledcfg_app_init(void);
  40. #ifdef __cplusplus
  41. } /*"C" */
  42. #endif
  43. #endif /* _LEDCFGDEMO_H */