[][src]Struct bl602_pac::hbn::hbn_ctl::W

pub struct W(_);

Register HBN_CTL writer

Implementations

impl W[src]

pub fn hbn_state(&mut self) -> HBN_STATE_W[src]

Bits 28:31

pub fn sram_slp(&mut self) -> SRAM_SLP_W[src]

Bit 27

pub fn sram_slp_option(&mut self) -> SRAM_SLP_OPTION_W[src]

Bit 26

pub fn pwr_on_option(&mut self) -> PWR_ON_OPTION_W[src]

Bit 25

pub fn rtc_dly_option(&mut self) -> RTC_DLY_OPTION_W[src]

Bit 24

pub fn pu_dcdc18_aon(&mut self) -> PU_DCDC18_AON_W[src]

Bit 23

pub fn hbn_ldo11_aon_vout_sel(&mut self) -> HBN_LDO11_AON_VOUT_SEL_W[src]

Bits 19:22

pub fn hbn_ldo11_rt_vout_sel(&mut self) -> HBN_LDO11_RT_VOUT_SEL_W[src]

Bits 15:18

pub fn hbn_dis_pwr_off_ldo11_rt(&mut self) -> HBN_DIS_PWR_OFF_LDO11_RT_W[src]

Bit 14

pub fn hbn_dis_pwr_off_ldo11(&mut self) -> HBN_DIS_PWR_OFF_LDO11_W[src]

Bit 13

pub fn sw_rst(&mut self) -> SW_RST_W[src]

Bit 12

pub fn pwrdn_hbn_rtc(&mut self) -> PWRDN_HBN_RTC_W[src]

Bit 11

pub fn pwrdn_hbn_core(&mut self) -> PWRDN_HBN_CORE_W[src]

Bit 9

pub fn trap_mode(&mut self) -> TRAP_MODE_W[src]

Bit 8

pub fn hbn_mode(&mut self) -> HBN_MODE_W[src]

Bit 7

pub fn rtc_ctl(&mut self) -> RTC_CTL_W[src]

Bits 0:6

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self[src]

Writes raw bits to the register.

Methods from Deref<Target = W<HBN_CTL_SPEC>>

pub unsafe fn bits(&mut self, bits: REG::Ux) -> &mut Self[src]

Writes raw bits to the register.

Trait Implementations

impl Deref for W[src]

type Target = W<HBN_CTL_SPEC>

The resulting type after dereferencing.

impl DerefMut for W[src]

impl From<W<HBN_CTL_SPEC>> for W[src]

Auto Trait Implementations

impl Send for W

impl Sync for W

impl Unpin for W

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.