Skip to main content

rsiot/components/cmp_esp_gpio/
mod.rs

1//! Компонент для работы с входами и выходами GPIO микроконтроллера ESP
2
3mod component;
4mod config;
5mod error;
6mod fn_process;
7mod task_gpio_input;
8mod task_gpio_output;
9
10#[cfg(test)]
11mod test;
12
13pub use component::{Cmp, COMPONENT_NAME};
14pub use config::{Config, ConfigGpioInput, ConfigGpioOutput};
15pub use error::Error;
16pub use esp_idf_svc::hal::gpio::Pull;
17
18type Result<T> = std::result::Result<T, Error>;