Files
qitech-control/ethercat-hal/src/coe.rs
T
Icedsoda 98f0b49ca1 derive some stuff
more derive

macro for pdo mapping

I finished deriving

more derive

more derive
2025-02-10 01:04:36 +01:00

14 lines
321 B
Rust

use crate::types::EthercrabSubDevice;
pub trait Configuration {
#[allow(async_fn_in_trait)]
async fn write_config<'a>(
&self,
device: &'a EthercrabSubDevice<'a>,
) -> Result<(), anyhow::Error>;
}
pub const TX_PDO_ASSIGNMENT_REG: u16 = 0x1C13;
pub const RX_PDO_ASSIGNMENT_REG: u16 = 0x1C12;