Struct W

Source
pub struct W(/* private fields */);
Expand description

Register FS1R writer

Implementations§

Source§

impl W

Source

pub fn fsc0(&mut self) -> BitWriterRaw<'_, u32, FS1R_SPEC, bool, BitM, 0>

Bit 0 - Filter scale configuration

Source

pub fn fsc1(&mut self) -> BitWriterRaw<'_, u32, FS1R_SPEC, bool, BitM, 1>

Bit 1 - Filter scale configuration

Source

pub fn fsc2(&mut self) -> BitWriterRaw<'_, u32, FS1R_SPEC, bool, BitM, 2>

Bit 2 - Filter scale configuration

Source

pub fn fsc3(&mut self) -> BitWriterRaw<'_, u32, FS1R_SPEC, bool, BitM, 3>

Bit 3 - Filter scale configuration

Source

pub fn fsc4(&mut self) -> BitWriterRaw<'_, u32, FS1R_SPEC, bool, BitM, 4>

Bit 4 - Filter scale configuration

Source

pub fn fsc5(&mut self) -> BitWriterRaw<'_, u32, FS1R_SPEC, bool, BitM, 5>

Bit 5 - Filter scale configuration

Source

pub fn fsc6(&mut self) -> BitWriterRaw<'_, u32, FS1R_SPEC, bool, BitM, 6>

Bit 6 - Filter scale configuration

Source

pub fn fsc7(&mut self) -> BitWriterRaw<'_, u32, FS1R_SPEC, bool, BitM, 7>

Bit 7 - Filter scale configuration

Source

pub fn fsc8(&mut self) -> BitWriterRaw<'_, u32, FS1R_SPEC, bool, BitM, 8>

Bit 8 - Filter scale configuration

Source

pub fn fsc9(&mut self) -> BitWriterRaw<'_, u32, FS1R_SPEC, bool, BitM, 9>

Bit 9 - Filter scale configuration

Source

pub fn fsc10(&mut self) -> BitWriterRaw<'_, u32, FS1R_SPEC, bool, BitM, 10>

Bit 10 - Filter scale configuration

Source

pub fn fsc11(&mut self) -> BitWriterRaw<'_, u32, FS1R_SPEC, bool, BitM, 11>

Bit 11 - Filter scale configuration

Source

pub fn fsc12(&mut self) -> BitWriterRaw<'_, u32, FS1R_SPEC, bool, BitM, 12>

Bit 12 - Filter scale configuration

Source

pub fn fsc13(&mut self) -> BitWriterRaw<'_, u32, FS1R_SPEC, bool, BitM, 13>

Bit 13 - Filter scale configuration

Source

pub fn fsc14(&mut self) -> BitWriterRaw<'_, u32, FS1R_SPEC, bool, BitM, 14>

Bit 14 - Filter scale configuration

Source

pub fn fsc15(&mut self) -> BitWriterRaw<'_, u32, FS1R_SPEC, bool, BitM, 15>

Bit 15 - Filter scale configuration

Source

pub fn fsc16(&mut self) -> BitWriterRaw<'_, u32, FS1R_SPEC, bool, BitM, 16>

Bit 16 - Filter scale configuration

Source

pub fn fsc17(&mut self) -> BitWriterRaw<'_, u32, FS1R_SPEC, bool, BitM, 17>

Bit 17 - Filter scale configuration

Source

pub fn fsc18(&mut self) -> BitWriterRaw<'_, u32, FS1R_SPEC, bool, BitM, 18>

Bit 18 - Filter scale configuration

Source

pub fn fsc19(&mut self) -> BitWriterRaw<'_, u32, FS1R_SPEC, bool, BitM, 19>

Bit 19 - Filter scale configuration

Source

pub fn fsc20(&mut self) -> BitWriterRaw<'_, u32, FS1R_SPEC, bool, BitM, 20>

Bit 20 - Filter scale configuration

Source

pub fn fsc21(&mut self) -> BitWriterRaw<'_, u32, FS1R_SPEC, bool, BitM, 21>

Bit 21 - Filter scale configuration

Source

pub fn fsc22(&mut self) -> BitWriterRaw<'_, u32, FS1R_SPEC, bool, BitM, 22>

Bit 22 - Filter scale configuration

Source

pub fn fsc23(&mut self) -> BitWriterRaw<'_, u32, FS1R_SPEC, bool, BitM, 23>

Bit 23 - Filter scale configuration

Source

pub fn fsc24(&mut self) -> BitWriterRaw<'_, u32, FS1R_SPEC, bool, BitM, 24>

Bit 24 - Filter scale configuration

Source

pub fn fsc25(&mut self) -> BitWriterRaw<'_, u32, FS1R_SPEC, bool, BitM, 25>

Bit 25 - Filter scale configuration

Source

pub fn fsc26(&mut self) -> BitWriterRaw<'_, u32, FS1R_SPEC, bool, BitM, 26>

Bit 26 - Filter scale configuration

Source

pub fn fsc27(&mut self) -> BitWriterRaw<'_, u32, FS1R_SPEC, bool, BitM, 27>

Bit 27 - Filter scale configuration

Source

pub unsafe fn bits(&mut self, bits: u32) -> &mut W

Writes raw bits to the register.

Methods from Deref<Target = W<FS1R_SPEC>>§

Source

pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>

Writes raw bits to the register.

Trait Implementations§

Source§

impl Deref for W

Source§

type Target = W<FS1R_SPEC>

The resulting type after dereferencing.
Source§

fn deref(&self) -> &<W as Deref>::Target

Dereferences the value.
Source§

impl DerefMut for W

Source§

fn deref_mut(&mut self) -> &mut <W as Deref>::Target

Mutably dereferences the value.
Source§

impl From<W<FS1R_SPEC>> for W

Source§

fn from(writer: W<FS1R_SPEC>) -> W

Converts to this type from the input type.

Auto Trait Implementations§

§

impl Freeze for W

§

impl RefUnwindSafe for W

§

impl Send for W

§

impl Sync for W

§

impl Unpin for W

§

impl UnwindSafe for W

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

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

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<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
The target type on which the method may be called.
Source§

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

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

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

Performs the conversion.
Source§

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

Source§

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

The type returned in the event of a conversion error.
Source§

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

Performs the conversion.