2017-03-09 12:44 PM
What exactly does this mode do? I see it in the API, but I see no explanation of what it does.
2017-03-09 08:25 PM
its for slave mode. it is described in the user manual.
Enable/disable the Address listen mode in slave I2C mode using
HAL_I2C_EnableListen
_IT() HAL_I2C_DisableListen_IT()When address slave I2C match, HAL_I2C_AddrCallback() is executed and
user can add his own code to check the Address Match Code and the
transmission direction request by master (Write/Read).
At Listen mode end HAL_I2C_ListenCpltCallback() is executed and user can
add his own code by customization of function pointer
HAL_I2C_ListenCpltCallback()
2017-03-10 05:23 AM
Why would this even be needed? Doesn't
take care of this?2017-06-02 01:52 PM
For example when you use a range of addresses where the address contains also a command.