display pins
This commit is contained in:
@ -63,6 +63,8 @@ void Error_Handler(void);
|
||||
#define frontendAdc hadc1
|
||||
#define eepromSpi hspi2
|
||||
#define etherSpi hspi1
|
||||
#define displaySpi hspi3
|
||||
#define debugUartIRQn UART4_IRQn
|
||||
#define Loop_Enable_Pin GPIO_PIN_2
|
||||
#define Loop_Enable_GPIO_Port GPIOE
|
||||
#define Loop_Disable_Pin GPIO_PIN_3
|
||||
@ -110,6 +112,18 @@ void Error_Handler(void);
|
||||
#define Frontend_Out_GPIO_Port GPIOD
|
||||
#define MBus_RX_Pin GPIO_PIN_2
|
||||
#define MBus_RX_GPIO_Port GPIOD
|
||||
#define Display_CS_Pin GPIO_PIN_7
|
||||
#define Display_CS_GPIO_Port GPIOD
|
||||
#define Display_SCLK_Pin GPIO_PIN_3
|
||||
#define Display_SCLK_GPIO_Port GPIOB
|
||||
#define Display_MISO_Pin GPIO_PIN_4
|
||||
#define Display_MISO_GPIO_Port GPIOB
|
||||
#define Display_MOSI_Pin GPIO_PIN_5
|
||||
#define Display_MOSI_GPIO_Port GPIOB
|
||||
#define Display_DC_Pin GPIO_PIN_6
|
||||
#define Display_DC_GPIO_Port GPIOB
|
||||
#define Display_RES_Pin GPIO_PIN_7
|
||||
#define Display_RES_GPIO_Port GPIOB
|
||||
/* USER CODE BEGIN Private defines */
|
||||
|
||||
/* USER CODE END Private defines */
|
||||
|
Reference in New Issue
Block a user