Struct mk20d7::ftm1::fltctrl::R

source ·
pub struct R { /* private fields */ }
Expand description

Value read from the register

Implementations§

source§

impl R

source

pub fn bits(&self) -> u32

Value of the register as raw bits

source

pub fn fault0en(&self) -> FAULT0ENR

Bit 0 - Fault Input 0 Enable

source

pub fn fault1en(&self) -> FAULT1ENR

Bit 1 - Fault Input 1 Enable

source

pub fn fault2en(&self) -> FAULT2ENR

Bit 2 - Fault Input 2 Enable

source

pub fn fault3en(&self) -> FAULT3ENR

Bit 3 - Fault Input 3 Enable

source

pub fn ffltr0en(&self) -> FFLTR0ENR

Bit 4 - Fault Input 0 Filter Enable

source

pub fn ffltr1en(&self) -> FFLTR1ENR

Bit 5 - Fault Input 1 Filter Enable

source

pub fn ffltr2en(&self) -> FFLTR2ENR

Bit 6 - Fault Input 2 Filter Enable

source

pub fn ffltr3en(&self) -> FFLTR3ENR

Bit 7 - Fault Input 3 Filter Enable

source

pub fn ffval(&self) -> FFVALR

Bits 8:11 - Fault Input Filter

Auto Trait Implementations§

§

impl RefUnwindSafe for R

§

impl Send for R

§

impl Sync for R

§

impl Unpin for R

§

impl UnwindSafe for R

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

const: unstable · source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
const: unstable · source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.