1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- #ifndef BOARD_HALLEY2_IDELAN_H__
- #define BOARD_HALLEY2_IDELAN_H__
- #define AUDIO_SHUTDOWN_PORT GPIO_PORT_B
- #define AUDIO_SHUTDOWN_PIN GPIO_Pin_7
- #define AUDIO_SHUTDOWN_MUTE 1
- /*
- * IO LCD
- */
- #define LCD_PWEN_PORT GPIO_PORT_B
- #define LCD_PWEN_PIN GPIO_Pin_19 //原理图不对,实际连接到LCD_TE
- #define LCD_RST_PORT GPIO_PORT_B
- #define LCD_RST_PIN GPIO_Pin_14
- #define LCD_BL_PORT GPIO_PORT_B
- #define LCD_BL_PIN GPIO_Pin_9
- /*
- * IO Touch
- */
- #define TP_INT_PORT GPIO_PORT_B
- #define TP_INT_PIN GPIO_Pin_11
- #define TP_RST_PORT GPIO_PORT_B
- #define TP_RST_PIN GPIO_Pin_12
- #define TP_PWEN_PORT GPIO_PORT_B
- #define TP_PWEN_PIN GPIO_Pin_15
- /*
- * IO KeyBoard:
- */
- #define KEY_WIFI_PORT GPIO_PORT_A
- #define KEY_WIFI_PIN GPIO_Pin_20
- #define KEY_BT_PORT GPIO_PORT_A
- #define KEY_BT_PIN GPIO_Pin_21
- #define KEY_VOLD_PORT GPIO_PORT_A
- #define KEY_VOLD_PIN GPIO_Pin_22
- #define KEY_VOLU_PORT GPIO_PORT_B
- #define KEY_VOLU_PIN GPIO_Pin_28
- #define KEY_WKUP_PORT GPIO_PORT_B
- #define KEY_WKUP_PIN GPIO_Pin_31
- /*
- * IO Camera
- */
- #define CIM_PWDN_PORT GPIO_PORT_A
- #define CIM_PWDN_PIN GPIO_Pin_25
- #define CIM_RST_PORT GPIO_PORT_A
- #define CIM_RST_PIN GPIO_Pin_24
- #define CIM_PWEN_PORT GPIO_PORT_A
- #define CIM_PWEN_PIN GPIO_Pin_23
- /*
- * IO LED Config
- */
- #define LED_BT_PORT GPIO_PORT_B
- #define LED_BT_PIN GPIO_Pin_6
- #define LED_WIFI_PORT GPIO_PORT_B
- #define LED_WIFI_PIN GPIO_Pin_24
- #define LED_ZB_PORT GPIO_PORT_C
- #define LED_ZB_PIN GPIO_Pin_27
- /*
- * Others
- */
- #define IO_IRQ_FG_PORT GPIO_PORT_B
- #define IO_IRQ_FG_PIN GPIO_Pin_13
- #endif
|