Type Definition atsam4ls8b_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
impl WPVS_R
sourcepub fn variant(&self) -> Option<WPVSSELECT_A>
pub fn variant(&self) -> Option<WPVSSELECT_A>
Get enumerated values variant
sourcepub fn is_write_with_wp(&self) -> bool
pub fn is_write_with_wp(&self) -> bool
Checks if the value of the field is WRITE_WITH_WP
sourcepub fn is_swrst_with_wp(&self) -> bool
pub fn is_swrst_with_wp(&self) -> bool
Checks if the value of the field is SWRST_WITH_WP
sourcepub fn is_unexpected_write(&self) -> bool
pub fn is_unexpected_write(&self) -> bool
Checks if the value of the field is UNEXPECTED_WRITE