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>

source

pub fn option_1bit(self) -> &'a mut W

The option code is 1 bit long.

source

pub fn option_2bit(self) -> &'a mut W

The option code is 2 bits long.

source

pub fn option_4bit(self) -> &'a mut W

The option code is 4 bits long.

source

pub fn option_8bit(self) -> &'a mut W

The option code is 8 bits long.