Type Alias atsame54n::i2s::rxctrl::EXTEND_W

source ·
pub type EXTEND_W<'a, REG, const O: u8> = FieldWriterSafe<'a, REG, 2, O, EXTENDSELECT_A>;
Expand description

Field EXTEND writer - Data Formatting Bit Extension

Aliased Type§

struct EXTEND_W<'a, REG, const O: u8> { /* private fields */ }

Implementations§

source§

impl<'a, REG, const O: u8> EXTEND_W<'a, REG, O>
where REG: Writable + RegisterSpec, REG::Ux: From<u8>,

source

pub fn zero(self) -> &'a mut W<REG>

Extend with zeroes

source

pub fn one(self) -> &'a mut W<REG>

Extend with ones

source

pub fn msbit(self) -> &'a mut W<REG>

Extend with Most Significant Bit

source

pub fn lsbit(self) -> &'a mut W<REG>

Extend with Least Significant Bit