STMicroelectronics / STM32CubeF4

STM32Cube MCU Full Package for the STM32F4 series - (HAL + LL Drivers, CMSIS Core, CMSIS Device, MW libraries plus a set of Projects running on all boards provided by ST (Nucleo, Evaluation and Discovery Kits))
Other
824 stars 408 forks source link

The enable interrupt in the accelero default driver didn't point to any function #134

Closed psarabiaortiz closed 1 year ago

psarabiaortiz commented 2 years ago

The lsm303agr and lsm303dlhc drivers (Lsm303agrDrv and Lsm303dlhcDrv) were incomplete and didn't have the functions related to enable interrupt. Now they have it and also the BSP_ACCELERO_Init function is updated to set the DRDY interrupt in INT1.

This changes improves the use of the drivers and doesn't affect any previous code.

HBOSTM commented 1 year ago

Hello @psarabiaortiz ,

Thank you for your contribution. We can't use all resources in this application. We reserve resources that can be used with other features. So, if you need that you can enable interrupt in your application.

With Regards