SmartCar-V1/Code/bsp/inc/bsp_led.h

31 lines
790 B
C

/*
*********************************************************************************************************
*
* 模块名称 : LED指示灯驱动模块
* 文件名称 : bsp_led.h
* 版 本 : V1.0
* 说 明 : 头文件
*
* Copyright (C), 2013-2014, 安富莱电子 www.armfly.com
*
*********************************************************************************************************
*/
#ifndef __BSP_LED_H
#define __BSP_LED_H
#define LED1 (1u)
#define LED2 (2u)
/* 供外部调用的函数声明 */
void bsp_InitLed(void);
void bsp_LedOn(uint8_t _no);
void bsp_LedOff(uint8_t _no);
void bsp_LedToggle(uint8_t _no);
uint8_t bsp_IsLedOn(uint8_t _no);
#endif
/***************************** 安富莱电子 www.armfly.com (END OF FILE) *********************************/