#[repr(u8)]pub enum GateCurrent {
High = 0,
Medium = 1,
Low = 2,
Reserved = 3,
}Expand description
Peak gate drive current settings
Variants§
High = 0
Peak source: 1.7A, Peak sink: 2.3A
Medium = 1
Peak source: 0.7A, Peak sink: 1.0A
Low = 2
Peak source: 0.25A, Peak sink: 0.5A
Reserved = 3
Reserved - do not use
Trait Implementations§
Source§impl Clone for GateCurrent
impl Clone for GateCurrent
Source§fn clone(&self) -> GateCurrent
fn clone(&self) -> GateCurrent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GateCurrent
impl Debug for GateCurrent
Source§impl From<GateCurrent> for u8
impl From<GateCurrent> for u8
Source§fn from(val: GateCurrent) -> Self
fn from(val: GateCurrent) -> Self
Converts to this type from the input type.
Source§impl Hash for GateCurrent
impl Hash for GateCurrent
Source§impl PartialEq for GateCurrent
impl PartialEq for GateCurrent
Source§impl TryFrom<u8> for GateCurrent
impl TryFrom<u8> for GateCurrent
impl Copy for GateCurrent
impl Eq for GateCurrent
impl StructuralPartialEq for GateCurrent
Auto Trait Implementations§
impl Freeze for GateCurrent
impl RefUnwindSafe for GateCurrent
impl Send for GateCurrent
impl Sync for GateCurrent
impl Unpin for GateCurrent
impl UnwindSafe for GateCurrent
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