Initial import
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
/******************************************************************************
|
||||
* @file led_manager.h
|
||||
* @brief CBC4 红绿 LED 通道与事件表
|
||||
* @author cyWu <1917507415@qq.com>
|
||||
* @date 2026.08.25
|
||||
* @version V1.0.0
|
||||
* @history
|
||||
* - V1.0.0, 2026.08.25, cyWu, 首次发布,实现红绿独立通道灯事件表
|
||||
******************************************************************************/
|
||||
|
||||
#ifndef __LED_MANAGER_H__
|
||||
#define __LED_MANAGER_H__
|
||||
|
||||
#include "led.h"
|
||||
|
||||
typedef enum {
|
||||
LED_CH_RED = 0,
|
||||
LED_CH_GREEN,
|
||||
LED_CH_MAX
|
||||
} LedChannel_t;
|
||||
|
||||
/**
|
||||
* @brief 注册 GPIO 回调并装载 CBC4 事件表
|
||||
* @return 无
|
||||
*/
|
||||
void user_led_init(void);
|
||||
|
||||
/**
|
||||
* @brief 跑一轮 LED 事件
|
||||
* @return 无
|
||||
*/
|
||||
void user_led_handle(void);
|
||||
|
||||
#endif /* __LED_MANAGER_H__ */
|
||||
Reference in New Issue
Block a user