Struct gd32f1::gd32f130::fmc::RegisterBlock[][src]

#[repr(C)]pub struct RegisterBlock {
    pub ws: WS,
    pub key: KEY,
    pub obkey: OBKEY,
    pub stat: STAT,
    pub ctl: CTL,
    pub addr: ADDR,
    pub obstat: OBSTAT,
    pub wp: WP,
    pub wsen: WSEN,
    pub pid: PID,
    // some fields omitted
}

Register block

Fields

ws: WS

0x00 - Wait state register

key: KEY

0x04 - Flash unlock key register

obkey: OBKEY

0x08 - Flash option byte unlock key register

stat: STAT

0x0c - Flash status register

ctl: CTL

0x10 - Flash control register

addr: ADDR

0x14 - Flash address register

obstat: OBSTAT

0x1c - Option byte status register

wp: WP

0x20 - Write protection register

wsen: WSEN

0xfc - Flash wait state control register

pid: PID

0x100 - Flash Product ID register

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

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> 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.