#[repr(C)]pub struct generalInf {
pub deviceId: c_ushort,
pub flashSize: c_int,
pub bootloaderVersion: c_int,
pub type_: [c_char; 4],
pub cpu: [c_char; 20],
pub name: [c_char; 100],
pub series: [c_char; 100],
pub description: [c_char; 150],
pub revisionId: [c_char; 8],
pub board: [c_char; 100],
}
Expand description
\struct GeneralInf \brief Get device general informations.
Fields§
§deviceId: c_ushort
< Device ID.
flashSize: c_int
< Flash memory size.
bootloaderVersion: c_int
< Bootloader version
type_: [c_char; 4]
< Device MCU or MPU.
cpu: [c_char; 20]
< Cortex CPU.
name: [c_char; 100]
< Device name.
series: [c_char; 100]
< Device serie.
description: [c_char; 150]
< Take notice.
revisionId: [c_char; 8]
< Revision ID.
board: [c_char; 100]
< Board Rpn.
Trait Implementations§
Source§impl Clone for generalInf
impl Clone for generalInf
Source§fn clone(&self) -> generalInf
fn clone(&self) -> generalInf
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 moreSource§impl Debug for generalInf
impl Debug for generalInf
impl Copy for generalInf
Auto Trait Implementations§
impl Freeze for generalInf
impl RefUnwindSafe for generalInf
impl Send for generalInf
impl Sync for generalInf
impl Unpin for generalInf
impl UnwindSafe for generalInf
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