summaryrefslogtreecommitdiff
path: root/bsp/frdm-k64f/board/led.h
blob: f1c62666d6d232e72b1f660aa72634fd40b6738f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
 * Copyright (c) 2006-2018, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * 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__ */