#[repr(C)]
#[derive(Debug)]
pub struct RegisterBlock {
ch: [CH; 8],
flt: [FLT; 8],
}
impl RegisterBlock {
#[inline(always)]
pub const fn ch(&self, n: usize) -> &CH {
&self.ch[n]
}
#[inline(always)]
pub fn ch_iter(&self) -> impl Iterator<Item = &CH> {
self.ch.iter()
}
#[inline(always)]
pub const fn flt(&self, n: usize) -> &FLT {
&self.flt[n]
}
#[inline(always)]
pub fn flt_iter(&self) -> impl Iterator<Item = &FLT> {
self.flt.iter()
}
}
pub use self::ch::CH;
pub mod ch;
pub use self::flt::FLT;
pub mod flt;