Question
HAL_I2C_MasterTxCpltCallback for second i2c
Posted on June 18, 2016 at 00:00
I am using both I2Cs in my board. Also, using DMA for non-blocking.
HAL_I2C_Master_Transmit_DMA generates interrupt for completion (also for reception and error.HAL only allows for one ''weak'' callback for both.Is there away to name my callback functions (complete/error ...) for each I2C in order to separate logic for each I2C? Thanks. #stm32f4xx-i2c-hal_callbacks