Type Definition atsam4s8c_pac::spi::csr::BITS_R

source ·
pub type BITS_R = FieldReader<u8, BITS_A>;
Expand description

Field BITS reader - Bits Per Transfer

Implementations§

source§

impl BITS_R

source

pub fn variant(&self) -> Option<BITS_A>

Get enumerated values variant

source

pub fn is_8_bit(&self) -> bool

Checks if the value of the field is _8_BIT

source

pub fn is_9_bit(&self) -> bool

Checks if the value of the field is _9_BIT

source

pub fn is_10_bit(&self) -> bool

Checks if the value of the field is _10_BIT

source

pub fn is_11_bit(&self) -> bool

Checks if the value of the field is _11_BIT

source

pub fn is_12_bit(&self) -> bool

Checks if the value of the field is _12_BIT

source

pub fn is_13_bit(&self) -> bool

Checks if the value of the field is _13_BIT

source

pub fn is_14_bit(&self) -> bool

Checks if the value of the field is _14_BIT

source

pub fn is_15_bit(&self) -> bool

Checks if the value of the field is _15_BIT

source

pub fn is_16_bit(&self) -> bool

Checks if the value of the field is _16_BIT