registers 0.0.1

A simple library for working with registers in Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
#![no_std]

pub use register_macros::*;
use thiserror::Error;

#[derive(Error, Debug, PartialEq)]
pub enum Error {
    #[error("Field write out of bounds")]
    OutOfBoundsFieldWrite,
}

pub type Result<T> = core::result::Result<T, Error>;