[][src]Struct cc13x2_cc26x2_hal::cpu_fpb::ctrl::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 reserved14(&mut self) -> _RESERVED14W[src]

Bits 14:31 - 31:14] 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 num_code2(&mut self) -> _NUM_CODE2W[src]

Bits 12:13 - 13:12] Number of full banks of code comparators, sixteen comparators per bank. Where less than sixteen code comparators are provided, the bank count is zero, and the number present indicated by NUM_CODE1. This read only field contains 3'b000 to indicate 0 banks for Cortex-M processor.

pub fn num_lit(&mut self) -> _NUM_LITW[src]

Bits 8:11 - 11:8] Number of literal slots field. 0x0: No literal slots 0x2: Two literal slots

pub fn num_code1(&mut self) -> _NUM_CODE1W[src]

Bits 4:7 - 7:4] Number of code slots field. 0x0: No code slots 0x2: Two code slots 0x6: Six code slots

pub fn reserved2(&mut self) -> _RESERVED2W[src]

Bits 2:3 - 3:2] 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 key(&mut self) -> _KEYW[src]

Bit 1 - 1:1] Key field. In order to write to this register, this bit-field must be written to '1'. This bit always reads 0.

pub fn enable(&mut self) -> _ENABLEW[src]

Bit 0 - 0:0] Flash patch unit enable bit 0x0: Flash patch unit disabled 0x1: Flash patch unit 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