Type Definition atsam4lc8a_pac::spi::wpsr::WPVS_R

source ·
pub type WPVS_R = FieldReader<u8, WPVSSELECT_A>;
Expand description

Field WPVS reader - Write Protection Violation Status

Implementations§

source§

impl WPVS_R

source

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

Get enumerated values variant

source

pub fn is_write_with_wp(&self) -> bool

Checks if the value of the field is WRITE_WITH_WP

source

pub fn is_swrst_with_wp(&self) -> bool

Checks if the value of the field is SWRST_WITH_WP

source

pub fn is_unexpected_write(&self) -> bool

Checks if the value of the field is UNEXPECTED_WRITE