Type Alias avr_device::atmega2560::spi::spcr::SPR_W
source · pub type SPR_W<'a, const O: u8> = FieldWriterSafe<'a, u8, SPCR_SPEC, u8, SPR_A, 2, O>;Expand description
Field SPR writer - SPI Clock Rate Selects
Aliased Type§
struct SPR_W<'a, const O: u8> { /* private fields */ }Implementations§
source§impl<'a, const O: u8> SPR_W<'a, O>
impl<'a, const O: u8> SPR_W<'a, O>
sourcepub fn fosc_64_32(self) -> &'a mut W
pub fn fosc_64_32(self) -> &'a mut W
Fosc/64 if SPI2X == 0 else Fosc/32
sourcepub fn fosc_128_64(self) -> &'a mut W
pub fn fosc_128_64(self) -> &'a mut W
Fosc/128 if SPI2X == 0 else Fosc/64