Enum efm32gg11b_pac::efm32gg11b840::usb::dthrctl::AHBTHRRATIO_A
source · #[repr(u8)]
pub enum AHBTHRRATIO_A {
DIV1,
DIV2,
DIV4,
DIV8,
}
Expand description
AHB Threshold Ratio
Value on reset: 0
Variants§
DIV1
0: AHB threshold = MAC threshold.
DIV2
1: AHB threshold = MAC threshold / 2.
DIV4
2: AHB threshold = MAC threshold / 4.
DIV8
3: AHB threshold = MAC threshold / 8.
Trait Implementations§
source§impl Clone for AHBTHRRATIO_A
impl Clone for AHBTHRRATIO_A
source§fn clone(&self) -> AHBTHRRATIO_A
fn clone(&self) -> AHBTHRRATIO_A
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 AHBTHRRATIO_A
impl Debug for AHBTHRRATIO_A
source§impl From<AHBTHRRATIO_A> for u8
impl From<AHBTHRRATIO_A> for u8
source§fn from(variant: AHBTHRRATIO_A) -> Self
fn from(variant: AHBTHRRATIO_A) -> Self
Converts to this type from the input type.
source§impl PartialEq<AHBTHRRATIO_A> for AHBTHRRATIO_A
impl PartialEq<AHBTHRRATIO_A> for AHBTHRRATIO_A
source§fn eq(&self, other: &AHBTHRRATIO_A) -> bool
fn eq(&self, other: &AHBTHRRATIO_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.