#[repr(transparent)]pub struct Flexpwm1Fctrl0(pub u16);Expand description
Fault Control Register.
Tuple Fields§
§0: u16Implementations§
Source§impl Flexpwm1Fctrl0
impl Flexpwm1Fctrl0
Sourcepub const fn fie(&self) -> Flexpwm1Fie
pub const fn fie(&self) -> Flexpwm1Fie
Fault Interrupt Enables.
Sourcepub const fn set_fie(&mut self, val: Flexpwm1Fie)
pub const fn set_fie(&mut self, val: Flexpwm1Fie)
Fault Interrupt Enables.
Sourcepub const fn fsafe(&self) -> Flexpwm1Fsafe
pub const fn fsafe(&self) -> Flexpwm1Fsafe
Fault Safety Mode.
Sourcepub const fn set_fsafe(&mut self, val: Flexpwm1Fsafe)
pub const fn set_fsafe(&mut self, val: Flexpwm1Fsafe)
Fault Safety Mode.
Sourcepub const fn fauto(&self) -> Flexpwm1Fauto
pub const fn fauto(&self) -> Flexpwm1Fauto
Automatic Fault Clearing.
Sourcepub const fn set_fauto(&mut self, val: Flexpwm1Fauto)
pub const fn set_fauto(&mut self, val: Flexpwm1Fauto)
Automatic Fault Clearing.
Sourcepub const fn flvl(&self) -> Flexpwm1Flvl
pub const fn flvl(&self) -> Flexpwm1Flvl
Fault Level.
Sourcepub const fn set_flvl(&mut self, val: Flexpwm1Flvl)
pub const fn set_flvl(&mut self, val: Flexpwm1Flvl)
Fault Level.
Trait Implementations§
Source§impl Clone for Flexpwm1Fctrl0
impl Clone for Flexpwm1Fctrl0
Source§fn clone(&self) -> Flexpwm1Fctrl0
fn clone(&self) -> Flexpwm1Fctrl0
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 Flexpwm1Fctrl0
impl Debug for Flexpwm1Fctrl0
Source§impl Default for Flexpwm1Fctrl0
impl Default for Flexpwm1Fctrl0
Source§fn default() -> Flexpwm1Fctrl0
fn default() -> Flexpwm1Fctrl0
Returns the “default value” for a type. Read more
Source§impl PartialEq for Flexpwm1Fctrl0
impl PartialEq for Flexpwm1Fctrl0
impl Copy for Flexpwm1Fctrl0
impl Eq for Flexpwm1Fctrl0
impl StructuralPartialEq for Flexpwm1Fctrl0
Auto Trait Implementations§
impl Freeze for Flexpwm1Fctrl0
impl RefUnwindSafe for Flexpwm1Fctrl0
impl Send for Flexpwm1Fctrl0
impl Sync for Flexpwm1Fctrl0
impl Unpin for Flexpwm1Fctrl0
impl UnwindSafe for Flexpwm1Fctrl0
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