[−][src]Struct cc13x2_cc26x2_hal::cpu_scs::mpu_rasr::W
Value to write to the register
Methods
impl W
[src]
pub fn reset_value() -> W
[src]
Reset value of the register
pub unsafe fn bits(&mut self, bits: u32) -> &mut Self
[src]
Writes raw bits to the register
pub fn reserved29(&mut self) -> _RESERVED29W
[src]
Bits 29:31 - 31:29] Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior.
pub fn xn(&mut self) -> _XNW
[src]
Bit 28 - 28:28] Instruction access disable: 0: Enable instruction fetches 1: Disable instruction fetches
pub fn reserved27(&mut self) -> _RESERVED27W
[src]
Bit 27 - 27:27] Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior.
pub fn ap(&mut self) -> _APW
[src]
Bits 24:26 - 26:24] Data access permission: 0x0: Priviliged permissions: No access. User permissions: No access. 0x1: Priviliged permissions: Read-write. User permissions: No access. 0x2: Priviliged permissions: Read-write. User permissions: Read-only. 0x3: Priviliged permissions: Read-write. User permissions: Read-write. 0x4: Reserved 0x5: Priviliged permissions: Read-only. User permissions: No access. 0x6: Priviliged permissions: Read-only. User permissions: Read-only. 0x7: Priviliged permissions: Read-only. User permissions: Read-only.
pub fn reserved22(&mut self) -> _RESERVED22W
[src]
Bits 22:23 - 23:22] Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior.
pub fn tex(&mut self) -> _TEXW
[src]
Bits 19:21 - 21:19] Type extension
pub fn s(&mut self) -> _SW
[src]
Bit 18 - 18:18] Shareable bit: 0: Not shareable 1: Shareable
pub fn c(&mut self) -> _CW
[src]
Bit 17 - 17:17] Cacheable bit: 0: Not cacheable 1: Cacheable
pub fn b(&mut self) -> _BW
[src]
Bit 16 - 16:16] Bufferable bit: 0: Not bufferable 1: Bufferable
pub fn srd(&mut self) -> _SRDW
[src]
Bits 8:15 - 15:8] Sub-Region Disable field: Setting a bit in this field disables the corresponding sub-region. Regions are split into eight equal-sized sub-regions. Sub-regions are not supported for region sizes of 128 bytes and less.
pub fn reserved6(&mut self) -> _RESERVED6W
[src]
Bits 6:7 - 7:6] Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior.
pub fn size(&mut self) -> _SIZEW
[src]
Bits 1:5 - 5:1] MPU Protection Region Size Field: 0x04: 32B 0x05: 64B 0x06: 128B 0x07: 256B 0x08: 512B 0x09: 1KB 0x0A: 2KB 0x0B: 4KB 0x0C: 8KB 0x0D: 16KB 0x0E: 32KB 0x0F: 64KB 0x10: 128KB 0x11: 256KB 0x12: 512KB 0x13: 1MB 0x14: 2MB 0x15: 4MB 0x16: 8MB 0x17: 16MB 0x18: 32MB 0x19: 64MB 0x1A: 128MB 0x1B: 256MB 0x1C: 512MB 0x1D: 1GB 0x1E: 2GB 0x1F: 4GB
pub fn enable(&mut self) -> _ENABLEW
[src]
Bit 0 - 0:0] Region enable bit: 0: Disable region 1: Enable region
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same for T
type Output = T
Should always be Self