spinal.lib.com.i2c

I2cIoSlave

Related Doc: package i2c

class I2cIoSlave extends Component

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

Linear Supertypes
Component, Stackable, DelayedInit, ScalaLocated, NameableByComponent, GlobalDataUser, Nameable, OwnableRef, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. I2cIoSlave
  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 I2cIoSlave(g: I2cIoSlaveGenerics)

Type Members

  1. case class PrePopTask extends Product with Serializable

    Definition Classes
    Component
  2. 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[PrePopTask]

    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 ctrl: Area { ... /* 5 definitions in type refinement */ }

    Slave controller

  10. var definitionName: String

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

    Definition Classes
    Component → DelayedInit
  12. val detector: Area { ... /* 2 definitions in type refinement */ }

    Detect the start/restart and the stop sequences

  13. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  15. val filter: I2cIoFilter

    Filter SDA and SCL input

  16. def finalize(): Unit

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

    Definition Classes
    Nameable
  18. def getAdditionalNodesRoot: Set[Node]

    Definition Classes
    Component
  19. def getAllIo: Set[BaseType]

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

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

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

    Definition Classes
    Component
  23. def getName(): String

    Definition Classes
    NameableByComponent → Nameable
  24. def getName(default: String): String

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

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

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

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

    Definition Classes
    OwnableRef
  29. def getScalaLocationLong: String

    Definition Classes
    ScalaLocated
  30. def getScalaLocationShort: String

    Definition Classes
    ScalaLocated
  31. val globalData: GlobalData

    Definition Classes
    GlobalDataUser
  32. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  33. val io: Bundle { ... /* 4 definitions in type refinement */ }

    Interface of the I2C Hal slave

  34. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  35. def isNamed: Boolean

    Definition Classes
    Nameable
  36. def isUnnamed: Boolean

    Definition Classes
    Nameable
  37. def nameElements(): Unit

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

    Definition Classes
    AnyRef
  39. def noIoPrefix(): I2cIoSlave.this.type

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

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

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

    Definition Classes
    AnyRef
  43. val parent: Component

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

    Definition Classes
    Component
  45. def postPopEvent(): Unit

    Definition Classes
    Stackable
  46. def postPushEvent(): Unit

    Definition Classes
    Component → Stackable
  47. def prePop(): Unit

    Definition Classes
    Component
  48. def prePopEvent(): Unit

    Definition Classes
    Component → Stackable
  49. var refOwner: RefOwnerType

    Definition Classes
    OwnableRef
  50. def rework[T](gen: ⇒ T): T

    Definition Classes
    Component
  51. val sclEdge: I2cEdgeDetector

    Detect the rising and falling edge of the scl signal

  52. val sdaEdge: I2cEdgeDetector

  53. def setCompositeName(nameable: Nameable, postfix: String, weak: Boolean): I2cIoSlave.this.type

    Definition Classes
    Nameable
  54. def setCompositeName(nameable: Nameable, postfix: String): I2cIoSlave.this.type

    Definition Classes
    Nameable
  55. def setCompositeName(nameable: Nameable, weak: Boolean): I2cIoSlave.this.type

    Definition Classes
    Nameable
  56. def setCompositeName(nameable: Nameable): I2cIoSlave.this.type

    Definition Classes
    Nameable
  57. def setDefinitionName(name: String): I2cIoSlave.this.type

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

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

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

    Definition Classes
    Nameable
  61. def setPartialName(name: String): I2cIoSlave.this.type

    Definition Classes
    Nameable
  62. def setPartialName(owner: Nameable, name: String): I2cIoSlave.this.type

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

    Definition Classes
    OwnableRef
  64. def setWeakName(name: String): I2cIoSlave.this.type

    Definition Classes
    Nameable
  65. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  66. val timeout: Area { ... /* 2 definitions in type refinement */ }

  67. def toString(): String

    Definition Classes
    Nameable → AnyRef → Any
  68. val tsuDat: Area { ... /* 3 definitions in type refinement */ }

  69. def unsetName(): Unit

    Definition Classes
    Nameable
  70. val userCache: Map[AnyRef, Map[AnyRef, AnyRef]]

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

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