Enum stm32_fmc::SdramTargetBank
source · pub enum SdramTargetBank {
Bank1,
Bank2,
Both,
}
Expand description
Target bank for SDRAM commands
Variants§
Bank1
Targeting the 1st SDRAM bank
Bank2
Targeting the 2nd SDRAM bank
Both
Targeting both SDRAM banks
Trait Implementations§
source§impl Clone for SdramTargetBank
impl Clone for SdramTargetBank
source§fn clone(&self) -> SdramTargetBank
fn clone(&self) -> SdramTargetBank
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SdramTargetBank
impl Debug for SdramTargetBank
source§impl From<u32> for SdramTargetBank
impl From<u32> for SdramTargetBank
source§impl PartialEq<SdramTargetBank> for SdramTargetBank
impl PartialEq<SdramTargetBank> for SdramTargetBank
source§fn eq(&self, other: &SdramTargetBank) -> bool
fn eq(&self, other: &SdramTargetBank) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.