Skip to main content
WFunk.1
Visitor II
October 24, 2023
Question

Aborting an HAL_I2C_Mem_Read_IT or HAL_I2C_Mem_Write_IT

  • October 24, 2023
  • 2 replies
  • 1346 views

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?

2 replies

Billy OWEN
ST Employee
October 27, 2023

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

eric239955_stm1_stmicro
Associate II
July 5, 2025

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?

Pavel A.
Super User
July 6, 2025

@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?