rsiot/components/cmp_esp_uart_slave/mod.rs
1//! Компонент для обмена данными по шине UART в режиме slave
2
3mod component;
4mod config;
5mod error;
6mod fn_process;
7mod tasks;
8
9pub use crate::components_config::uart_general::{Baudrate, DataBits, Parity, StopBits};
10pub use component::Cmp;
11pub use config::*;
12pub use error::Error;
13
14type Result<T> = std::result::Result<T, Error>;
15type Buffer<T> = std::sync::Arc<tokio::sync::Mutex<T>>;