[Overview][Resource strings][Constants][Types][Classes][Index] Reference for unit 'fpspi' (#pascalio)

TSPILinuxDevice.Create

Instantiates a new SPI device

Declaration

Source position: fpspi.pas line 109

public constructor TSPILinuxDevice.Create(

  aBus: LongWord;

  aChipSelect: LongWord

);

Arguments

aBus

  

The bus number

aChipSelect

  

The chipselect number

Description

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.


Documentation generated on: 2020-05-22