atsamd21g::i2s::serctrl

Type Alias ExtendR

Source
pub type ExtendR = FieldReader<Extendselect>;
Expand description

Field EXTEND reader - Data Formatting Bit Extension

Aliased Type§

struct ExtendR { /* private fields */ }

Implementations§

Source§

impl ExtendR

Source

pub const fn variant(&self) -> Extendselect

Get enumerated values variant

Source

pub fn is_zero(&self) -> bool

Extend with zeroes

Source

pub fn is_one(&self) -> bool

Extend with ones

Source

pub fn is_msbit(&self) -> bool

Extend with Most Significant Bit

Source

pub fn is_lsbit(&self) -> bool

Extend with Least Significant Bit