rt-thread-official/bsp/frdm-k64f/board/led.h

30 lines
454 B
C
Raw Normal View History

2014-06-29 00:34:20 +08:00
/*
* Copyright (c) 2006-2018, RT-Thread Development Team
2014-06-29 00:34:20 +08:00
*
* SPDX-License-Identifier: Apache-2.0
2014-06-29 00:34:20 +08:00
*
* Change Logs:
* Date Author Notes
*
*/
#ifndef __LED_H__
#define __LED_H__
#include <rtthread.h>
enum LED_NUM
{
LED_BLUE,
LED_RED,
LED_GREEN,
LED_MAX
};
void rt_hw_led_init(void);
void rt_hw_led_uninit(void);
void rt_hw_led_on(rt_uint32_t n);
void rt_hw_led_off(rt_uint32_t n);
#endif /* end of __LED_H__ */