pub struct Abrm {
pub gencp_version: u32,
pub manufacturer_name: String,
pub model_name: String,
pub family_name: String,
pub device_version: String,
pub serial_number: String,
pub user_defined_name: String,
pub manifest_table_address: u64,
pub sbrm_address: u64,
pub device_capability: u64,
}Expand description
Application Bootstrap Register Map — GenCP standard registers at address 0.
Fields§
§gencp_version: u32§manufacturer_name: String§model_name: String§family_name: String§device_version: String§serial_number: String§user_defined_name: String§manifest_table_address: u64§sbrm_address: u64§device_capability: u64Implementations§
Source§impl Abrm
impl Abrm
Sourcepub fn read_from<T: UsbTransfer>(
control: &mut ControlChannel<T>,
) -> Result<Self, U3vError>
pub fn read_from<T: UsbTransfer>( control: &mut ControlChannel<T>, ) -> Result<Self, U3vError>
Read the ABRM from the device.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Abrm
impl RefUnwindSafe for Abrm
impl Send for Abrm
impl Sync for Abrm
impl Unpin for Abrm
impl UnsafeUnpin for Abrm
impl UnwindSafe for Abrm
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