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

# Functions

NewAltDriver provides convenient way to create heap allocated AltDriver struct.
NewAltDriverDMA provides convenient way to create heap allocated AltDriverDMA struct.
NewDriver provides convenient way to create heap allocated Driver struct.

# Constants

Write when active read transaction.
Any read is finished by sending stop condition.
Any write is finished by sending stop condition.
SCL low/high = 16/9.
SCL low/high = 2/1.
Manual mode (use SetStopRead, StopWrite).

# Structs

AltDriver implements polling and interrupt driven driver to I2C peripheral.
AltDriverDMA uses DMA to implement polling and interrupt driven driver to I2C peripheral.
AltMasterConn can be used by I2c master.
Driver implements interrupt driven driver to I2C peripheral.
Periph represents I2C peripheral.

# Type aliases

DutyCycle describes SCL low time to high time.
Mode.
StopMode determines auto-stop behavior of master connection.