#[repr(C)]pub struct OB_TypeDef {
pub RDP: u8,
pub USER: u8,
pub nRDP: u8,
pub nUSER: u8,
pub SDK_STRT: u8,
pub SDK_END: u8,
pub nSDK_STRT: u8,
pub nSDK_END: u8,
pub RESERVED1: u32,
pub WRP: u16,
pub nWRP: u16,
}Expand description
@brief Option Bytes
Fields§
§RDP: u8< FLASH option byte Read protection, Address offset: 0x00
USER: u8< FLASH option byte user options, Address offset: 0x01
nRDP: u8< Complemented FLASH option byte Read protection,Address offset: 0x02
nUSER: u8< Complemented FLASH option byte user options, Address offset: 0x03
SDK_STRT: u8< SDK area start address(stored in SDK[4:0]), Address offset: 0x04
SDK_END: u8< SDK area end address(stored in SDK[12:8]), Address offset: 0x05
nSDK_STRT: u8< Complemented SDK area start address, Address offset: 0x06
nSDK_END: u8< Complemented SDK area end address, Address offset: 0x07
RESERVED1: u32< RESERVED1, Address offset: 0x08
WRP: u16< FLASH option byte write protection, Address offset: 0x0C
nWRP: u16< Complemented FLASH option byte write protection,Address offset: 0x0E
Trait Implementations§
Source§impl Clone for OB_TypeDef
impl Clone for OB_TypeDef
Source§fn clone(&self) -> OB_TypeDef
fn clone(&self) -> OB_TypeDef
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more