RMUL2025/User/bsp/power.h
2025-03-11 21:32:41 +08:00

29 lines
705 B
C

#pragma once
#ifdef __cplusplus
extern "C" {
#endif
/* Includes ----------------------------------------------------------------- */
#include <stdbool.h>
#include <stdint.h>
/* Exported constants ------------------------------------------------------- */
/* Exported macro ----------------------------------------------------------- */
/* Exported types ----------------------------------------------------------- */
/* 电源输出接口 */
typedef enum {
POWER_PORT1,
POWER_PORT2,
POWER_PORT3,
POWER_PORT4,
} BSP_Power_Port_t;
/* Exported functions prototypes -------------------------------------------- */
int8_t BSP_Power_Set(BSP_Power_Port_t port, bool s);
#ifdef __cplusplus
}
#endif