pub struct W(_);
Expand description

Register U5_CONF0 writer

Implementations

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

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

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

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

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

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

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

Bits 16:17 - This register is used to control the mode of channel0’s input negedge signal for unit5. 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 unit5. 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 unit5. 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 unit5. 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 unit5. 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 unit5. 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 unit5. 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 unit5. 2’d0:increase when control signal is low 2’d1: decrease when control signal is high others:forbidden

Writes raw bits to the register.

Methods from Deref<Target = W<U5_CONF0_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.