[][src]Struct mcp4725::DacStatus

pub struct DacStatus { /* fields omitted */ }

The status of the MCP4725 as read by the read command. Contains the DAC register values and the values stored in EEPROM

Implementations

impl DacStatus[src]

pub fn eeprom_write_status(&self) -> bool[src]

Eeprom write status. true = completed, false = incomplete

pub fn por(&self) -> bool[src]

Power on reset state

pub fn power_down(&self) -> PowerDown[src]

Current power mode setting

pub fn data(&self) -> u16[src]

Data currently stored in the DAC register

pub fn eeprom_power_down(&self) -> PowerDown[src]

Power mode stored in eeprom

pub fn eeprom_data(&self) -> u16[src]

Data stored in eeprom

Trait Implementations

impl Clone for DacStatus[src]

impl Copy for DacStatus[src]

impl Debug for DacStatus[src]

impl Eq for DacStatus[src]

impl From<[u8; 5]> for DacStatus[src]

impl PartialEq<DacStatus> for DacStatus[src]

impl StructuralEq for DacStatus[src]

impl StructuralPartialEq for DacStatus[src]

Auto Trait Implementations

impl Send for DacStatus

impl Sync for DacStatus

impl Unpin for DacStatus

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.