nrf5340_app_pac/
fpu_ns.rs

1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4    _reserved0: [u8; 0x0100],
5    #[doc = "0x100 - An FPUIOC exception triggered by an invalid operation has occurred in the FPU"]
6    pub events_invalidoperation: EVENTS_INVALIDOPERATION,
7    #[doc = "0x104 - An FPUDZC exception triggered by a floating-point divide-by-zero operation has occurred in the FPU"]
8    pub events_dividebyzero: EVENTS_DIVIDEBYZERO,
9    #[doc = "0x108 - An FPUOFC exception triggered by a floating-point overflow has occurred in the FPU"]
10    pub events_overflow: EVENTS_OVERFLOW,
11    #[doc = "0x10c - An FPUUFC exception triggered by a floating-point underflow has occurred in the FPU"]
12    pub events_underflow: EVENTS_UNDERFLOW,
13    #[doc = "0x110 - An FPUIXC exception triggered by an inexact floating-point operation has occurred in the FPU"]
14    pub events_inexact: EVENTS_INEXACT,
15    #[doc = "0x114 - An FPUIDC exception triggered by a denormal floating-point input has occurred in the FPU"]
16    pub events_denormalinput: EVENTS_DENORMALINPUT,
17    _reserved6: [u8; 0x01e8],
18    #[doc = "0x300 - Enable or disable interrupt"]
19    pub inten: INTEN,
20    #[doc = "0x304 - Enable interrupt"]
21    pub intenset: INTENSET,
22    #[doc = "0x308 - Disable interrupt"]
23    pub intenclr: INTENCLR,
24}
25#[doc = "EVENTS_INVALIDOPERATION (rw) register accessor: an alias for `Reg<EVENTS_INVALIDOPERATION_SPEC>`"]
26pub type EVENTS_INVALIDOPERATION =
27    crate::Reg<events_invalidoperation::EVENTS_INVALIDOPERATION_SPEC>;
28#[doc = "An FPUIOC exception triggered by an invalid operation has occurred in the FPU"]
29pub mod events_invalidoperation;
30#[doc = "EVENTS_DIVIDEBYZERO (rw) register accessor: an alias for `Reg<EVENTS_DIVIDEBYZERO_SPEC>`"]
31pub type EVENTS_DIVIDEBYZERO = crate::Reg<events_dividebyzero::EVENTS_DIVIDEBYZERO_SPEC>;
32#[doc = "An FPUDZC exception triggered by a floating-point divide-by-zero operation has occurred in the FPU"]
33pub mod events_dividebyzero;
34#[doc = "EVENTS_OVERFLOW (rw) register accessor: an alias for `Reg<EVENTS_OVERFLOW_SPEC>`"]
35pub type EVENTS_OVERFLOW = crate::Reg<events_overflow::EVENTS_OVERFLOW_SPEC>;
36#[doc = "An FPUOFC exception triggered by a floating-point overflow has occurred in the FPU"]
37pub mod events_overflow;
38#[doc = "EVENTS_UNDERFLOW (rw) register accessor: an alias for `Reg<EVENTS_UNDERFLOW_SPEC>`"]
39pub type EVENTS_UNDERFLOW = crate::Reg<events_underflow::EVENTS_UNDERFLOW_SPEC>;
40#[doc = "An FPUUFC exception triggered by a floating-point underflow has occurred in the FPU"]
41pub mod events_underflow;
42#[doc = "EVENTS_INEXACT (rw) register accessor: an alias for `Reg<EVENTS_INEXACT_SPEC>`"]
43pub type EVENTS_INEXACT = crate::Reg<events_inexact::EVENTS_INEXACT_SPEC>;
44#[doc = "An FPUIXC exception triggered by an inexact floating-point operation has occurred in the FPU"]
45pub mod events_inexact;
46#[doc = "EVENTS_DENORMALINPUT (rw) register accessor: an alias for `Reg<EVENTS_DENORMALINPUT_SPEC>`"]
47pub type EVENTS_DENORMALINPUT = crate::Reg<events_denormalinput::EVENTS_DENORMALINPUT_SPEC>;
48#[doc = "An FPUIDC exception triggered by a denormal floating-point input has occurred in the FPU"]
49pub mod events_denormalinput;
50#[doc = "INTEN (rw) register accessor: an alias for `Reg<INTEN_SPEC>`"]
51pub type INTEN = crate::Reg<inten::INTEN_SPEC>;
52#[doc = "Enable or disable interrupt"]
53pub mod inten;
54#[doc = "INTENSET (rw) register accessor: an alias for `Reg<INTENSET_SPEC>`"]
55pub type INTENSET = crate::Reg<intenset::INTENSET_SPEC>;
56#[doc = "Enable interrupt"]
57pub mod intenset;
58#[doc = "INTENCLR (rw) register accessor: an alias for `Reg<INTENCLR_SPEC>`"]
59pub type INTENCLR = crate::Reg<intenclr::INTENCLR_SPEC>;
60#[doc = "Disable interrupt"]
61pub mod intenclr;