1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
#[repr(C)]
#[derive(Debug)]
///Register block
pub struct RegisterBlock {
fpccr: FPCCR,
fpcar: FPCAR,
fpscr: FPSCR,
}
impl RegisterBlock {
///0x00 - Floating-point context control register
#[inline(always)]
pub const fn fpccr(&self) -> &FPCCR {
&self.fpccr
}
///0x04 - Floating-point context address register
#[inline(always)]
pub const fn fpcar(&self) -> &FPCAR {
&self.fpcar
}
///0x08 - Floating-point status control register
#[inline(always)]
pub const fn fpscr(&self) -> &FPSCR {
&self.fpscr
}
}
/**FPCCR (rw) register accessor: Floating-point context control register
You can [`read`](crate::generic::Reg::read) this register and get [`fpccr::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`fpccr::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).
For information about available fields see [`mod@fpccr`]
module*/
pub type FPCCR = crate::Reg<fpccr::FPCCRrs>;
///Floating-point context control register
pub mod fpccr;
/**FPCAR (rw) register accessor: Floating-point context address register
You can [`read`](crate::generic::Reg::read) this register and get [`fpcar::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`fpcar::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).
For information about available fields see [`mod@fpcar`]
module*/
pub type FPCAR = crate::Reg<fpcar::FPCARrs>;
///Floating-point context address register
pub mod fpcar;
/**FPSCR (rw) register accessor: Floating-point status control register
You can [`read`](crate::generic::Reg::read) this register and get [`fpscr::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`fpscr::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).
For information about available fields see [`mod@fpscr`]
module*/
pub type FPSCR = crate::Reg<fpscr::FPSCRrs>;
///Floating-point status control register
pub mod fpscr;