[][src]Struct rza1::riic0::SR2

pub struct SR2 { /* fields omitted */ }
This is supported on crate feature riic only.

RIICnSR2

Implementations

impl SR2[src]

pub fn modify<F>(&self, f: F) where
    F: FnOnce(&R, &'w mut W) -> &'w mut W
[src]

This is supported on crate feature riic only.

Modifies the contents of the register

pub fn read(&self) -> R[src]

This is supported on crate feature riic only.

Reads the contents of the register

pub fn write<F>(&self, f: F) where
    F: FnOnce(&mut W) -> &mut W
[src]

This is supported on crate feature riic only.

Writes to the register

pub fn reset(&self)[src]

This is supported on crate feature riic only.

Writes the reset value to the register

Auto Trait Implementations

impl Send for SR2

impl !Sync for SR2

impl Unpin for SR2

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.