spi1

package
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2020 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Driver

func Driver() *spi.Driver

Driver returns ready to use driver for SPI1 peripheral.

func UsePinMaster added in v0.3.0

func UsePinMaster(pin gpio.Pin, sig spi.Signal)

UsePinMaster is a helper function that can be used to configure GPIO pins as required by SPI master device.

func UsePinSlave added in v0.3.0

func UsePinSlave(pin gpio.Pin, sig spi.Signal)

UsePinSlave is a helper function that can be used to configure GPIO pins as required by SPI slave device.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL