#[repr(C)]pub struct CAN_device {
pub IntStatus: mss_can_int_status,
pub IntEbl: mss_can_int_enable,
pub BufferStatus: mss_can_buffer_status,
pub ErrorStatus: mss_can_error_status,
pub Command: mss_can_command_reg,
pub Config: mss_can_config_reg,
pub NA: u32,
pub TxMsg: [mss_can_txmsgobject; 32],
pub RxMsg: [mss_can_rxmsgobject; 32],
}Fields§
§IntStatus: mss_can_int_status§IntEbl: mss_can_int_enable§BufferStatus: mss_can_buffer_status§ErrorStatus: mss_can_error_status§Command: mss_can_command_reg§Config: mss_can_config_reg§NA: u32§TxMsg: [mss_can_txmsgobject; 32]§RxMsg: [mss_can_rxmsgobject; 32]Trait Implementations§
Source§impl Clone for CAN_device
impl Clone for CAN_device
Source§fn clone(&self) -> CAN_device
fn clone(&self) -> CAN_device
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 moreimpl Copy for CAN_device
Auto Trait Implementations§
impl Freeze for CAN_device
impl RefUnwindSafe for CAN_device
impl Send for CAN_device
impl Sync for CAN_device
impl Unpin for CAN_device
impl UnwindSafe for CAN_device
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