#[repr(u8)]pub enum OctwMode {
OtAndOc = 0,
OtOnly = 1,
OcOnly = 2,
OcOnlyReserved = 3,
}Expand description
nOCTW pin reporting mode
Variants§
OtAndOc = 0
Report both overtemperature (OT) and overcurrent (OC) on nOCTW
OtOnly = 1
Report overtemperature (OT) only on nOCTW
OcOnly = 2
Report overcurrent (OC) only on nOCTW
OcOnlyReserved = 3
Report overcurrent (OC) only (reserved value, same as 0b10)
Trait Implementations§
impl Copy for OctwMode
impl Eq for OctwMode
impl StructuralPartialEq for OctwMode
Auto Trait Implementations§
impl Freeze for OctwMode
impl RefUnwindSafe for OctwMode
impl Send for OctwMode
impl Sync for OctwMode
impl Unpin for OctwMode
impl UnwindSafe for OctwMode
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