Module port

Source
Expand description

Access to I/O ports

Re-exports§

pub use crate::structures::port::PortRead;
pub use crate::structures::port::PortWrite;

Structs§

PortGeneric
An I/O port.
ReadOnlyAccess
An access marker type indicating that a port is only allowed to read values.
ReadWriteAccess
An access marker type indicating that a port is allowed to read or write values.
WriteOnlyAccess
An access marker type indicating that a port is only allowed to write values.

Traits§

PortAccess
A marker trait for access types which allow accessing port values.
PortReadAccess
A marker trait for access types which allow reading port values.
PortWriteAccess
A marker trait for access types which allow writing port values.

Type Aliases§

Port
A read-write I/O port.
PortReadOnly
A read-only I/O port.
PortWriteOnly
A write-only I/O port.