spinal.lib.com.i2c

I2CMasterHAL

Related Doc: package i2c

class I2CMasterHAL extends Component

Definition of the component I2C Master HAL

Linear Supertypes
Component, OwnableRef, Stackable, DelayedInit, ScalaLocated, NameableByComponent, GlobalDataUser, Nameable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. I2CMasterHAL
  2. Component
  3. OwnableRef
  4. Stackable
  5. DelayedInit
  6. ScalaLocated
  7. NameableByComponent
  8. GlobalDataUser
  9. Nameable
  10. AnyRef
  11. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new I2CMasterHAL(g: I2CMasterHALGenerics)

Type Members

  1. type RefOwnerType = Component

    Definition Classes
    Component → OwnableRef

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. def addPrePopTask(task: () ⇒ Unit): ArrayBuffer[() ⇒ Unit]

    Definition Classes
    Component
  5. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  6. val children: ArrayBuffer[Component]

    Definition Classes
    Component
  7. val clockDomain: ClockDomain

    Definition Classes
    Component
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. val counterBit: Area { ... /* 3 definitions in type refinement */ }

    Counter of bit write/read.

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

  10. var definitionName: String

    Definition Classes
    Component
  11. def delayedInit(body: ⇒ Unit): Unit

    Definition Classes
    Component → DelayedInit
  12. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def forEachNameables(doThat: (Any) ⇒ Unit): Unit

    Definition Classes
    Nameable
  16. def getAllIo: Set[BaseType]

    Definition Classes
    Component
  17. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  18. def getDisplayName(): String

    Definition Classes
    Component → Nameable
  19. def getGroupedIO(ioBundleBypass: Boolean): Seq[Data]

    Definition Classes
    Component
  20. def getName(): String

    Definition Classes
    NameableByComponent → Nameable
  21. def getParentsPath(sep: String): String

    Definition Classes
    Component
  22. def getPath(sep: String): String

    Definition Classes
    Component
  23. def getRefOwnersChain(): List[Any]

    Definition Classes
    OwnableRef
  24. def getScalaLocationLong: String

    Definition Classes
    ScalaLocated
  25. def getScalaLocationShort: String

    Definition Classes
    ScalaLocated
  26. val globalData: GlobalData

    Definition Classes
    GlobalDataUser
  27. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  28. val io: I2CMasterHALio

  29. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  30. def isNamed: Boolean

    Definition Classes
    Nameable
  31. def isUnnamed: Boolean

    Definition Classes
    Nameable
  32. def nameChangeEvent(weak: Boolean): Unit

    Attributes
    protected
    Definition Classes
    Nameable
  33. def nameElements(): Unit

    Definition Classes
    Component
  34. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  35. var nodes: ArrayBuffer[Node]

    Definition Classes
    Component
  36. final def notify(): Unit

    Definition Classes
    AnyRef
  37. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  38. val parent: Component

    Definition Classes
    Component
  39. def parents(of: Component, list: List[Component]): List[Component]

    Definition Classes
    Component
  40. def postPopEvent(): Unit

    Definition Classes
    Stackable
  41. def postPushEvent(): Unit

    Definition Classes
    Component → Stackable
  42. def prePopEvent(): Unit

    Definition Classes
    Component → Stackable
  43. def readSM(sda: Bool, dataReceived: Bits): StateMachine { val sREAD: spinal.lib.fsm.State }

    Read a data on the I2C bus

    Read a data on the I2C bus

    sda

    : The read signal of the sda

    dataReceived

    : Register that will contains the data receveid

  44. var refOwner: RefOwnerType

    Definition Classes
    OwnableRef
  45. val sclGenerator: Area { ... /* 5 definitions in type refinement */ }

    Generate and manage the scl clock, signals to indicate the rising and falling edge of SCL as well as a signal to indicate when to execute a start/stop/restart operation

  46. val scl_en: Bool

  47. val scl_freeze: Bool

  48. def setCompositeName(nameable: Nameable): Unit

    Definition Classes
    Nameable
  49. def setDefinitionName(name: String): I2CMasterHAL.this.type

    Definition Classes
    Component
  50. def setName(name: String, weak: Boolean): I2CMasterHAL.this.type

    Definition Classes
    Nameable
  51. def setName(nameable: Nameable): Unit

    Definition Classes
    Nameable
  52. def setRefOwner(that: Any): Unit

    Definition Classes
    OwnableRef
  53. def setWeakName(name: String): Nameable

    Definition Classes
    Nameable
  54. val smMaster: StateMachine { ... /* 17 definitions in type refinement */ }

    Main state machine of the Master HAL

  55. val smSynchSCL: StateMachine { ... /* 3 definitions in type refinement */ }

    State machine which synchronize all SCL signals of the different master in the case when several master drive the SCL.

  56. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  57. def toString(): String

    Definition Classes
    Nameable → AnyRef → Any
  58. val userCache: Map[AnyRef, Map[AnyRef, AnyRef]]

    Definition Classes
    Component
  59. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  60. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  61. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  62. def writeSM(wr_sda: Bool, data2Send: Bits, rd_sda: Bool = null): StateMachine { ... /* 2 definitions in type refinement */ }

    Write a data on the I2C

    Write a data on the I2C

    wr_sda

    : The write signal of the sda

    data2Send

    : Data that will be sent on the I2C

    rd_sda

    : If not null, the data write will be read to check if collision exist on the bus (multi master)

Inherited from Component

Inherited from OwnableRef

Inherited from Stackable

Inherited from DelayedInit

Inherited from ScalaLocated

Inherited from NameableByComponent

Inherited from GlobalDataUser

Inherited from Nameable

Inherited from AnyRef

Inherited from Any

Ungrouped