Struct d1_pac::rtc::vdd_off_gating_ctrl::W
source · pub struct W(/* private fields */);
Expand description
Register vdd_off_gating_ctrl
writer
Implementations§
source§impl W
impl W
sourcepub fn vccio_det_bypass_en(&mut self) -> VCCIO_DET_BYPASS_EN_W<'_, 0>
pub fn vccio_det_bypass_en(&mut self) -> VCCIO_DET_BYPASS_EN_W<'_, 0>
Bit 0
sourcepub fn vccio_det_spare(&mut self) -> VCCIO_DET_SPARE_W<'_, 4>
pub fn vccio_det_spare(&mut self) -> VCCIO_DET_SPARE_W<'_, 4>
Bits 4:11 - - Bit[7:5]: Reserved, default=0
- Bit[4]: Bypass debounce circuit, defaule=0
- Bit[3]: Enable control, defaule=0
- 0: Disable VCC-IO detection
- 1: Force the detection output
- Bit[2:0]: Gear adjustment
- 000: Detection threshold is 2.5 V
- 001: Detection threshold is 2.6 V
- 010: Detection threshold is 2.7 V (default)
- 011: Detection threshold is 2.8 V
- 100: Detection threshold is 2.9 V
- 101: Detection threshold is 3 V
- 110: N/A
- 111: N/A
sourcepub fn pwroff_gat_rtc_cfg(&mut self) -> PWROFF_GAT_RTC_CFG_W<'_, 15>
pub fn pwroff_gat_rtc_cfg(&mut self) -> PWROFF_GAT_RTC_CFG_W<'_, 15>
Bit 15 - Power off gating control signal
(For Debug Use Only)
When use vdd_sys to RTC isolation software control, write this bit to 1. It will only be cleared by resetb release.
sourcepub fn key_field(&mut self) -> KEY_FIELD_W<'_, 16>
pub fn key_field(&mut self) -> KEY_FIELD_W<'_, 16>
Bits 16:31 - Key Field
This field should be filled with 0x16AA, and then the bit 15 can be configured.
Methods from Deref<Target = W<VDD_OFF_GATING_CTRL_SPEC>>§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for W
impl RefUnwindSafe for W
impl Send for W
impl Sync for W
impl Unpin for W
impl UnwindSafe for W
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more