Struct Cr
#[repr(transparent)]pub struct Cr(pub u32);Expand description
FLASH control register for bank 1
Tuple Fields§
§0: u32Implementations§
§impl Cr
impl Cr
pub const fn spss(&self) -> bool
pub const fn spss(&self) -> bool
Special sector selection (1: non-user, special sectors selected). Only in the bank 2 register (FLASH_CR2), reserved in FLASH_CR1. Not on RM0468 devices.
pub const fn set_spss(&mut self, val: bool)
pub const fn set_spss(&mut self, val: bool)
Special sector selection (1: non-user, special sectors selected). Only in the bank 2 register (FLASH_CR2), reserved in FLASH_CR1. Not on RM0468 devices.
pub const fn set_crc_en(&mut self, val: bool)
pub const fn set_crc_en(&mut self, val: bool)
Bank 1 CRC control bit
pub const fn set_wrperrie(&mut self, val: bool)
pub const fn set_wrperrie(&mut self, val: bool)
Bank 1 write protection error interrupt enable bit
pub const fn set_pgserrie(&mut self, val: bool)
pub const fn set_pgserrie(&mut self, val: bool)
Bank 1 programming sequence error interrupt enable bit
pub const fn set_strberrie(&mut self, val: bool)
pub const fn set_strberrie(&mut self, val: bool)
Bank 1 strobe error interrupt enable bit
pub const fn set_incerrie(&mut self, val: bool)
pub const fn set_incerrie(&mut self, val: bool)
Bank 1 inconsistency error interrupt enable bit
pub const fn set_operrie(&mut self, val: bool)
pub const fn set_operrie(&mut self, val: bool)
Bank 1 write/erase error interrupt enable bit
pub const fn set_rdperrie(&mut self, val: bool)
pub const fn set_rdperrie(&mut self, val: bool)
Bank 1 read protection error interrupt enable bit
pub const fn set_rdserrie(&mut self, val: bool)
pub const fn set_rdserrie(&mut self, val: bool)
Bank 1 secure error interrupt enable bit
pub const fn sneccerrie(&self) -> bool
pub const fn sneccerrie(&self) -> bool
Bank 1 ECC single correction error interrupt enable bit
pub const fn set_sneccerrie(&mut self, val: bool)
pub const fn set_sneccerrie(&mut self, val: bool)
Bank 1 ECC single correction error interrupt enable bit
pub const fn dbeccerrie(&self) -> bool
pub const fn dbeccerrie(&self) -> bool
Bank 1 ECC double detection error interrupt enable bit
pub const fn set_dbeccerrie(&mut self, val: bool)
pub const fn set_dbeccerrie(&mut self, val: bool)
Bank 1 ECC double detection error interrupt enable bit
pub const fn set_crcendie(&mut self, val: bool)
pub const fn set_crcendie(&mut self, val: bool)
Bank 1 end of CRC calculation interrupt enable bit
pub const fn crcrderrie(&self) -> bool
pub const fn crcrderrie(&self) -> bool
Bank 1 CRC read error interrupt enable bit
pub const fn set_crcrderrie(&mut self, val: bool)
pub const fn set_crcrderrie(&mut self, val: bool)
Bank 1 CRC read error interrupt enable bit