Struct esp32_hal::pac::pcnt::u3_conf0::R

pub struct R(_);
Expand description

Register U3_CONF0 reader

Implementations§

Bits 0:9 - This register is used to filter pluse whose width is smaller than this value for unit3.

Bit 10 - This is the enable bit for filtering input signals for unit3.

Bit 11 - This is the enable bit for comparing unit3’s count with 0 value.

Bit 12 - This is the enable bit for comparing unit3’s count with thr_h_lim value.

Bit 13 - This is the enable bit for comparing unit3’s count with thr_l_lim value.

Bit 14 - This is the enable bit for comparing unit3’s count with thres0 value.

Bit 15 - This is the enable bit for comparing unit3’s count with thres1 value .

Bits 16:17 - This register is used to control the mode of channel0’s input negedge signal for unit3. 2’d1: increase at the negedge of input signal 2’d2:decrease at the negedge of input signal others:forbidden

Bits 18:19 - This register is used to control the mode of channel0’s input posedge signal for unit3. 2’d1: increase at the posedge of input signal 2’d2:decrease at the posedge of input signal others:forbidden

Bits 20:21 - This register is used to control the mode of channel0’s high control signal for unit3. 2’d0:increase when control signal is low 2’d1: decrease when control signal is high others:forbidden

Bits 22:23 - This register is used to control the mode of channel0’s low control signal for unit3. 2’d0:increase when control signal is low 2’d1: decrease when control signal is high others:forbidden

Bits 24:25 - This register is used to control the mode of channel1’s input negedge signal for unit3. 2’d1: increase at the negedge of input signal 2’d2:decrease at the negedge of input signal others:forbidden

Bits 26:27 - This register is used to control the mode of channel1’s input posedge signal for unit3. 2’d1: increase at the posedge of input signal 2’d2:decrease at the posedge of input signal others:forbidden

Bits 28:29 - This register is used to control the mode of channel1’s high control signal for unit3. 2’d0:increase when control signal is low 2’d1: decrease when control signal is high others:forbidden

Bits 30:31 - This register is used to control the mode of channel1’s low control signal for unit3. 2’d0:increase when control signal is low 2’d1: decrease when control signal is high others:forbidden

Methods from Deref<Target = R<U3_CONF0_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.