pub enum StmLine {
F401BC,
F401DE,
F411,
F427_F437,
F413_F423,
F4x5,
F446,
F103,
Unknown,
}Expand description
STM32 product line
Variants§
F401BC
STM32F401B/C
F401DE
STM32F401D/E
F411
STM32F411
F427_F437
STM32F427/437
F413_F423
STM32F413/423
F4x5
STM32F405/415/07/17
F446
STM32F446
F103
STM32F103
Unknown
Unknown STM32 line
Implementations§
Source§impl StmLine
impl StmLine
Sourcepub fn ram_size_bytes(&self) -> Option<u32>
pub fn ram_size_bytes(&self) -> Option<u32>
Returns the STM32’s RAM size in bytes if available.
Only main SRAM is reported. CCM RAM, if present, is not included.
Use Self::ccm_ram_size_bytes to get the CCM RAM size.
Sourcepub fn ram_size_kb(&self) -> Option<u32>
pub fn ram_size_kb(&self) -> Option<u32>
Returns the STM32’s RAM size in KB if available.
Only main SRAM is reported. CCM RAM, if present, is not included.
Use Self::ccm_ram_size_kb to get the CCM RAM size
Sourcepub fn ccm_ram_size_bytes(&self) -> Option<u32>
pub fn ccm_ram_size_bytes(&self) -> Option<u32>
Returns the STM32’s CCM RAM size in bytes if available.
Sourcepub fn ccm_ram_size_kb(&self) -> Option<u32>
pub fn ccm_ram_size_kb(&self) -> Option<u32>
Returns the STM32’s CCM RAM size in KB if available.
Trait Implementations§
impl Copy for StmLine
impl Eq for StmLine
impl StructuralPartialEq for StmLine
Auto Trait Implementations§
impl Freeze for StmLine
impl RefUnwindSafe for StmLine
impl Send for StmLine
impl Sync for StmLine
impl Unpin for StmLine
impl UnsafeUnpin for StmLine
impl UnwindSafe for StmLine
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