Struct atsame70n21b::mcan0::ndat1::W

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

Register NDAT1 writer

Implementations§

source§

impl W

source

pub fn nd0(&mut self) -> ND0_W<'_, 0>

Bit 0 - New Data

source

pub fn nd1(&mut self) -> ND1_W<'_, 1>

Bit 1 - New Data

source

pub fn nd2(&mut self) -> ND2_W<'_, 2>

Bit 2 - New Data

source

pub fn nd3(&mut self) -> ND3_W<'_, 3>

Bit 3 - New Data

source

pub fn nd4(&mut self) -> ND4_W<'_, 4>

Bit 4 - New Data

source

pub fn nd5(&mut self) -> ND5_W<'_, 5>

Bit 5 - New Data

source

pub fn nd6(&mut self) -> ND6_W<'_, 6>

Bit 6 - New Data

source

pub fn nd7(&mut self) -> ND7_W<'_, 7>

Bit 7 - New Data

source

pub fn nd8(&mut self) -> ND8_W<'_, 8>

Bit 8 - New Data

source

pub fn nd9(&mut self) -> ND9_W<'_, 9>

Bit 9 - New Data

source

pub fn nd10(&mut self) -> ND10_W<'_, 10>

Bit 10 - New Data

source

pub fn nd11(&mut self) -> ND11_W<'_, 11>

Bit 11 - New Data

source

pub fn nd12(&mut self) -> ND12_W<'_, 12>

Bit 12 - New Data

source

pub fn nd13(&mut self) -> ND13_W<'_, 13>

Bit 13 - New Data

source

pub fn nd14(&mut self) -> ND14_W<'_, 14>

Bit 14 - New Data

source

pub fn nd15(&mut self) -> ND15_W<'_, 15>

Bit 15 - New Data

source

pub fn nd16(&mut self) -> ND16_W<'_, 16>

Bit 16 - New Data

source

pub fn nd17(&mut self) -> ND17_W<'_, 17>

Bit 17 - New Data

source

pub fn nd18(&mut self) -> ND18_W<'_, 18>

Bit 18 - New Data

source

pub fn nd19(&mut self) -> ND19_W<'_, 19>

Bit 19 - New Data

source

pub fn nd20(&mut self) -> ND20_W<'_, 20>

Bit 20 - New Data

source

pub fn nd21(&mut self) -> ND21_W<'_, 21>

Bit 21 - New Data

source

pub fn nd22(&mut self) -> ND22_W<'_, 22>

Bit 22 - New Data

source

pub fn nd23(&mut self) -> ND23_W<'_, 23>

Bit 23 - New Data

source

pub fn nd24(&mut self) -> ND24_W<'_, 24>

Bit 24 - New Data

source

pub fn nd25(&mut self) -> ND25_W<'_, 25>

Bit 25 - New Data

source

pub fn nd26(&mut self) -> ND26_W<'_, 26>

Bit 26 - New Data

source

pub fn nd27(&mut self) -> ND27_W<'_, 27>

Bit 27 - New Data

source

pub fn nd28(&mut self) -> ND28_W<'_, 28>

Bit 28 - New Data

source

pub fn nd29(&mut self) -> ND29_W<'_, 29>

Bit 29 - New Data

source

pub fn nd30(&mut self) -> ND30_W<'_, 30>

Bit 30 - New Data

source

pub fn nd31(&mut self) -> ND31_W<'_, 31>

Bit 31 - New Data

source

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

Writes raw bits to the register.

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

source

pub unsafe fn bits(&mut self, bits: REG::Ux) -> &mut Self

Writes raw bits to the register.

Safety

Read datasheet or reference manual to find what values are allowed to pass.

Trait Implementations§

source§

impl Deref for W

§

type Target = W<NDAT1_SPEC>

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl DerefMut for W

source§

fn deref_mut(&mut self) -> &mut Self::Target

Mutably dereferences the value.
source§

impl From<W<NDAT1_SPEC>> for W

source§

fn from(original: W<NDAT1_SPEC>) -> W

Converts to this type from the input type.

Auto Trait Implementations§

§

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<T, U> TryFrom<U> for T
where U: Into<T>,

§

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>,

§

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.