pub enum PULSEDIVR {
    _3_DIV_16_X_BAUD_RATE,
    _2_X_TPCLK,
    _4_X_TPCLK,
    _8_X_TPCLK,
    _16_X_TPCLK,
    _32_X_TPCLK,
    _64_X_TPCLK,
    _128_X_TPCLK,
}
Expand description

Possible values of the field PULSEDIV

Variants§

§

_3_DIV_16_X_BAUD_RATE

3 / (16 x baud rate)

§

_2_X_TPCLK

2 x TPCLK

§

_4_X_TPCLK

4 x TPCLK

§

_8_X_TPCLK

8 x TPCLK

§

_16_X_TPCLK

16 x TPCLK

§

_32_X_TPCLK

32 x TPCLK

§

_64_X_TPCLK

64 x TPCLK

§

_128_X_TPCLK

128 x TPCLK

Implementations§

Value of the field as raw bits

Checks if the value of the field is _3_DIV_16_X_BAUD_RATE

Checks if the value of the field is _2_X_TPCLK

Checks if the value of the field is _4_X_TPCLK

Checks if the value of the field is _8_X_TPCLK

Checks if the value of the field is _16_X_TPCLK

Checks if the value of the field is _32_X_TPCLK

Checks if the value of the field is _64_X_TPCLK

Checks if the value of the field is _128_X_TPCLK

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

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.

Should always be Self
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.