rsiot/components/cmp_esp_uart_slave/
mod.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Компонент для обмена данными по шине UART в режиме slave

mod component;
mod config;
mod error;
mod fn_process;
mod tasks;

pub use crate::components_config::uart_general::{Baudrate, DataBits, Parity, StopBits};
pub use component::Cmp;
pub use config::*;
pub use error::Error;

type Result<T> = std::result::Result<T, Error>;
type Buffer<T> = std::sync::Arc<tokio::sync::Mutex<T>>;