Crate vs1003_driver

Crate vs1003_driver 

Source
Expand description

A high-level driver for VS1003 audio codec.

TODO: Provide better description

Re-exports§

pub use vs1003_pac as pac;

Structs§

AdpcmRecording
Typestate type for VS1003 in standard recording mode
Errored
Typestate type for a VS1003 that failed state change
Initialized
Typestate type for freshly reset VS1003
ModeChangeError
The error returned by Vs1003 APIs that change the typesate
NotInitialized
Typestate type for freshly constructed VS1003
Peripherals
Contains all peripherals required to interface with VS1003
Vs1003
High level interface for the VS1003 audio codec

Enums§

ClockBoost
Specifies the maximum clock boost (i.e. multiplier added to ClockMultiplier) that can be used for WMA decoding.
ClockMultiplier
Specifies the clock multiplier used by the VS1003
Error
The error enum returned by most of Vs1003 APIs
RecordingFilter
Specifies whether to use a high-pass filter for recording or not
RecordingGain
Specifies the digital gain to use for recording
RecordingInput
Specifies the input used for recording

Traits§

Vs1003Peripherals
Helper trait to represent device peripherals.