diff --git a/libs/kaptan-stm32f7/src/stm32f722/mod.rs b/libs/kaptan-stm32f7/src/stm32f722/mod.rs new file mode 100644 index 0000000..bb2ef04 --- /dev/null +++ b/libs/kaptan-stm32f7/src/stm32f722/mod.rs @@ -0,0 +1,25 @@ +//! STM32F722 peripheral implementations selected by supported boards. +//! +//! This module exports only typed peripheral building blocks. A board selects +//! pins, clocks, interrupt priorities, and static ownership. + +mod clock; +mod dma_buffer; +mod gpio; +mod spi1; +mod tim2; +mod time; +mod usart; +mod usart1_tx_dma2_stream7; + +pub use clock::{ClockProfileError, select_hsi16_profile}; +pub use dma_buffer::DcacheDisabledDmaMemory; +pub use gpio::{ + ActiveLowLedPd2, configure_exti4_pin_pa4, configure_spi1_pins_pa5_pa6_pa7, + configure_usart1_tx_pin_pa9, +}; +pub use spi1::{Spi1, Spi1Error}; +pub use tim2::{Tim2Periodic, Tim2PeriodicConfig}; +pub use time::{DwtClockStartError, DwtMicrosecondClock}; +pub use usart::{BaudRateError, Usart1Tx}; +pub use usart1_tx_dma2_stream7::{StartError, Usart1TxDma};