喷淋器 P0 功能实现

This commit is contained in:
2026-09-09 15:03:50 +08:00
parent b880b2e62b
commit 866b522c59
30 changed files with 3773 additions and 25 deletions
+32
View File
@@ -0,0 +1,32 @@
/******************************************************************************
* @file led_manager.h
* @brief CBR2 红绿 LED 通道与事件表(绿=作业 / 红=配对 / OTA、失败占双灯)
* @author cyWu <1917507415@qq.com>
* @date 2026.09.09
* @version V1.0.0P0 Bring-up
******************************************************************************/
#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 回调并装载 CBR2 事件表(GPIO 已在 bsp_hw_init 配置)
* @return 无
*/
void user_led_init(void);
/**
* @brief 跑一轮 LED 事件
* @return 无
*/
void user_led_handle(void);
#endif /* __LED_MANAGER_H__ */