2017-09-18 17:45:46 +08:00
|
|
|
/*
|
2021-03-29 07:20:47 +08:00
|
|
|
* Copyright (c) 2006-2021, RT-Thread Development Team
|
2017-09-18 17:45:46 +08:00
|
|
|
*
|
2021-03-29 07:20:47 +08:00
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
2017-09-18 17:45:46 +08:00
|
|
|
*
|
|
|
|
* Change Logs:
|
|
|
|
* Date Author Notes
|
|
|
|
* 2017-09-14 Haley the first version
|
|
|
|
*/
|
2017-12-04 18:52:02 +08:00
|
|
|
|
|
|
|
#ifndef __LED_H
|
|
|
|
#define __LED_H
|
2017-09-18 17:45:46 +08:00
|
|
|
|
|
|
|
#include <rtthread.h>
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief External function definitions
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
void rt_hw_led_init(void);
|
|
|
|
void rt_hw_led_on(rt_uint8_t LEDNum);
|
|
|
|
void rt_hw_led_off(rt_uint8_t LEDNum);
|
|
|
|
|
2017-12-04 18:52:02 +08:00
|
|
|
#endif // __LED_H
|