SpiBus
Description
The SpiBus object represents an SPI bus with attached SpiDevice objects. This abstract base object provides common properties and methods only. Use a dedicated SPI bus implementation such as SystemSpiBus.
This object was introduced in InCore 2.8.
- › Inherits:
- › Inherited by:
Overview
Properties
Methods
Signals
Enumerations
Properties
bitsPerWord
This property holds the number of bits per word to use for transfers on the bus.
- › Type:
SignedInteger
- › Default:
16- › Signal:
bitsPerWordChanged()
- › Attributes:
Writable
devices
This property holds a list of Spi devices to use on this bus.
mode
This property holds the SPI mode to use for transfers on the bus.
- › Type:
- › Default:
- › Signal:
modeChanged()
- › Attributes:
Writable
speed
This property holds the desired communication speed in Hz.
- › Type:
UnsignedInteger
- › Default:
1000000- › Signal:
speedChanged()
- › Attributes:
Writable
Signals
devicesDataChanged(SignedInteger index)
This signal is emitted whenever the List.dataChanged() signal is emitted, i.e. the item at index in the devices list itself emitted the dataChanged() signal.
Enumerations
Mode
Name |
Value |
Description |
|---|---|---|
|
|
|
|
|
|
|
|
|
|
|