#[derive(Debug, Clone)]
pub struct Profile4Config {
pub data_id: u32,
pub max_delta_counter: u16,
}
impl Profile4Config {
#[must_use]
pub fn new(data_id: u32, max_delta_counter: u16) -> Self {
Self {
data_id,
max_delta_counter,
}
}
}
#[derive(Debug, Clone)]
pub struct Profile5Config {
pub data_id: u16,
pub data_length: u16,
pub max_delta_counter: u8,
}
impl Profile5Config {
#[must_use]
pub fn new(data_id: u16, data_length: u16, max_delta_counter: u8) -> Self {
Self {
data_id,
data_length,
max_delta_counter,
}
}
}