[][src]Struct rza1::mtu2::TOCR2

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

TOCR2

Implementations

impl TOCR2[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 mtu2 only.

Modifies the contents of the register

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

This is supported on crate feature mtu2 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 mtu2 only.

Writes to the register

pub fn reset(&self)[src]

This is supported on crate feature mtu2 only.

Writes the reset value to the register

Auto Trait Implementations

impl Send for TOCR2

impl !Sync for TOCR2

impl Unpin for TOCR2

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.