ports

Classes and exceptions related to the microcontrollers ports.

Classes

Port()

Class to group port access methods.

PortReference([port, expected_type])

Base class for port references.

Exceptions

AbsentPortInference(port_type)

Thrown when unable to find a port assigned to a type.

AmbiguousPortInference(port_type, ports)

Thrown when multiple ports are assigned to the type being inferred.

ReferenceClassException(port, ...)

Thrown when accessing port as the wrong class.

UnassignedPortException(port)

Thrown when accessing an unassigned port.