rt-thread-official/bsp/ls1cdev/drivers/led.h

28 lines
342 B
C
Raw Normal View History

// led<65>ӿ<EFBFBD>
// ʹ<>õ͵<C3B5>ƽ<EFBFBD><C6BD><EFBFBD><EFBFBD>led<65><64><EFBFBD>ߵ<EFBFBD>ƽϨ<C6BD><CFA8>led
#ifndef __OPENLOONGSON_LED_H
#define __OPENLOONGSON_LED_H
// <20><>ʼ<EFBFBD><CABC>led
// @led_gpio led<65><64><EFBFBD><EFBFBD>gpio<69><6F><EFBFBD><EFBFBD>
void led_init(unsigned int led_gpio);
// <20><><EFBFBD><EFBFBD>led
// @led_gpio led<65><64><EFBFBD><EFBFBD>gpio<69><6F><EFBFBD><EFBFBD>
void led_on(unsigned int led_gpio);
// Ϩ<><CFA8>led
// @led_gpio
void led_off(unsigned int led_gpio);
#endif