cancel
Showing results for 
Search instead for 
Did you mean: 

Aborting an HAL_I2C_Mem_Read_IT or HAL_I2C_Mem_Write_IT

WFunk.1
Associate

Hello, I am looking at how to abort the MemX_IT functions. Looking through HAL_I2C_Master_Abort_IT, it seems like that only works for the Master API functions and not the mem functions. Are there any HAL functions for Mem Abort?

3 REPLIES 3
Billy OWEN
ST Employee

Hi @WFunk.1 

 

The forum moderator had marked your post as needing a little more investigation and direct support. An online support case has been created on your behalf, please stand by for just a moment and you will hear from us.

 

Regards,

Billy

I have the same issue:  On an STM32F2 I need a way to abort HAL_I2C_Mem_Read_IT or HAL_I2C_Mem_Write_IT.  Is there a solution?

@eric239955_stm1_stmicro can you post a new question, please? You have a different STM32 MCU. Please provide more details - why do you want to abort HAL_I2C_Mem_Read_IT? Does the slave I2C device fail, or the host controller fails? or just the transfer is too long?