package
0.0.0-20211205205814-168ccc21e67c
Repository: https://github.com/ziutek/emgo.git
Documentation: pkg.go.dev

# Functions

NewDriver provides convenient way to create heap allocated Driver struct.

# Constants

Sample on leading SCK edge, shift data on trailing edge.
Sample on trailing SCK edge, shift data on leading edge.
SCK polarity: active high.
SCK polarity: active low.
125 kbps.
1 Mbps.
250 kbps.
2 Mbps.
4 Mbps.
500 kbps.
8 Mbps.
Most significant bit shifted out first.
Most significant bit shifted out first.
TXD byte sent and RXD byte received.

# Variables

emgo:const.
emgo:const.

# Structs

Driver is interrupt based driver to the SPI peripheral.

# Type aliases

Config is a bitfield that describes SPI configuration.
Freq sets.