nrf52840_pac/acl/
acl.rs

1#[doc = r"Register block"]
2#[repr(C)]
3pub struct ACL {
4    #[doc = "0x00 - Description cluster\\[n\\]: Configure the word-aligned start address of region n to protect"]
5    pub addr: ADDR,
6    #[doc = "0x04 - Description cluster\\[n\\]: Size of region to protect counting from address ACL\\[n\\].ADDR. Write '0' as no effect."]
7    pub size: SIZE,
8    #[doc = "0x08 - Description cluster\\[n\\]: Access permissions for region n as defined by start address ACL\\[n\\].ADDR and size ACL\\[n\\].SIZE"]
9    pub perm: PERM,
10    #[doc = "0x0c - Unspecified"]
11    pub unused0: UNUSED0,
12}
13#[doc = "ADDR (rw) register accessor: an alias for `Reg<ADDR_SPEC>`"]
14pub type ADDR = crate::Reg<addr::ADDR_SPEC>;
15#[doc = "Description cluster\\[n\\]: Configure the word-aligned start address of region n to protect"]
16pub mod addr;
17#[doc = "SIZE (rw) register accessor: an alias for `Reg<SIZE_SPEC>`"]
18pub type SIZE = crate::Reg<size::SIZE_SPEC>;
19#[doc = "Description cluster\\[n\\]: Size of region to protect counting from address ACL\\[n\\].ADDR. Write '0' as no effect."]
20pub mod size;
21#[doc = "PERM (rw) register accessor: an alias for `Reg<PERM_SPEC>`"]
22pub type PERM = crate::Reg<perm::PERM_SPEC>;
23#[doc = "Description cluster\\[n\\]: Access permissions for region n as defined by start address ACL\\[n\\].ADDR and size ACL\\[n\\].SIZE"]
24pub mod perm;
25#[doc = "UNUSED0 (rw) register accessor: an alias for `Reg<UNUSED0_SPEC>`"]
26pub type UNUSED0 = crate::Reg<unused0::UNUSED0_SPEC>;
27#[doc = "Unspecified"]
28pub mod unused0;