feat:新建项目文件

BLV主机C1P模块
This commit is contained in:
caocong
2025-12-06 13:49:01 +08:00
commit d2d8800788
118 changed files with 47572 additions and 0 deletions

20
MCU_Driver/inc/led.h Normal file
View File

@@ -0,0 +1,20 @@
/*
* led.h
*
* Created on: May 15, 2025
* Author: cc
*/
#ifndef MCU_DRIVER_INC_LED_H_
#define MCU_DRIVER_INC_LED_H_
#include "ch564.h"
#define SYS_LED_ON GPIOB_ResetBits(GPIO_Pin_12)
#define SYS_LED_OFF GPIOA_SetBits(GPIO_Pin_12)
#define SYS_LED_FLIP GPIOA_InverseBits(GPIO_Pin_12)
void SYS_LED_Init(void);
void SYS_LED_Task(void);
#endif /* MCU_DRIVER_INC_LED_H_ */