View Source Wafer.DeviceID protocol (wafer v1.1.0)

Allows devices to generate a unique identifier.

Mainly used for InterruptRegistry but you might find it useful too. Can be derived in the same manner as all other Wafer protocols.

Summary

Types

t()

All the types that implement this protocol.

Functions

Generate a unique identifier for conn.

Types

@type t() :: term()

All the types that implement this protocol.

Functions

@spec id(Wafer.Conn.t()) :: any()

Generate a unique identifier for conn.