Sun_sensor: add testing firmware for Sun sensor module
This commit is contained in:
@ -60,6 +60,30 @@ void Error_Handler(void);
|
||||
/* Private defines -----------------------------------------------------------*/
|
||||
#define RCC_HSE_Pin GPIO_PIN_0
|
||||
#define RCC_HSE_GPIO_Port GPIOA
|
||||
#define FR_RDY__1_Pin GPIO_PIN_1
|
||||
#define FR_RDY__1_GPIO_Port GPIOA
|
||||
#define CS__1_Pin GPIO_PIN_4
|
||||
#define CS__1_GPIO_Port GPIOA
|
||||
#define FRAM_CS_Pin GPIO_PIN_1
|
||||
#define FRAM_CS_GPIO_Port GPIOB
|
||||
#define FR_RDY__2_Pin GPIO_PIN_9
|
||||
#define FR_RDY__2_GPIO_Port GPIOA
|
||||
#define CS__2_Pin GPIO_PIN_10
|
||||
#define CS__2_GPIO_Port GPIOA
|
||||
#define CAN_RS_Pin GPIO_PIN_15
|
||||
#define CAN_RS_GPIO_Port GPIOA
|
||||
#define LED2_Pin GPIO_PIN_3
|
||||
#define LED2_GPIO_Port GPIOB
|
||||
#define LED1_Pin GPIO_PIN_4
|
||||
#define LED1_GPIO_Port GPIOB
|
||||
#define CS__3_Pin GPIO_PIN_5
|
||||
#define CS__3_GPIO_Port GPIOB
|
||||
#define FR_RDY__3_Pin GPIO_PIN_6
|
||||
#define FR_RDY__3_GPIO_Port GPIOB
|
||||
#define CS__4_Pin GPIO_PIN_7
|
||||
#define CS__4_GPIO_Port GPIOB
|
||||
#define FR_RDY__4_Pin GPIO_PIN_3
|
||||
#define FR_RDY__4_GPIO_Port GPIOH
|
||||
/* USER CODE BEGIN Private defines */
|
||||
|
||||
/* USER CODE END Private defines */
|
||||
|
Reference in New Issue
Block a user