#[repr(C)]pub enum PamojaIna226AlertFunction {
ShuntOverLimit = 0,
ShuntUnderLimit = 1,
BusOverLimit = 2,
BusUnderLimit = 3,
PowerOverLimit = 4,
}Expand description
The limit comparison an INA226 alert pin responds to.
Variants§
ShuntOverLimit = 0
Shunt voltage above the alert limit.
ShuntUnderLimit = 1
Shunt voltage below the alert limit.
BusOverLimit = 2
Bus voltage above the alert limit.
BusUnderLimit = 3
Bus voltage below the alert limit.
PowerOverLimit = 4
Power above the alert limit.
Trait Implementations§
Source§impl Clone for PamojaIna226AlertFunction
impl Clone for PamojaIna226AlertFunction
Source§fn clone(&self) -> PamojaIna226AlertFunction
fn clone(&self) -> PamojaIna226AlertFunction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PamojaIna226AlertFunction
Source§impl Debug for PamojaIna226AlertFunction
impl Debug for PamojaIna226AlertFunction
impl Eq for PamojaIna226AlertFunction
Source§impl From<AlertFunction> for PamojaIna226AlertFunction
impl From<AlertFunction> for PamojaIna226AlertFunction
Source§impl PartialEq for PamojaIna226AlertFunction
impl PartialEq for PamojaIna226AlertFunction
Source§fn eq(&self, other: &PamojaIna226AlertFunction) -> bool
fn eq(&self, other: &PamojaIna226AlertFunction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PamojaIna226AlertFunction
Auto Trait Implementations§
impl Freeze for PamojaIna226AlertFunction
impl RefUnwindSafe for PamojaIna226AlertFunction
impl Send for PamojaIna226AlertFunction
impl Sync for PamojaIna226AlertFunction
impl Unpin for PamojaIna226AlertFunction
impl UnsafeUnpin for PamojaIna226AlertFunction
impl UnwindSafe for PamojaIna226AlertFunction
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