pub enum DataIdMode {
All16Bit,
Alternating8Bit,
Lower12Bit,
Lower8Bit,
}
Expand description
data ID modes for E2E profiles 01 and 11
Variants§
All16Bit
Two bytes of the data id are included in the CRC (double ID configuration).
Alternating8Bit
The data id is split into two 8-bit parts, which are included in the CRC in an alternating manner.
Lower12Bit
The low byte is included in the implicit CRC calculation, the low nibble of the high byte is transmitted along with the data
Lower8Bit
Only the low byte is included, the high byte is never used
Trait Implementations§
Source§impl Clone for DataIdMode
impl Clone for DataIdMode
Source§fn clone(&self) -> DataIdMode
fn clone(&self) -> DataIdMode
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 DataIdMode
impl Debug for DataIdMode
Source§impl From<DataIdMode> for EnumItem
impl From<DataIdMode> for EnumItem
Source§fn from(data_id_mode: DataIdMode) -> EnumItem
fn from(data_id_mode: DataIdMode) -> EnumItem
Converts to this type from the input type.
Source§impl PartialEq for DataIdMode
impl PartialEq for DataIdMode
Source§impl TryFrom<EnumItem> for DataIdMode
impl TryFrom<EnumItem> for DataIdMode
Source§type Error = AutosarAbstractionError
type Error = AutosarAbstractionError
The type returned in the event of a conversion error.
Source§fn try_from(value: EnumItem) -> Result<DataIdMode, AutosarAbstractionError>
fn try_from(value: EnumItem) -> Result<DataIdMode, AutosarAbstractionError>
Performs the conversion.
impl Copy for DataIdMode
impl Eq for DataIdMode
impl StructuralPartialEq for DataIdMode
Auto Trait Implementations§
impl Freeze for DataIdMode
impl RefUnwindSafe for DataIdMode
impl Send for DataIdMode
impl Sync for DataIdMode
impl Unpin for DataIdMode
impl UnwindSafe for DataIdMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.