You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
460 B
25 lines
460 B
5 months ago
|
/*
|
||
|
* Copyright (c) 2006-2021, RT-Thread Development Team
|
||
|
*
|
||
|
* SPDX-License-Identifier: Apache-2.0
|
||
|
*
|
||
|
* Change Logs:
|
||
|
* Date Author Notes
|
||
|
* 2009-12-27 rdghx mini2440
|
||
|
*/
|
||
|
|
||
|
#ifndef __LED_H__
|
||
|
#define __LED_H__
|
||
|
|
||
|
#define LED1 0x01
|
||
|
#define LED2 0x02
|
||
|
#define LED3 0x04
|
||
|
#define LED4 0x08
|
||
|
#define LED_ALL 0x0f
|
||
|
|
||
|
void rt_hw_led_init(void);
|
||
|
void rt_hw_led_on(unsigned char value);
|
||
|
void rt_hw_led_off(unsigned char value);
|
||
|
|
||
|
#endif
|