AnsweredAssumed Answered

HAL_I2C_MasterTxCpltCallback for second i2c

Question asked by alsaleem.ahmad on Jun 18, 2016
Latest reply on Jun 28, 2016 by Amel N
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.

Outcomes