guanjiao
2018-05-14 a760912c22c9d85892313ae994ca9634dbe5f85d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
 
#ifndef __LED_H__
#define __LED_H__
 
#include "stm32f10x.h"
 
#define LED0_PIN                    GPIO_Pin_8
#define LED0_GPIO                    GPIOA
#define LED_BLINK(...)                GPIO_Toggle(...)
#define LED0_BLINK                    LED_BLINK(LED0_GPIO, LED0_PIN)
 
 
void Led_Init(void);
 
#endif