mirror of
https://github.com/nasa/fprime.git
synced 2025-12-10 00:44:37 -06:00
* Update Spi component to return a status on device access * Format LinuxSpiDriver files and update comments from TODO to DEPRECATED * Add assertions to LinuxSpiDriver * Add assertions to LinuxSpiDriver --------- Co-authored-by: djbyrne <djbyrne@jpl.nasa.gov>
11 lines
399 B
Fortran
11 lines
399 B
Fortran
module Drv {
|
|
interface Spi {
|
|
@ Port to perform a synchronous write/read operation over the SPI bus
|
|
guarded input port SpiWriteRead: Drv.SpiWriteRead
|
|
|
|
@ DEPRECATED Use SpiWriteRead port instead (same operation with a return value)
|
|
@ Port to perform a synchronous read/write operation over the SPI bus
|
|
sync input port SpiReadWrite: Drv.SpiReadWrite
|
|
}
|
|
}
|