spi1

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 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(sig spi.Signal, pin gpio.Pin)

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(sig spi.Signal, pin gpio.Pin)

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