Type Alias atsame70n21b::qspi::ifr::OPTL_W
source · pub type OPTL_W<'a, const O: u8> = FieldWriterSafe<'a, IFR_SPEC, 2, O, OPTLSELECT_A>;
Expand description
Field OPTL
writer - Option Code Length
Aliased Type§
struct OPTL_W<'a, const O: u8> { /* private fields */ }
Implementations§
source§impl<'a, const O: u8> OPTL_W<'a, O>
impl<'a, const O: u8> OPTL_W<'a, O>
sourcepub fn option_1bit(self) -> &'a mut W
pub fn option_1bit(self) -> &'a mut W
The option code is 1 bit long.
sourcepub fn option_2bit(self) -> &'a mut W
pub fn option_2bit(self) -> &'a mut W
The option code is 2 bits long.
sourcepub fn option_4bit(self) -> &'a mut W
pub fn option_4bit(self) -> &'a mut W
The option code is 4 bits long.
sourcepub fn option_8bit(self) -> &'a mut W
pub fn option_8bit(self) -> &'a mut W
The option code is 8 bits long.