[][src]Struct cc13x2_cc26x2_hal::cpu_scs::mpu_rasr::R

pub struct R { /* fields omitted */ }

Value read from the register

Methods

impl R[src]

pub fn bits(&self) -> u32[src]

Value of the register as raw bits

pub fn reserved29(&self) -> RESERVED29R[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(&self) -> XNR[src]

Bit 28 - 28:28] Instruction access disable: 0: Enable instruction fetches 1: Disable instruction fetches

pub fn reserved27(&self) -> RESERVED27R[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(&self) -> APR[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(&self) -> RESERVED22R[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(&self) -> TEXR[src]

Bits 19:21 - 21:19] Type extension

pub fn s(&self) -> SR[src]

Bit 18 - 18:18] Shareable bit: 0: Not shareable 1: Shareable

pub fn c(&self) -> CR[src]

Bit 17 - 17:17] Cacheable bit: 0: Not cacheable 1: Cacheable

pub fn b(&self) -> BR[src]

Bit 16 - 16:16] Bufferable bit: 0: Not bufferable 1: Bufferable

pub fn srd(&self) -> SRDR[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(&self) -> RESERVED6R[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(&self) -> SIZER[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(&self) -> ENABLER[src]

Bit 0 - 0:0] Region enable bit: 0: Disable region 1: Enable region

Auto Trait Implementations

impl Send for R

impl Sync for R

Blanket Implementations

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> From for T[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same for T

type Output = T

Should always be Self