Type Alias atsame54n::qspi::instrframe::OPTCODELEN_W

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

Field OPTCODELEN writer - Option Code Length

Aliased Type§

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

Implementations§

source§

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

source

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

1-bit length option code

source

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

2-bits length option code

source

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

4-bits length option code

source

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

8-bits length option code