Type Definition atsam4s2a_pac::chipid::cidr::NVPTYP_R

source ·
pub type NVPTYP_R = FieldReader<u8, NVPTYP_A>;
Expand description

Field NVPTYP reader - Nonvolatile Program Memory Type

Implementations§

source§

impl NVPTYP_R

source

pub fn variant(&self) -> Option<NVPTYP_A>

Get enumerated values variant

source

pub fn is_rom(&self) -> bool

Checks if the value of the field is ROM

source

pub fn is_romless(&self) -> bool

Checks if the value of the field is ROMLESS

source

pub fn is_flash(&self) -> bool

Checks if the value of the field is FLASH

source

pub fn is_rom_flash(&self) -> bool

Checks if the value of the field is ROM_FLASH

source

pub fn is_sram(&self) -> bool

Checks if the value of the field is SRAM