2023-03-05 09:21 PM
I am looking for an interrupt based replacement for HAL_I2C_IsDeviceReady. I am implementing a EEPROM library for M24256 I2C Serial EEPROM in a FreeRTOS application. The call HAL_I2C_IsDeviceReady relies on polling for many milliseconds to perform this function. Is there a version written to use interrupts?
Solved! Go to Solution.
2023-03-06 01:00 AM
Hello @nonesuchoudon ,
There is only a polling version of HAL_I2C_IsDeviceReady.
This function is used with Memory devices.
(DevAddress Target device address: The device 7 bits address value in datasheet must be shifted to the left before calling the interface).
Foued
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2023-03-06 01:00 AM
Hello @nonesuchoudon ,
There is only a polling version of HAL_I2C_IsDeviceReady.
This function is used with Memory devices.
(DevAddress Target device address: The device 7 bits address value in datasheet must be shifted to the left before calling the interface).
Foued
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.