[][src]Struct stm32h7::stm32h743::flash::cr2::W

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W[src]

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self[src]

Writes raw bits to the register

pub fn lock2(&mut self) -> _LOCK2W[src]

Bit 0 - Bank 2 configuration lock bit

pub fn pg2(&mut self) -> _PG2W[src]

Bit 1 - Bank 2 program enable bit

pub fn ser2(&mut self) -> _SER2W[src]

Bit 2 - Bank 2 sector erase request

pub fn ber2(&mut self) -> _BER2W[src]

Bit 3 - Bank 2 erase request

pub fn psize2(&mut self) -> _PSIZE2W[src]

Bits 4:5 - Bank 2 program size

pub fn fw2(&mut self) -> _FW2W[src]

Bit 6 - Bank 2 write forcing control bit

pub fn start2(&mut self) -> _START2W[src]

Bit 7 - Bank 2 bank or sector erase start control bit

pub fn snb2(&mut self) -> _SNB2W[src]

Bits 8:10 - Bank 2 sector erase selection number

pub fn crc_en(&mut self) -> _CRC_ENW[src]

Bit 15 - Bank 2 CRC control bit

pub fn eopie2(&mut self) -> _EOPIE2W[src]

Bit 16 - Bank 2 end-of-program interrupt control bit

pub fn wrperrie2(&mut self) -> _WRPERRIE2W[src]

Bit 17 - Bank 2 write protection error interrupt enable bit

pub fn pgserrie2(&mut self) -> _PGSERRIE2W[src]

Bit 18 - Bank 2 programming sequence error interrupt enable bit

pub fn strberrie2(&mut self) -> _STRBERRIE2W[src]

Bit 19 - Bank 2 strobe error interrupt enable bit

pub fn incerrie2(&mut self) -> _INCERRIE2W[src]

Bit 21 - Bank 2 inconsistency error interrupt enable bit

pub fn operrie2(&mut self) -> _OPERRIE2W[src]

Bit 22 - Bank 2 write/erase error interrupt enable bit

pub fn rdperrie2(&mut self) -> _RDPERRIE2W[src]

Bit 23 - Bank 2 read protection error interrupt enable bit

pub fn rdserrie2(&mut self) -> _RDSERRIE2W[src]

Bit 24 - Bank 2 secure error interrupt enable bit

pub fn sneccerrie2(&mut self) -> _SNECCERRIE2W[src]

Bit 25 - Bank 2 ECC single correction error interrupt enable bit

pub fn dbeccerrie2(&mut self) -> _DBECCERRIE2W[src]

Bit 26 - Bank 2 ECC double detection error interrupt enable bit

pub fn crcendie2(&mut self) -> _CRCENDIE2W[src]

Bit 27 - Bank 2 end of CRC calculation interrupt enable bit

Auto Trait Implementations

impl Unpin for W

impl Sync for W

impl Send for W

Blanket Implementations

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self