spinal.lib.com.i2c
I2C Slave IO Layer :
This component manages the low level of the I2C protocol. (START, STOP, Send & Receive bit data)
| |<------- I2C ------->| | | Master | | Slave | || RSP Stream --->||---> CMD Flow
Write sequence :
RSP : DATA DATA DATA DATA DATA Master : | START | DATA | | DATA | DATA | STOP | Slave : | | | DATA | | | | CMD : START DATA DATA DATA DATA STOP
Restart sequence :
RSP : DATA DATA DATA DATA DATA Master : | START | | DATA | START | DATA | STOP | Slave : | | DATA | | | | | CMD : START DATA DATA START DATA STOP
Slave controller
Detect the start/restart and the stop sequences
Filter SDA and SCL input
Interface of the I2C Hal slave
Detect the rising and falling edge of the scl signal
I2C Slave IO Layer :
This component manages the low level of the I2C protocol. (START, STOP, Send & Receive bit data)
| |<------- I2C ------->| | | Master | | Slave | || RSP Stream --->||---> CMD Flow
Write sequence :
RSP : DATA DATA DATA DATA DATA Master : | START | DATA | | DATA | DATA | STOP | Slave : | | | DATA | | | | CMD : START DATA DATA DATA DATA STOP
Restart sequence :
RSP : DATA DATA DATA DATA DATA Master : | START | | DATA | START | DATA | STOP | Slave : | | DATA | | | | | CMD : START DATA DATA START DATA STOP