Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
Spi::Device
Inherits
Reference
<
Object
Constructors
new
(path :
String
)
Source
Instance methods
baud=
(value :
UInt32
)
Source
bits_per_word=
(value :
UInt8
)
Source
finalize
Source
mode
Source
mode32
Source
mode=
(value)
Source
receive
(buffer :
Slice
, delay_usecs :
UInt16
|
Nil
)
Source
send
(buffer :
Slice
, delay_usecs :
UInt16
|
Nil
)
Source
transfer
(send :
Slice
|
Nil
|
Pointer
, recv :
Slice
|
Nil
, delay_usecs :
UInt16
|
Nil
)
Source