Type Alias atsame51g::qspi::instrctrl::W

source ·
pub type W = W<INSTRCTRL_SPEC>;
Expand description

Register INSTRCTRL writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn instr(&mut self) -> INSTR_W<'_, INSTRCTRL_SPEC, 0>

Bits 0:7 - Instruction Code

source

pub fn optcode(&mut self) -> OPTCODE_W<'_, INSTRCTRL_SPEC, 16>

Bits 16:23 - Option Code

source

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual