opentitanlib::spiflash::sfdp

Struct JedecParamsRevB

Source
pub struct JedecParamsRevB {
Show 32 fields pub page_size: u32, pub page_program_time: TimeBound, pub byte_program_time: TimeBound, pub additional_byte_program_time: TimeBound, pub chip_erase_time: TimeBound, pub suspend_resume_supported: bool, pub prohibited_ops_program_suspend: u8, pub prohibited_ops_erase_suspend: u8, pub program_resume_to_suspend: Duration, pub suspend_in_progress_program_latency: Duration, pub erase_resume_to_suspend: Duration, pub suspend_in_progress_erase_latency: Duration, pub program_resume_instruction: u8, pub program_suspend_instruction: u8, pub resume_instruction: u8, pub suspend_instruction: u8, pub deep_powerdown_supported: bool, pub enter_deep_powerdown_instruction: u8, pub exit_deep_powerdown_instruction: u8, pub exit_deep_powerdown_delay: Duration, pub status_register_polling: u8, pub hold_or_reset_disable: bool, pub quad_enable_requirements: u8, pub mode_444_entry: u8, pub mode_444_exit: u8, pub mode_444_supported: bool, pub mode_444_disable: u8, pub mode_444_enable: u8, pub enter_4b_addressing: u8, pub exit_4b_addressing: u16, pub soft_reset_support: u8, pub status_reg1_write_enable: u8,
}
Expand description

The Rev B extensions to the JEDEC parameters table.

Fields§

§page_size: u32§page_program_time: TimeBound§byte_program_time: TimeBound§additional_byte_program_time: TimeBound§chip_erase_time: TimeBound§suspend_resume_supported: bool§prohibited_ops_program_suspend: u8§prohibited_ops_erase_suspend: u8§program_resume_to_suspend: Duration§suspend_in_progress_program_latency: Duration§erase_resume_to_suspend: Duration§suspend_in_progress_erase_latency: Duration§program_resume_instruction: u8§program_suspend_instruction: u8§resume_instruction: u8§suspend_instruction: u8§deep_powerdown_supported: bool§enter_deep_powerdown_instruction: u8§exit_deep_powerdown_instruction: u8§exit_deep_powerdown_delay: Duration§status_register_polling: u8§hold_or_reset_disable: bool§quad_enable_requirements: u8§mode_444_entry: u8§mode_444_exit: u8§mode_444_supported: bool§mode_444_disable: u8§mode_444_enable: u8§enter_4b_addressing: u8§exit_4b_addressing: u16§soft_reset_support: u8§status_reg1_write_enable: u8

Trait Implementations§

Source§

impl Annotate for &JedecParamsRevB

Source§

fn format(&self, variant: Option<&str>, field: &MemberId<'_>) -> Option<Format>

Source§

fn comment(&self, variant: Option<&str>, field: &MemberId<'_>) -> Option<String>

Source§

fn as_annotate(&self) -> Option<&dyn Annotate>

§

fn thunk_serialize( &self, serializer: &mut AnnotatedSerializer<'_>, ) -> Result<Document, Error>

Source§

impl Annotate for JedecParamsRevB

Source§

fn format(&self, _variant: Option<&str>, field: &MemberId<'_>) -> Option<Format>

Source§

fn comment( &self, _variant: Option<&str>, field: &MemberId<'_>, ) -> Option<String>

Source§

fn as_annotate(&self) -> Option<&dyn Annotate>

§

fn thunk_serialize( &self, serializer: &mut AnnotatedSerializer<'_>, ) -> Result<Document, Error>

Source§

impl Debug for JedecParamsRevB

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for JedecParamsRevB

Source§

fn default() -> JedecParamsRevB

Returns the “default value” for a type. Read more
Source§

impl Serialize for JedecParamsRevB

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

§

impl<T> Annotate for T
where T: Serialize + ?Sized,

§

default fn format( &self, _variant: Option<&str>, _field: &MemberId<'_>, ) -> Option<Format>

§

default fn comment( &self, _variant: Option<&str>, _field: &MemberId<'_>, ) -> Option<String>

§

default fn as_annotate(&self) -> Option<&dyn Annotate>

§

default fn thunk_serialize( &self, serializer: &mut AnnotatedSerializer<'_>, ) -> Result<Document, Error>

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T, U> ConsoleSend<T> for U
where T: ConsoleDevice + ?Sized, U: Serialize,

Source§

fn send(&self, device: &T) -> Result<(), Error>

Source§

fn send_with_crc(&self, device: &T) -> Result<(), Error>

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> Serialize for T
where T: Serialize + ?Sized,

Source§

fn erased_serialize(&self, serializer: &mut dyn Serializer) -> Result<(), Error>

Source§

fn do_erased_serialize( &self, serializer: &mut dyn Serializer, ) -> Result<(), ErrorImpl>

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V