mmio-rs 0.1.0

Zero-overhead, no_std memory-mapped I/O register abstraction
Documentation
1
2
3
4
5
6
7
8
9
10
11
pub trait Readable {}
pub trait Writeable {}

pub struct ReadOnly;
pub struct WriteOnly;
pub struct ReadWrite;

impl Readable for ReadOnly {}
impl Writeable for WriteOnly {}
impl Readable for ReadWrite {}
impl Writeable for ReadWrite {}