[][src]Struct cc13x2_cc26x2_hal::ccfg::mode_conf::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 vddr_trim_sleep_delta(&mut self) -> _VDDR_TRIM_SLEEP_DELTAW[src]

Bits 28:31 - 31:28] Signed delta value to apply to the VDDR_TRIM_SLEEP target, minus one. See FCFG1:VOLT_TRIM.VDDR_TRIM_SLEEP_H. 0x8 (-8) : Delta = -7 ... 0xF (-1) : Delta = 0 0x0 (0) : Delta = +1 ... 0x7 (7) : Delta = +8

pub fn dcdc_recharge(&mut self) -> _DCDC_RECHARGEW[src]

Bit 27 - 27:27] DC/DC during recharge in powerdown. 0: Use the DC/DC during recharge in powerdown. 1: Do not use the DC/DC during recharge in powerdown (default). NOTE! The DriverLib function SysCtrl_DCDC_VoltageConditionalControl() must be called regularly to apply this field (handled automatically if using TI RTOS!).

pub fn dcdc_active(&mut self) -> _DCDC_ACTIVEW[src]

Bit 26 - 26:26] DC/DC in active mode. 0: Use the DC/DC during active mode. 1: Do not use the DC/DC during active mode (default). NOTE! The DriverLib function SysCtrl_DCDC_VoltageConditionalControl() must be called regularly to apply this field (handled automatically if using TI RTOS!).

pub fn vddr_ext_load(&mut self) -> _VDDR_EXT_LOADW[src]

Bit 25 - 25:25] Reserved for future use. Software should not rely on the value of a reserved. Writing any other value than the reset/default value may result in undefined behavior.

pub fn vdds_bod_level(&mut self) -> _VDDS_BOD_LEVELW[src]

Bit 24 - 24:24] VDDS BOD level. 0: VDDS BOD level is 2.0V (necessary for external load mode, or for maximum PA output power on CC13xx). 1: VDDS BOD level is 1.8V (or 1.65V for external regulator mode) (default).

pub fn sclk_lf_option(&mut self) -> _SCLK_LF_OPTIONW[src]

Bits 22:23 - 23:22] Select source for SCLK_LF.

pub fn vddr_trim_sleep_tc(&mut self) -> _VDDR_TRIM_SLEEP_TCW[src]

Bit 21 - 21:21] 0x1: VDDR_TRIM_SLEEP_DELTA is not temperature compensated 0x0: RTOS/driver temperature compensates VDDR_TRIM_SLEEP_DELTA every time standby mode is entered. This improves low-temperature RCOSC_LF frequency stability in standby mode. When temperature compensation is performed, the delta is calculates this way: Delta = max (delta, min(8, floor(62-temp)/8)) Here, delta is given by VDDR_TRIM_SLEEP_DELTA, and temp is the current temperature in degrees C.

pub fn rtc_comp(&mut self) -> _RTC_COMPW[src]

Bit 20 - 20:20] Reserved for future use. Software should not rely on the value of a reserved. Writing any other value than the reset/default value may result in undefined behavior.

pub fn xosc_freq(&mut self) -> _XOSC_FREQW[src]

Bits 18:19 - 19:18] Reserved for future use. Software should not rely on the value of a reserved. Writing any other value than the reset/default value may result in undefined behavior.

pub fn xosc_cap_mod(&mut self) -> _XOSC_CAP_MODW[src]

Bit 17 - 17:17] Enable modification (delta) to XOSC cap-array. Value specified in XOSC_CAPARRAY_DELTA. 0: Apply cap-array delta 1: Do not apply cap-array delta (default)

pub fn hf_comp(&mut self) -> _HF_COMPW[src]

Bit 16 - 16:16] Reserved for future use. Software should not rely on the value of a reserved. Writing any other value than the reset/default value may result in undefined behavior.

pub fn xosc_caparray_delta(&mut self) -> _XOSC_CAPARRAY_DELTAW[src]

Bits 8:15 - 15:8] Signed 8-bit value, directly modifying trimmed XOSC cap-array step value. Enabled by XOSC_CAP_MOD.

pub fn vddr_cap(&mut self) -> _VDDR_CAPW[src]

Bits 0:7 - 7:0] Unsigned 8-bit integer, representing the minimum decoupling capacitance (worst case) on VDDR, in units of 100nF. This should take into account capacitor tolerance and voltage dependent capacitance variation. This bit affects the recharge period calculation when going into powerdown or standby. NOTE! If using the following functions this field must be configured (used by TI RTOS): SysCtrlSetRechargeBeforePowerDown() SysCtrlAdjustRechargeAfterPowerDown()

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