mirror of
https://github.com/goldenfishs/MRobot.git
synced 2025-04-29 07:40:55 +08:00
29 lines
722 B
C
29 lines
722 B
C
#pragma once
|
||
|
||
/* Includes ----------------------------------------------------------------- */
|
||
#include <stdint.h>
|
||
|
||
/* Exported constants ------------------------------------------------------- */
|
||
/* Exported macro ----------------------------------------------------------- */
|
||
/* Exported types ----------------------------------------------------------- */
|
||
|
||
/* LED灯状态,设置用 */
|
||
typedef enum
|
||
{
|
||
BSP_LED_ON,
|
||
BSP_LED_OFF,
|
||
BSP_LED_TAGGLE,
|
||
} BSP_LED_Status_t;
|
||
|
||
/* LED通道 */
|
||
typedef enum
|
||
{
|
||
BSP_LED_1,
|
||
BSP_LED_2,
|
||
BSP_LED_3,
|
||
} BSP_LED_Channel_t;
|
||
|
||
/* Exported functions prototypes -------------------------------------------- */
|
||
|
||
int8_t BSP_LED_Set(BSP_LED_Channel_t ch, BSP_LED_Status_t s);
|