[][src]Struct cc13x2_cc26x2_hal::cpu_fpb::comp6::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 - 31:30] This selects what happens when the COMP address is matched. Comparator 6 is a literal comparator and the only supported setting is 0x0. Other settings will be ignored. 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 - 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(&mut self) -> _COMPW[src]

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

pub fn reserved1(&mut self) -> _RESERVED1W[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(&mut self) -> _ENABLEW[src]

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

Auto Trait Implementations

impl Send for W

impl Sync for W

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