#[repr(C)]pub struct CopCtrlData {
pub time: u32,
pub num_send_cycles: i32,
pub num_receive_cycles: i32,
pub temp_param_update: u32,
pub tx_flag: FlagData,
pub num_possible_expected_responses: u32,
pub expected_response_array: *mut ExpRespData,
}
Expand description
Com primitive control data
Fields§
§time: u32
Cycle time in milliseconds or delay time of the ComPrimitive
num_send_cycles: i32
Number of send cycles. -1 for infinite
num_receive_cycles: i32
Number of receives. -1 for infinite
temp_param_update: u32
Optional temporary setting for the ComPrimitive
tx_flag: FlagData
Transmit flag
num_possible_expected_responses: u32
Number of elements in CopCtrlData::expected_response_array
expected_response_array: *mut ExpRespData
Pointer to an array of expected responses
Trait Implementations§
Source§impl Clone for CopCtrlData
impl Clone for CopCtrlData
Source§fn clone(&self) -> CopCtrlData
fn clone(&self) -> CopCtrlData
Returns a copy 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 CopCtrlData
impl Debug for CopCtrlData
Source§impl Ord for CopCtrlData
impl Ord for CopCtrlData
Source§fn cmp(&self, other: &CopCtrlData) -> Ordering
fn cmp(&self, other: &CopCtrlData) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CopCtrlData
impl PartialEq for CopCtrlData
Source§impl PartialOrd for CopCtrlData
impl PartialOrd for CopCtrlData
impl Copy for CopCtrlData
impl Eq for CopCtrlData
impl StructuralPartialEq for CopCtrlData
Auto Trait Implementations§
impl Freeze for CopCtrlData
impl RefUnwindSafe for CopCtrlData
impl !Send for CopCtrlData
impl !Sync for CopCtrlData
impl Unpin for CopCtrlData
impl UnwindSafe for CopCtrlData
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