#[repr(u32)]
pub enum ECP5IDCODE {
    LFE5U_12,
    LFE5U_25,
    LFE5U_45,
    LFE5U_85,
    LFE5UM_25,
    LFE5UM_45,
    LFE5UM_85,
    LFE5UM5G_25,
    LFE5UM5G_45,
    LFE5UM5G_85,
}
Expand description

IDCODEs for all ECP5 device types.

Variants

LFE5U_12

LFE5U_25

LFE5U_45

LFE5U_85

LFE5UM_25

LFE5UM_45

LFE5UM_85

LFE5UM5G_25

LFE5UM5G_45

LFE5UM5G_85

Implementations

Returns whether the provided IDCODE is considered compatible with this IDCODE.

IDCODEs considered compatible:

  • LFE5U_12, LFE5U_25, LFE5UM_25, LFE5UM5G_25
  • LFE5U_45, LFE5UM_45, LFE5UM5G_45
  • LFE5U_85, LFE5UM_85, LFE5UM5G_85

Number of configuration bits per frame.

Returns (pad_bits_before_frame, bits_per_frame, pad_bits_after_frame).

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
Converts to this type from the input type.
Converts to this type from the input type.
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
The type returned in the event of a conversion error.
Performs the conversion.

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 resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
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.