Struct Flashsizer
#[repr(transparent)]pub struct Flashsizer(pub u32);Expand description
FLASH size data register
Tuple Fields§
§0: u32Implementations§
§impl Flashsizer
impl Flashsizer
pub const fn flash_size(&self) -> u16
pub const fn flash_size(&self) -> u16
Flash memory size in Kbytes
pub fn set_flash_size(&mut self, val: u16)
pub fn set_flash_size(&mut self, val: u16)
Flash memory size in Kbytes
pub fn set_ram_size(&mut self, val: u16)
pub fn set_ram_size(&mut self, val: u16)
RAM memory size in Kbytes
Trait Implementations§
§impl Clone for Flashsizer
impl Clone for Flashsizer
§fn clone(&self) -> Flashsizer
fn clone(&self) -> Flashsizer
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for Flashsizer
impl Debug for Flashsizer
§impl Default for Flashsizer
impl Default for Flashsizer
§fn default() -> Flashsizer
fn default() -> Flashsizer
Returns the “default value” for a type. Read more
§impl PartialEq for Flashsizer
impl PartialEq for Flashsizer
impl Copy for Flashsizer
impl Eq for Flashsizer
impl StructuralPartialEq for Flashsizer
Auto Trait Implementations§
impl Freeze for Flashsizer
impl RefUnwindSafe for Flashsizer
impl Send for Flashsizer
impl Sync for Flashsizer
impl Unpin for Flashsizer
impl UnwindSafe for Flashsizer
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