Struct esp32::timg0::wdtconfig0::R

source ·
pub struct R(_);
Expand description

Register WDTCONFIG0 reader

Implementations§

Bit 14 - When set flash boot protection is enabled

Bits 15:17 - length of system reset selection. 0: 100ns 1: 200ns 2: 300ns 3: 400ns 4: 500ns 5: 800ns 6: 1.6us 7: 3.2us

Bits 18:20 - length of CPU reset selection. 0: 100ns 1: 200ns 2: 300ns 3: 400ns 4: 500ns 5: 800ns 6: 1.6us 7: 3.2us

Bit 21 - When set level type interrupt generation is enabled

Bit 22 - When set edge type interrupt generation is enabled

Bits 23:24 - Stage 3 configuration. 0: off 1: interrupt 2: reset CPU 3: reset system

Bits 25:26 - Stage 2 configuration. 0: off 1: interrupt 2: reset CPU 3: reset system

Bits 27:28 - Stage 1 configuration. 0: off 1: interrupt 2: reset CPU 3: reset system

Bits 29:30 - Stage 0 configuration. 0: off 1: interrupt 2: reset CPU 3: reset system

Bit 31 - When set SWDT is enabled

Methods from Deref<Target = R<WDTCONFIG0_SPEC>>§

Reads raw bits from register.

Trait Implementations§

The resulting type after dereferencing.
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.