19 lines
326 B
C
19 lines
326 B
C
#ifndef __BSP_LED_H
|
|
#define __BSP_LED_H
|
|
|
|
#include <stdint.h>
|
|
|
|
#define BSP_LED_COUNT 8
|
|
|
|
enum {
|
|
bsp_led_command_none = 0,
|
|
bsp_led_command_on = 1,
|
|
bsp_led_command_off = 2,
|
|
bsp_led_command_toggle = 3,
|
|
};
|
|
|
|
void bsp_led_set_output(const uint8_t *command);
|
|
void bsp_led_get_status(uint8_t *status);
|
|
|
|
#endif
|