#pragma once

/* Includes ----------------------------------------------------------------- */
#include <stdint.h>

#include "bsp/led.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_RED,
    BSP_LED_GREEN,
    BSP_LED_BLUE,
} BSP_LED_Channel_t;

/* Exported functions prototypes -------------------------------------------- */

int8_t BSP_LED_Set(BSP_LED_Channel_t ch, BSP_LED_Status_t s, float duty_cycle);