generated from Embedded_Projects/AliOS_DevKit_Template
39 lines
528 B
C
39 lines
528 B
C
#ifndef PIN_MUX_H
|
|
#define PIN_MUX_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#ifndef LED1_GPIO_Port
|
|
#define LED1_GPIO_Port GPIOB
|
|
#endif
|
|
|
|
#ifndef LED1_Pin
|
|
#define LED1_Pin GPIO_PIN_6
|
|
#endif
|
|
|
|
#ifndef LED2_GPIO_Port
|
|
#define LED2_GPIO_Port GPIOE
|
|
#endif
|
|
|
|
#ifndef LED2_Pin
|
|
#define LED2_Pin GPIO_PIN_3
|
|
#endif
|
|
|
|
#ifndef LED3_GPIO_Port
|
|
#define LED3_GPIO_Port GPIOD
|
|
#endif
|
|
|
|
#ifndef LED3_Pin
|
|
#define LED3_Pin GPIO_PIN_15
|
|
#endif
|
|
|
|
void BOARD_InitBootPins(void);
|
|
void BOARD_InitLEDPins(void);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
#endif // PIN_MUX_H
|