Modbuv.FcMap (modbuv v0.1.0)

Copy Markdown View Source

Server/Slave function-code registry: maps a numeric function code to the direction, data width, address region, and (for writes) single/multi layout.

Summary

Functions

default()

@spec default() :: map()

lookup(map, fc)

@spec lookup(map(), integer()) :: {:ok, tuple()} | :error

merge(overrides)

@spec merge(map()) :: map()