Enum avr_device::atmega328p::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§
impl Copy for SPR_A
impl Eq for SPR_A
impl StructuralPartialEq for SPR_A
Auto Trait Implementations§
impl Freeze for SPR_A
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)