pub struct Diag { /* private fields */ }Expand description
DIAG status register.
Implementations§
Source§impl Diag
impl Diag
pub fn raw(&self) -> u8
Sourcepub fn itrip1(&self) -> bool
pub fn itrip1(&self) -> bool
Current regulation status of half bridge 1.
1 indicates output 1 is in current regulation, 0 indicates it is not.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Diag
impl RefUnwindSafe for Diag
impl Send for Diag
impl Sync for Diag
impl Unpin for Diag
impl UnwindSafe for Diag
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more