Async UART mod name #10

Merged
muellerr merged 1 commits from uart-async-mod-name into main 2025-12-28 21:06:16 +01:00
9 changed files with 11 additions and 10 deletions
@@ -30,7 +30,7 @@ use va108xx_hal::{
prelude::*,
uart::{
self, on_interrupt_rx_overwriting,
rx_asynch::{on_interrupt_rx, RxAsync},
rx_async::{on_interrupt_rx, RxAsync},
Bank, RxAsyncOverwriting, Tx,
},
InterruptConfig,
+1 -1
View File
@@ -4,7 +4,7 @@
//! The RX structure also has a dedicated [RxWithInterrupt] variant which allows reading the receiver
//! using interrupts.
//!
//! The [rx_asynch] and [tx_asynch] modules provide an asynchronous non-blocking API for the UART
//! The [rx_async] and [tx_async] modules provide an asynchronous non-blocking API for the UART
//! peripheral.
//!
//! ## Examples
@@ -34,7 +34,7 @@ use va416xx_hal::{
time::Hertz,
uart::{
self,
rx_asynch::{on_interrupt_rx, RxAsync},
rx_async::{on_interrupt_rx, RxAsync},
Bank,
},
};
@@ -28,7 +28,7 @@ use va416xx_hal::{
time::Hertz,
uart::{
self,
tx_asynch::{on_interrupt_tx, TxAsync},
tx_async::{on_interrupt_tx, TxAsync},
Bank,
},
};
+1 -1
View File
@@ -4,7 +4,7 @@
//! The RX structure also has a dedicated [RxWithInterrupt] variant which allows reading the receiver
//! using interrupts.
//!
//! The [rx_asynch] and [tx_asynch] modules provide an asynchronous non-blocking API for the UART
//! The [rx_async] and [tx_async] modules provide an asynchronous non-blocking API for the UART
//! peripheral.
//!
//! ## Examples
+1
View File
@@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
- Added `RxWithInterrupt::steal`.
- Improved type level support for resource management for SPI, PWM, UART.
- Renamed `tx_asynch` and `rx_asynch` module name to `*_async`
### Fixed
+5 -5
View File
@@ -4,7 +4,7 @@
//! The RX structure also has a dedicated [RxWithInterrupt] variant which allows reading the receiver
//! using interrupts.
//!
//! The [rx_asynch] and [tx_asynch] modules provide an asynchronous non-blocking API for the UART
//! The [rx_async] and [tx_async] modules provide an asynchronous non-blocking API for the UART
//! peripheral.
//!
//! ## Examples
@@ -42,11 +42,11 @@ use va108xx as pac;
#[cfg(feature = "vor4x")]
use va416xx as pac;
pub mod tx_asynch;
pub use tx_asynch::*;
pub mod tx_async;
pub use tx_async::*;
pub mod rx_asynch;
pub use rx_asynch::*;
pub mod rx_async;
pub use rx_async::*;
//==================================================================================================
// Type-Level support