[][src]Struct cc13x2_cc26x2_hal::aux_ddi0_osc::ctl0::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 xtal_is_24m(&mut self) -> _XTAL_IS_24MW[src]

Bit 31 - 31:31] Set based on the accurate high frequency XTAL.

pub fn reserved30(&mut self) -> _RESERVED30W[src]

Bit 30 - 30:30] 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 bypass_xosc_lf_clk_qual(&mut self) -> _BYPASS_XOSC_LF_CLK_QUALW[src]

Bit 29 - 29:29] Internal. Only to be used through TI provided API.

pub fn bypass_rcosc_lf_clk_qual(&mut self) -> _BYPASS_RCOSC_LF_CLK_QUALW[src]

Bit 28 - 28:28] Internal. Only to be used through TI provided API.

pub fn doubler_start_duration(&mut self) -> _DOUBLER_START_DURATIONW[src]

Bits 26:27 - 27:26] Internal. Only to be used through TI provided API.

pub fn doubler_reset_duration(&mut self) -> _DOUBLER_RESET_DURATIONW[src]

Bit 25 - 25:25] Internal. Only to be used through TI provided API.

pub fn clk_dcdc_src_sel(&mut self) -> _CLK_DCDC_SRC_SELW[src]

Bit 24 - 24:24] Select DCDC clock source. 0: CLK_DCDC is 48 MHz clock from RCOSC or XOSC / HPOSC 1: CLK_DCDC is always 48 MHz clock from RCOSC

pub fn reserved15(&mut self) -> _RESERVED15W[src]

Bits 15:23 - 23:15] 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 hposc_mode_en(&mut self) -> _HPOSC_MODE_ENW[src]

Bit 14 - 14:14] Internal. Only to be used through TI provided API.

pub fn reserved13(&mut self) -> _RESERVED13W[src]

Bit 13 - 13:13] 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 rcosc_lf_trimmed(&mut self) -> _RCOSC_LF_TRIMMEDW[src]

Bit 12 - 12:12] Internal. Only to be used through TI provided API.

pub fn xosc_hf_power_mode(&mut self) -> _XOSC_HF_POWER_MODEW[src]

Bit 11 - 11:11] Internal. Only to be used through TI provided API.

pub fn xosc_lf_dig_bypass(&mut self) -> _XOSC_LF_DIG_BYPASSW[src]

Bit 10 - 10:10] Bypass XOSC_LF and use the digital input clock from AON for the xosc_lf clock. 0: Use 32kHz XOSC as xosc_lf clock source 1: Use digital input (from AON) as xosc_lf clock source. This bit will only have effect when SCLK_LF_SRC_SEL is selecting the xosc_lf as the sclk_lf source. The muxing performed by this bit is not glitch free. The following procedure must be followed when changing this field to avoid glitches on sclk_lf. 1) Set SCLK_LF_SRC_SEL to select any source other than the xosc_lf clock source. 2) Set or clear this bit to bypass or not bypass the xosc_lf. 3) Set SCLK_LF_SRC_SEL to use xosc_lf. It is recommended that either the rcosc_hf or xosc_hf (whichever is currently active) be selected as the source in step 1 above. This provides a faster clock change.

pub fn clk_loss_en(&mut self) -> _CLK_LOSS_ENW[src]

Bit 9 - 9:9] Enable clock loss detection and hence the indicators to the system controller. Checks both SCLK_HF, SCLK_MF and SCLK_LF clock loss indicators. 0: Disable 1: Enable Clock loss detection must be disabled when changing the sclk_lf source. STAT0.SCLK_LF_SRC can be polled to determine when a change to a new sclk_lf source has completed.

pub fn aclk_tdc_src_sel(&mut self) -> _ACLK_TDC_SRC_SELW[src]

Bits 7:8 - 8:7] Source select for aclk_tdc. 00: RCOSC_HF (48MHz) 01: RCOSC_HF (24MHz) 10: XOSC_HF (24MHz) 11: Not used

pub fn aclk_ref_src_sel(&mut self) -> _ACLK_REF_SRC_SELW[src]

Bits 4:6 - 6:4] Source select for aclk_ref 000: RCOSC_HF derived (31.25kHz) 001: XOSC_HF derived (31.25kHz) 010: RCOSC_LF (32kHz) 011: XOSC_LF (32.768kHz) 100: RCOSC_MF (2MHz) 101-111: Not used

pub fn sclk_lf_src_sel(&mut self) -> _SCLK_LF_SRC_SELW[src]

Bits 2:3 - 3:2] Source select for sclk_lf

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 sclk_hf_src_sel(&mut self) -> _SCLK_HF_SRC_SELW[src]

Bit 0 - 0:0] Source select for sclk_hf.

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