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

# Functions

PortN returns n-th GPIO port.
SelPin returns pin for its compact representation.

# Constants

Disconnect 0, high drive 1.
Disconnect 0, standard 1.
High drive 0, disconnect 1.
High drive 0, high drive 1.
High drive 0, standard 1.
Standard 0, disconnect 1.
Standard 0, high drive 1.
Standard 0, standard 1.
Input buffer disconnected, output disabled.
Input buffer connected, output disabled.
Input buffer connected, output enabled.
Input buffer disconnected, output enabled.
Enable pull-down resistance.
Disable pull-up/down resistance.
Enable pull-up resistance.
Sense for high level.
Sense for low level.
Sense disabled.

# Variables

emgo:const.
emgo:const.

# Structs

Pin represents one phisical pin (specific pin in specific port).
Port represents one GPIO port.

# Type aliases

Pins is a bitmask which represents the pins of GPIO port.