embassy/embassy-stm32-wpan/src/mac/control.rs

21 lines
330 B
Rust
Raw Normal View History

2023-07-18 02:26:58 +02:00
use crate::mac::runner::Runner;
2023-07-16 02:15:01 +02:00
#[derive(Debug)]
pub struct Error {
pub status: u32,
}
pub struct Control<'a> {
2023-07-18 02:26:58 +02:00
runner: &'a Runner,
2023-07-16 02:15:01 +02:00
}
impl<'a> Control<'a> {
2023-07-18 02:26:58 +02:00
pub(crate) fn new(runner: &'a Runner) -> Self {
Self { runner: runner }
2023-07-16 02:15:01 +02:00
}
2023-07-18 02:26:58 +02:00
pub async fn init(&mut self) {
// TODO
2023-07-16 02:15:01 +02:00
}
}