[−][src]Struct mcp4725::DacStatus
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]
fn clone(&self) -> DacStatus
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[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
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,