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

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

pub fn ver(&self) -> VERR[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(&self) -> PAR[src]

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

pub fn reserved24(&self) -> RESERVED24R[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(&self) -> CC13R[src]

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

pub fn sequence(&self) -> SEQUENCER[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(&self) -> PKGR[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(&self) -> PROTOCOLR[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(&self) -> RESERVED0R[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 R

impl Sync for R

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