spinal.lib.com.i2c

I2CMasterHAL

Related Doc: package i2c

class I2CMasterHAL extends Component

Definition of the component I2C Master HAL

Linear Supertypes
Component, Stackable, DelayedInit, ScalaLocated, NameableByComponent, GlobalDataUser, Nameable, OwnableRef, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. I2CMasterHAL
  2. Component
  3. Stackable
  4. DelayedInit
  5. ScalaLocated
  6. NameableByComponent
  7. GlobalDataUser
  8. Nameable
  9. OwnableRef
  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 getName(default: String): String

    Definition Classes
    Nameable
  22. def getOrdredNodeIo: List[BaseType]

    Definition Classes
    Component
  23. def getParentsPath(sep: String): String

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

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

    Definition Classes
    OwnableRef
  26. def getScalaLocationLong: String

    Definition Classes
    ScalaLocated
  27. def getScalaLocationShort: String

    Definition Classes
    ScalaLocated
  28. val globalData: GlobalData

    Definition Classes
    GlobalDataUser
  29. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  30. val io: I2CMasterHALio

  31. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  32. def isNamed: Boolean

    Definition Classes
    Nameable
  33. def isUnnamed: Boolean

    Definition Classes
    Nameable
  34. def nameElements(): Unit

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

    Definition Classes
    AnyRef
  36. def noIoPrefix(): I2CMasterHAL.this.type

    Definition Classes
    Component
  37. var nodes: ArrayBuffer[Node]

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

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

    Definition Classes
    AnyRef
  40. val parent: Component

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

    Definition Classes
    Component
  42. def postPopEvent(): Unit

    Definition Classes
    Stackable
  43. def postPushEvent(): Unit

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

    Definition Classes
    Component → Stackable
  45. 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

  46. var refOwner: RefOwnerType

    Definition Classes
    OwnableRef
  47. 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

  48. val scl_en: Bool

  49. val scl_freeze: Bool

  50. def setCompositeName(nameable: Nameable, weak: Boolean): I2CMasterHAL.this.type

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

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

    Definition Classes
    Nameable
  53. def setPartialName(name: String, weak: Boolean): I2CMasterHAL.this.type

    Definition Classes
    Nameable
  54. def setPartialName(owner: Nameable, name: String, weak: Boolean): I2CMasterHAL.this.type

    Definition Classes
    Nameable
  55. def setPartialName(name: String): I2CMasterHAL.this.type

    Definition Classes
    Nameable
  56. def setPartialName(owner: Nameable, name: String): I2CMasterHAL.this.type

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

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

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

    Main state machine of the Master HAL

  60. 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.

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

    Definition Classes
    AnyRef
  62. def toString(): String

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

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  67. 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 Stackable

Inherited from DelayedInit

Inherited from ScalaLocated

Inherited from NameableByComponent

Inherited from GlobalDataUser

Inherited from Nameable

Inherited from OwnableRef

Inherited from AnyRef

Inherited from Any

Ungrouped