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. case class I2CMasteHALCmd(g: I2CMasterHALGenerics) extends Bundle with Product with Serializable

    Define the command interface

  3. class I2CMasterHAL extends Component

    Definition of the component I2C Master HAL

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

    Used to config the I2C master HAL at runtime

  5. case class I2CMasterHALGenerics(dataWidth: Int = 8, clockDividerWidth: Int = 20, multiMaster_en: Boolean = true) extends Product with Serializable

    Global configuration of the I2C Master

    Global configuration of the I2C Master

    dataWidth

    : Width of the data send

    clockDividerWidth

    : Width of the clockDivider value

    multiMaster_en

    : Multi-Master or Single-Master

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

    Define the response interface

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

    Define the interface of the I2C Master HAL

Value Members

  1. object I2C extends Serializable

    Define I2C constants

  2. object I2CMasterHALCmdMode extends SpinalEnum

    4 different modes can be used to manage the I2C START : Send the start/restart sequence WRITE : Send a data READ : Read a data STOP : Send the stop sequence

Ungrouped