[][src]Struct cc2650::cpu_fpb::comp0::W

pub struct W { /* fields omitted */ }

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 replace(&mut self) -> _REPLACEW[src]

Bits 30:31 - 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(&mut self) -> _RESERVED29W[src]

Bit 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(&mut self) -> _COMPW[src]

Bits 2:28 - Comparison address.

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

Bit 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(&mut self) -> _ENABLEW[src]

Bit 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 W

impl Sync for W

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]