spinal.lib.com

i2c

package i2c

Visibility
  1. Public
  2. All

Type Members

  1. case class I2C() extends Bundle with IMasterSlave with Product with Serializable

    I2C interface definition

  2. class I2CBitCounter extends Area

    Counter of bit write/read.

    Counter of bit write/read. MSB is send first on the I2C bus so the counter goes from dataWdith-1 to 0

  3. class I2CFilterInput extends Area

    Filter the SCL and SDA input signals

  4. case class I2CMasteHALCmd(g: I2CMasterHALGenerics) extends Bundle with Product with Serializable

    Define the command interface

  5. class I2CMasterHAL extends Component

    Definition of the component I2C Master HAL

  6. case class I2CMasterHALConfig(g: I2CMasterHALGenerics) extends Bundle with Product with Serializable

    Runtime configuartion of the I2C master

  7. case class I2CMasterHALGenerics(dataWidth: BitCount = 8 bits, samplingSize: Int = 3, clockDividerSamplingWidth: BitCount = 10 bits, clockDividerSCLWidth: BitCount = 20 bits) extends Product with Serializable

    Global configuration of the I2C Master

    Global configuration of the I2C Master

    dataWidth

    : Width of the data send

    samplingSize

    : Number of sampler to generate a bit

    clockDividerSamplingWidth

    : Width of the clockDivider value

    clockDividerSCLWidth

    : Width of the clockDivider value

  8. case class I2CMasterHALRsp(g: I2CMasterHALGenerics) extends Bundle with Product with Serializable

    Define the response interface

  9. case class I2CMasterHALio(g: I2CMasterHALGenerics) extends Bundle with Product with Serializable

    Define the interface of the I2C Master HAL

  10. class I2CSlaveHAL extends Component

    Definition of the component I2C Slave HAL

  11. case class I2CSlaveHALCmd(g: I2CSlaveHALGenerics) extends Bundle with Product with Serializable

    Define the command interface

  12. case class I2CSlaveHALConfig(g: I2CSlaveHALGenerics) extends Bundle with Product with Serializable

    Run-time configuration for the I2CSlave

  13. case class I2CSlaveHALGenerics(dataWidth: BitCount = 8 bits, samplingSize: Int = 3, clockDividerSamplingWidth: BitCount = 10 bits) extends Product with Serializable

    Generics for the I2C Slave

    Generics for the I2C Slave

    dataWidth

    : Width of the data send/read

    samplingSize

    : deepth smapling

    clockDividerSamplingWidth

    : Width of the clock divider

  14. case class I2CSlaveHALRsp(g: I2CSlaveHALGenerics) extends Bundle with Product with Serializable

    Define the response interface

  15. case class I2CSlaveHALio(g: I2CSlaveHALGenerics) extends Bundle with Product with Serializable

    Interface I2C Slave HAL

  16. class SCLEdgeDetector extends Area

    Detect the rising and falling Edge of the SCL signals

Value Members

  1. object I2CMasterHALCmdMode extends SpinalEnum

    Modes used to manage the master

  2. object I2CMasterHALRspMode extends SpinalEnum

    4 different modes are available for a response ACK : ACK received after writting NACK : NACK recieved after writting DATA : Data read on the bus COLLISION : Collision detected during a write

  3. object I2CSlaveHALCmdMode extends SpinalEnum

    Mode used to manage the slave

  4. object I2CSlaveHALRspMode extends SpinalEnum

    DATA : Send a data to the master NONE : None operation / NACK / Read data from the master ACK : ACK (FREEZE) is done with the response stream.

Ungrouped