Skip to content

Commit

Permalink
Add RtcI2c driver for ESP32-S3
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominic Fischer committed Jun 18, 2024
1 parent 2d90fa3 commit 6cf4559
Show file tree
Hide file tree
Showing 5 changed files with 600 additions and 0 deletions.
1 change: 1 addition & 0 deletions esp-hal/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Add Flex / AnyFlex GPIO pin driver (#1659)
- Add new `DmaError::UnsupportedMemoryRegion` - used memory regions are checked when preparing a transfer now (#1670)
- ESP32-S3: Add RtcI2c driver (#0000)

### Fixed

Expand Down
2 changes: 2 additions & 0 deletions esp-hal/src/gpio/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,8 @@ pub enum AlternateFunction {
pub enum RtcFunction {
Rtc = 0,
Digital = 1,
#[cfg(rtc_i2c)]
I2c = 3,
}

/// Trait implemented by RTC pins
Expand Down
Loading

0 comments on commit 6cf4559

Please sign in to comment.