25 lines
654 B
C
25 lines
654 B
C
|
|
/*
|
|||
|
|
*********************************************************************************************************
|
|||
|
|
* IAR Development Kits
|
|||
|
|
* on the
|
|||
|
|
*
|
|||
|
|
* M451
|
|||
|
|
*
|
|||
|
|
* Filename : gpio_led.h
|
|||
|
|
* Version : V1.00
|
|||
|
|
* Programmer(s) : Qian Xianghong
|
|||
|
|
*********************************************************************************************************
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
#ifndef USER_GPIO_LED_PRESENT
|
|||
|
|
#define USER_GPIO_LED_PRESENT
|
|||
|
|
|
|||
|
|
#define LED_ON() PE7 = 1
|
|||
|
|
#define LED_OFF() PE7 = 0
|
|||
|
|
#define LED_TOGGLE() PE7 = !PE7
|
|||
|
|
|
|||
|
|
// <20><>ʼ<EFBFBD><CABC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
|
void Led_Init();
|
|||
|
|
|
|||
|
|
#endif
|