[][src]Trait mmio::reg::Reg

pub trait Reg {
    type Val: Copy;
    fn access_with<F, R>(&self, f: F) -> R
    where
        F: Fn(&VCell<Self::Val>) -> R
; }

A register wrapper over a volatile cell.

Associated Types

type Val: Copy

The value type of the volatile cell.

Loading content...

Required methods

fn access_with<F, R>(&self, f: F) -> R where
    F: Fn(&VCell<Self::Val>) -> R, 

Access the volatile cell.

Loading content...

Implementors

Loading content...