Type Alias avr_device::atmega2560::spi::spcr::SPR_R

source ·
pub type SPR_R = FieldReader<u8, SPR_A>;
Expand description

Field SPR reader - SPI Clock Rate Selects

Aliased Type§

struct SPR_R { /* private fields */ }

Implementations§

source§

impl SPR_R

source

pub fn variant(&self) -> SPR_A

Get enumerated values variant

source

pub fn is_fosc_4_2(&self) -> bool

Checks if the value of the field is FOSC_4_2

source

pub fn is_fosc_16_8(&self) -> bool

Checks if the value of the field is FOSC_16_8

source

pub fn is_fosc_64_32(&self) -> bool

Checks if the value of the field is FOSC_64_32

source

pub fn is_fosc_128_64(&self) -> bool

Checks if the value of the field is FOSC_128_64