libs/kaptan-stm32f7: export STM32F722 drivers

This commit is contained in:
Onur Özkan committed 2026-07-19 22:40:04 +03:00
1 parent 508ca433a6
commit 15ba830492
1 file changed
+25
+25
View File
@@ -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};