Subversion Repositories dashGPS

Rev

Rev 28 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 28 Rev 29
Line 59... Line 59...
59
 
59
 
60
/* Exported functions prototypes ---------------------------------------------*/
60
/* Exported functions prototypes ---------------------------------------------*/
61
void Error_Handler(void);
61
void Error_Handler(void);
62
 
62
 
63
/* USER CODE BEGIN EFP */
63
/* USER CODE BEGIN EFP */
-
 
64
/// reset the second temperature sensor by powering off the I2C bus and restarting
-
 
65
void resetBmp2(void);
64
 
66
 
65
/* USER CODE END EFP */
67
/* USER CODE END EFP */
66
 
68
 
67
/* Private defines -----------------------------------------------------------*/
69
/* Private defines -----------------------------------------------------------*/
68
#define Green_LED_Pin GPIO_PIN_13
70
#define Green_LED_Pin GPIO_PIN_13
Line 75... Line 77...
75
#define SPI_SCK_GPIO_Port GPIOA
77
#define SPI_SCK_GPIO_Port GPIOA
76
#define SPI_NSS1_Pin GPIO_PIN_6
78
#define SPI_NSS1_Pin GPIO_PIN_6
77
#define SPI_NSS1_GPIO_Port GPIOA
79
#define SPI_NSS1_GPIO_Port GPIOA
78
#define SPI_MOSI_Pin GPIO_PIN_7
80
#define SPI_MOSI_Pin GPIO_PIN_7
79
#define SPI_MOSI_GPIO_Port GPIOA
81
#define SPI_MOSI_GPIO_Port GPIOA
-
 
82
#define I2C1_BusPower_Pin GPIO_PIN_3
-
 
83
#define I2C1_BusPower_GPIO_Port GPIOB
80
#define USB_PULLUP_Pin GPIO_PIN_4
84
#define USB_PULLUP_Pin GPIO_PIN_4
81
#define USB_PULLUP_GPIO_Port GPIOB
85
#define USB_PULLUP_GPIO_Port GPIOB
82
#define encoder_push_Pin GPIO_PIN_5
86
#define encoder_push_Pin GPIO_PIN_5
83
#define encoder_push_GPIO_Port GPIOB
87
#define encoder_push_GPIO_Port GPIOB
84
#define encoder_1_Pin GPIO_PIN_6
88
#define encoder_1_Pin GPIO_PIN_6