Both sensors now run over interrupts in pulse mode. This still needs
tweaking as its buggy but works for now on full speed for both sensors.
This commit is contained in:
@@ -89,8 +89,10 @@ void Error_Handler(void);
|
||||
#define GPIO_SPI2_SD_CS_GPIO_Port GPIOC
|
||||
#define GPIO_IMU_INT_Pin GPIO_PIN_10
|
||||
#define GPIO_IMU_INT_GPIO_Port GPIOA
|
||||
#define GPIO_IMU_INT_EXTI_IRQn EXTI15_10_IRQn
|
||||
#define GPIO_MAGN_INT_Pin GPIO_PIN_11
|
||||
#define GPIO_MAGN_INT_GPIO_Port GPIOC
|
||||
#define GPIO_MAGN_INT_EXTI_IRQn EXTI15_10_IRQn
|
||||
#define GPIO_SD_LDO_EN_Pin GPIO_PIN_12
|
||||
#define GPIO_SD_LDO_EN_GPIO_Port GPIOC
|
||||
|
||||
|
||||
Reference in New Issue
Block a user