[][src]Struct imxrt1062_fcb_gen::Builder

pub struct Builder {
    pub read_sample_clock_source: ReadSampleClockSource,
    pub cs_hold_time: CSHoldTime,
    pub cs_setup_time: CSSetupTime,
    pub column_address_width: ColumnAddressWidth,
    pub device_mode_configuration: DeviceModeConfiguration,
    pub wait_time_cfg_commands: WaitTimeConfigurationCommands,
    pub device_mode_seq: DeviceModeSequence,
    pub device_type: DeviceType,
    pub serial_flash_pad_type: FlashPadType,
    pub serial_clk_freq: SerialClockFrequency,
    pub flash_a1_size: SerialFlashSize<A1>,
    pub flash_a2_size: SerialFlashSize<A2>,
    pub flash_b1_size: SerialFlashSize<B1>,
    pub flash_b2_size: SerialFlashSize<B2>,
    pub lookup_table: LookupTable,
}

Builder for a firmware configuration block definition

See the documentation on the types for more information.

Fields

read_sample_clock_source: ReadSampleClockSourcecs_hold_time: CSHoldTimecs_setup_time: CSSetupTimecolumn_address_width: ColumnAddressWidthdevice_mode_configuration: DeviceModeConfigurationwait_time_cfg_commands: WaitTimeConfigurationCommandsdevice_mode_seq: DeviceModeSequencedevice_type: DeviceTypeserial_flash_pad_type: FlashPadTypeserial_clk_freq: SerialClockFrequencyflash_a1_size: SerialFlashSize<A1>flash_a2_size: SerialFlashSize<A2>flash_b1_size: SerialFlashSize<B1>flash_b2_size: SerialFlashSize<B2>lookup_table: LookupTable

Methods

impl Builder[src]

pub fn build(self) -> Result<FCB, Box<dyn Error>>[src]

Turns the Builder into an FCB, or returns an error if there is something incorrect.

Panics

build may panic if there is an error in the implementation that ends up writing a field to a reserved offset in the FCB.

Auto Trait Implementations

impl RefUnwindSafe for Builder

impl Send for Builder

impl Sync for Builder

impl Unpin for Builder

impl UnwindSafe for Builder

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.