Skip to content

Commit 381c562

Browse files
authored
Mark stuff unstable (#4293)
1 parent 8410bbd commit 381c562

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

esp-hal/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
8282
- RMT: `Channel::transmit_continuously` now takes an additional `LoopStop` argument. (#4260)
8383
- RMT: `LoopCount::Finite` and `ContinuousTxTransaction::is_tx_loopcount_interrupt_set` are only defined when the hardware supports it (all except ESP32). (#4260)
8484
- RMT: `Channel::transmit_continuously` now verifies that loop counts don't exceed the hardware limit (#4276)
85+
- `esp_hal::clock::{RtcFastClock, RtcSlowClock, RtcClock}` and `esp_hal::gpio::Event` have been marked unstable (#4293)
8586

8687
### Fixed
8788

esp-hal/src/clock/mod.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,7 @@ impl Clock for ApbClock {
299299
/// RTC FAST_CLK frequency values
300300
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
301301
#[cfg_attr(feature = "defmt", derive(defmt::Format))]
302+
#[instability::unstable]
302303
pub enum RtcFastClock {
303304
/// Main XTAL, divided by 4
304305
#[cfg(not(any(esp32c6, esp32h2)))]
@@ -329,6 +330,7 @@ impl Clock for RtcFastClock {
329330
#[cfg_attr(feature = "defmt", derive(defmt::Format))]
330331
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
331332
#[non_exhaustive]
333+
#[instability::unstable]
332334
pub enum RtcSlowClock {
333335
/// Internal slow RC oscillator
334336
RcSlow = 0,
@@ -342,6 +344,7 @@ pub enum RtcSlowClock {
342344
#[cfg(any(esp32c6, esp32h2))]
343345
#[derive(Debug, Clone, Copy)]
344346
#[non_exhaustive]
347+
#[instability::unstable]
345348
pub enum RtcSlowClock {
346349
/// Select RC_SLOW_CLK as RTC_SLOW_CLK source
347350
RcSlow = 0,
@@ -369,6 +372,7 @@ impl Clock for RtcSlowClock {
369372
}
370373

371374
/// RTC Clocks.
375+
#[instability::unstable]
372376
pub struct RtcClock;
373377

374378
/// RTC Watchdog Timer driver.
@@ -1043,6 +1047,7 @@ impl RtcClock {
10431047
#[cfg_attr(feature = "defmt", derive(defmt::Format))]
10441048
#[non_exhaustive]
10451049
#[doc(hidden)]
1050+
#[instability::unstable]
10461051
pub struct Clocks {
10471052
/// CPU clock frequency
10481053
pub cpu_clock: Rate,

esp-hal/src/gpio/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ impl Drop for PinGuard {
141141
/// Event used to trigger interrupts.
142142
#[derive(Debug, Eq, PartialEq, Copy, Clone, Hash)]
143143
#[cfg_attr(feature = "defmt", derive(defmt::Format))]
144+
#[instability::unstable]
144145
pub enum Event {
145146
/// Interrupts trigger on rising pin edge.
146147
RisingEdge = 1,

0 commit comments

Comments
 (0)