[][src]Struct cc13x2_cc26x2_pac::cpu_fpb::comp0::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 replace(&self) -> REPLACER[src]

Bits 30:31 - 31:30] This selects what happens when the COMP address is matched. Address remapping only takes place for the 0x0 setting. 0x0: Remap to remap address. See REMAP.REMAP 0x1: Set BKPT on lower halfword, upper is unaffected 0x2: Set BKPT on upper halfword, lower is unaffected 0x3: Set BKPT on both lower and upper halfwords.

pub fn reserved29(&self) -> RESERVED29R[src]

Bit 29 - 29: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 comp(&self) -> COMPR[src]

Bits 2:28 - 28:2] Comparison address.

pub fn reserved1(&self) -> RESERVED1R[src]

Bit 1 - 1:1] 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 enable(&self) -> ENABLER[src]

Bit 0 - 0:0] Compare and remap enable comparator 0. CTRL.ENABLE must also be set to enable comparisons. 0x0: Compare and remap for comparator 0 disabled 0x1: Compare and remap for comparator 0 enabled

Auto Trait Implementations

impl Send for R

impl Sync for R

Blanket Implementations

impl<T> From for T[src]

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, 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