ArtNet. Packet. EnumTable. TodRequestCommand
(ArtNet v0.1.0)
View Source
TOD request command values used by ArtNet.Packet.ArtTodRequest.
Values
| Atom | Description | Value |
|---|---|---|
tod_full | Request the full Table of Devices. | 0x0 / 0b00000000 |
Summary
Functions
Returns the number of bits used to encode values in this enum table.
Converts an integer code into its enum atom.
Converts an enum atom into its integer code.
Returns the integer code for :tod_full.
Types
Functions
@spec bit_size() :: pos_integer()
Returns the number of bits used to encode values in this enum table.
Converts an integer code into its enum atom.
Returns {:ok, atom} when the code is defined by this enum table, or
:error otherwise.
@spec to_code(term()) :: {:ok, non_neg_integer()} | :error
Converts an enum atom into its integer code.
Returns {:ok, code} when the atom is defined by this enum table, or
:error otherwise.
@spec tod_full() :: non_neg_integer()
Returns the integer code for :tod_full.
The code is 0x0.