Type Definition atsam4s2a_pac::efc0::fcr::FCMD_W

source ·
pub type FCMD_W<'a, const O: u8> = FieldWriter<'a, u32, FCR_SPEC, u8, FCMD_AW, 8, O>;
Expand description

Field FCMD writer - Flash Command

Implementations§

source§

impl<'a, const O: u8> FCMD_W<'a, O>

source

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

Get Flash descriptor

source

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

Write page

source

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

Write page and lock

source

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

Erase page and write page

source

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

Erase page and write page then lock

source

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

Erase all

source

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

Erase pages

source

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

Set lock bit

source

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

Clear lock bit

source

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

Get lock bit

source

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

Set GPNVM bit

source

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

Clear GPNVM bit

source

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

Get GPNVM bit

source

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

Start read unique identifier

source

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

Stop read unique identifier

source

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

Get CALIB bit

source

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

Erase sector

source

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

Write user signature

source

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

Erase user signature

source

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

Start read user signature

source

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

Stop read user signature