HAL_I2C_EnableListen_IT Enable I2C listening |
Set IRQ + Recall after each completin + |
HAL_I2C_AddrCallback Callback when OwnAddress detected |
Must start RX or TX + + |
HAL_I2C_Slave_Seq_Transmit_IT Transmit buffer to master |
Parameter: + buffer and buffer size + |
HAL_I2C_Slave_Seq_Receive_IT Receive buffer from master |
Parameter: + buffer and buffer size + |
HAL_I2C_SlaveRxCpltCallback Callback when RX end successfully |
Only called when + RXed data == Declared buffer size + |
HAL_I2C_SlaveTxCpltCallback Callback when TX end successfully |
Only called when + TXed data == Declared buffer size + |
HAL_I2C_ErrorCallback Callback when TX or RX fail |
Also called when + TXed/RXed data != Declared buffer size + |
HAL_I2C_ListenCpltCallback Final callback |
Called everytime + Make final calculation here ! + Size can be calculated from hi2c XferSize remaining counter + |