[Overview][Resource strings][Constants][Types][Classes][Index] |
Instantiates a new SPI device
Source position: fpspi.pas line 109
public constructor TSPILinuxDevice.Create( |
aBus: LongWord; |
aChipSelect: LongWord |
); |
aBus |
|
The bus number |
aChipSelect |
|
The chipselect number |
The values of aBus and aChipSelect are directly mapped to the file name /dev/spidevB.C with B = Bus and C = Chipselect provided by the Linux spidev driver.
See https://www.kernel.org/doc/Documentation/spi/spidev for a documentation of the spidev driver.