Struct esp32c3::rtc_cntl::wdtconfig0::W

source ·
pub struct W(_);
Expand description

Register WDTCONFIG0 writer

Implementations

Bits 0:7 - chip reset siginal pulse width

Bit 8 - wdt reset whole chip enable

Bit 9 - pause WDT in sleep

Bit 10 - enable WDT reset APP CPU

Bit 11 - enable WDT reset PRO CPU

Bit 12 - enable WDT in flash boot

Bits 13:15 - system reset counter length

Bits 16:18 - CPU reset counter length

Bits 19:21 - 1: interrupt stage en

Bits 22:24 - 1: interrupt stage en

Bits 25:27 - 1: interrupt stage en

Bits 28:30 - 1: interrupt stage en

Bit 31 - enable rtc wdt

Writes raw bits to the register.

Methods from Deref<Target = W<WDTCONFIG0_SPEC>>

Writes raw bits to the register.

Safety

Read datasheet or reference manual to find what values are allowed to pass.

Trait Implementations

The resulting type after dereferencing.
Dereferences the value.
Mutably dereferences the value.
Converts to this type from the input type.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.