Struct dac8568::Message[][src]

pub struct Message { /* fields omitted */ }

The Message that is eventually serialized and transmitted to the DAC The inputshiftregister (SR) of the DAC7568,DAC8168,and DAC8568 is 32 bits wide(as shown in Table1, Table2, and Table3, respectively), and consists of four Prefix bits (DB31 to DB28), four control bits (DB27 to DB24), 16 databits (DB23 to DB4), and four additional feature bits. The 16 databits comprise the 16-, 14-, or 12-bit input code

Implementations

impl Message[src]

pub fn get_power_message(mode: PowerModes, channel: u8) -> Message[src]

pub fn get_enable_message(
    control: ControlType,
    data: InternalRefCommData,
    feature: InternalRefCommFeature
) -> Message
[src]

pub fn get_write_message(channel: Channel, value: u16) -> Message[src]

Auto Trait Implementations

impl Send for Message

impl Sync for Message

impl Unpin for Message

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.