[][src]Module ether_dream::dac

A simple abstraction around a single Ether Dream DAC.

Re-exports

pub use self::stream::Stream;

Modules

stream

Structs

Addressed

A DAC along with its broadcasted MAC address.

Dac

A simple abstraction around a single Ether Dream DAC.

IldaPlaybackFlags

If the data source is ILDA playback via SD, the following flags are used.

InternalAbstractGeneratorFlags

If the data source is the internal abstract generator, the following flags are used.

LightEngineFlags

If the light engine is Ready, this will be 0.

MacAddress

The fixed-size array used to represent the MAC address of a DAC.

PlaybackFlags

If the light engine is Ready, this will be 0.

PointControl

The set of flags used to represent the control field of a DacPoint.

Status

A more rust-esque version of the ether_dream::protocol::DacState.

Enums

Command

A command whose kind is determined at runtime.

DataSource

The data source in use by a DAC.

LightEngine

The light engine state machine - the first of the three primary state machines described within the protocol.

Playback

The DAC has one playback system, which buffers data and sends it to the analog output hardware at its current point rate. At any given time, the playback system is connected to a source. Usually the source is the network streamer, which uses this protocol. However, other sources exist, such as a built-in abstract generator and file playback from SD card. The playback system is in one of the following states.

ProtocolError

An error describing a failure to convert a protocol::DacStatus to a Status.