[][src]Struct cc13x2_cc26x2_hal::fcfg1::user_id::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 pg_rev(&mut self) -> _PG_REVW[src]

Bits 28:31 - 31:28] Field used to distinguish revisions of the device.

pub fn ver(&mut self) -> _VERW[src]

Bits 26:27 - 27:26] Version number. 0x0: Bits [25:12] of this register has the stated meaning. Any other setting indicate a different encoding of these bits.

pub fn pa(&mut self) -> _PAW[src]

Bit 25 - 25:25] 0: Does not support 20dBm PA 1: Supports 20dBM PA

pub fn reserved24(&mut self) -> _RESERVED24W[src]

Bit 24 - 24:24] 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 cc13(&mut self) -> _CC13W[src]

Bit 23 - 23:23] 0: CC26xx device type 1: CC13xx device type

pub fn sequence(&mut self) -> _SEQUENCEW[src]

Bits 19:22 - 22:19] Sequence. Used to differentiate between marketing/orderable product where other fields of this register are the same (temp range, flash size, voltage range etc)

pub fn pkg(&mut self) -> _PKGW[src]

Bits 16:18 - 18:16] Package type. 0x0: 4x4mm QFN (RHB) package 0x1: 5x5mm QFN (RSM) package 0x2: 7x7mm QFN (RGZ) package 0x3: Wafer sale package (naked die) 0x4: WCSP (YFV) 0x5: 7x7mm QFN package with Wettable Flanks Other values are reserved for future use. Packages available for a specific device are shown in the device datasheet.

pub fn protocol(&mut self) -> _PROTOCOLW[src]

Bits 12:15 - 15:12] Protocols supported. 0x1: BLE 0x2: RF4CE 0x4: Zigbee/6lowpan 0x8: Proprietary More than one protocol can be supported on same device - values above are then combined.

pub fn reserved0(&mut self) -> _RESERVED0W[src]

Bits 0:11 - 11:0] Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior.

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]

impl<T> Same for T

type Output = T

Should always be Self