Enum avr_device::atmega32u4::spi::spcr::SPR_A
source · #[repr(u8)]pub enum SPR_A {
FOSC_4_2 = 0,
FOSC_16_8 = 1,
FOSC_64_32 = 2,
FOSC_128_64 = 3,
}
Expand description
SPI Clock Rate Selects
Value on reset: 0
Variants§
FOSC_4_2 = 0
0: Fosc/4 if SPI2X == 0 else Fosc/2
FOSC_16_8 = 1
1: Fosc/16 if SPI2X == 0 else Fosc/8
FOSC_64_32 = 2
2: Fosc/64 if SPI2X == 0 else Fosc/32
FOSC_128_64 = 3
3: Fosc/128 if SPI2X == 0 else Fosc/64
Trait Implementations§
source§impl PartialEq for SPR_A
impl PartialEq for SPR_A
impl Copy for SPR_A
impl Eq for SPR_A
impl StructuralPartialEq for SPR_A
Auto Trait Implementations§
impl RefUnwindSafe for SPR_A
impl Send for SPR_A
impl Sync for SPR_A
impl Unpin for SPR_A
impl UnwindSafe for SPR_A
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more