Struct stm32_metapac::flash::regs::Crccr
#[repr(transparent)]pub struct Crccr(pub u32);
Expand description
FLASH CRC control register for bank 1
Tuple Fields§
§0: u32
Implementations§
§impl Crccr
impl Crccr
pub fn set_crc_sect(&mut self, val: u8)
pub fn set_crc_sect(&mut self, val: u8)
Bank 1 CRC sector number
pub fn set_all_bank(&mut self, val: bool)
pub fn set_all_bank(&mut self, val: bool)
Bank 1 CRC select bit
pub const fn crc_by_sect(&self) -> bool
pub const fn crc_by_sect(&self) -> bool
Bank 1 CRC sector mode select bit
pub fn set_crc_by_sect(&mut self, val: bool)
pub fn set_crc_by_sect(&mut self, val: bool)
Bank 1 CRC sector mode select bit
pub fn set_add_sect(&mut self, val: bool)
pub fn set_add_sect(&mut self, val: bool)
Bank 1 CRC sector select bit
pub const fn clean_sect(&self) -> bool
pub const fn clean_sect(&self) -> bool
Bank 1 CRC sector list clear bit
pub fn set_clean_sect(&mut self, val: bool)
pub fn set_clean_sect(&mut self, val: bool)
Bank 1 CRC sector list clear bit
pub fn set_start_crc(&mut self, val: bool)
pub fn set_start_crc(&mut self, val: bool)
Bank 1 CRC start bit
pub fn set_clean_crc(&mut self, val: bool)
pub fn set_clean_crc(&mut self, val: bool)
Bank 1 CRC clear bit
pub fn set_crc_burst(&mut self, val: u8)
pub fn set_crc_burst(&mut self, val: u8)
Bank 1 CRC burst size
Trait Implementations§
impl Copy for Crccr
impl Eq for Crccr
impl StructuralEq for Crccr
impl StructuralPartialEq for Crccr
Auto Trait Implementations§
impl RefUnwindSafe for Crccr
impl Send for Crccr
impl Sync for Crccr
impl Unpin for Crccr
impl UnwindSafe for Crccr
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more