diff --git a/esp-hal/CHANGELOG.md b/esp-hal/CHANGELOG.md index 1e3c342a285..af9d7c19321 100644 --- a/esp-hal/CHANGELOG.md +++ b/esp-hal/CHANGELOG.md @@ -45,6 +45,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - DMA transactions are now found in the `dma` module (#1550) - Remove unnecessary generics from PARL_IO driver (#1545) - Use `Level enum` in GPIO constructors instead of plain bools (#1574) +- rmt: make ChannelCreator public (#1597) ### Removed diff --git a/esp-hal/src/rmt.rs b/esp-hal/src/rmt.rs index 6834acf80b5..7c5224cdff2 100644 --- a/esp-hal/src/rmt.rs +++ b/esp-hal/src/rmt.rs @@ -208,7 +208,7 @@ pub struct RxChannelConfig { pub idle_threshold: u16, } -pub use impl_for_chip::Rmt; +pub use impl_for_chip::{ChannelCreator, Rmt}; #[cfg(feature = "async")] use self::asynch::{RxChannelAsync, TxChannelAsync}; @@ -684,6 +684,7 @@ mod impl_for_chip { } } + /// RMT Channel Creator pub struct ChannelCreator where M: crate::Mode, @@ -767,6 +768,7 @@ mod impl_for_chip { } } + /// RMT Channel Creator pub struct ChannelCreator where M: crate::Mode, @@ -858,6 +860,7 @@ mod impl_for_chip { } } + /// RMT Channel Creator pub struct ChannelCreator where M: crate::Mode, @@ -949,6 +952,7 @@ mod impl_for_chip { } } + /// RMT Channel Creator pub struct ChannelCreator where M: crate::Mode,