spi allows access to a specific Serial Peripheral Interface (SPI) controller. This snap interface is restricted because it provides privileged access to SPI hardware.
path(slot): path to the specific SPI device node e.g.
Snaps that want to consume an SPI device simply use
plugs: [ spi ]. The SPI device to connect to is specified during the interface connection. Available SPI devices for the system can be seen with
snap connections. Once connected, the consuming snap can use the device via the path specified by the connected slot.
Requires snapd version 2.28+.
Last updated 1 year, 3 months ago. Help improve this document in the forum.