mirror of
https://github.com/esp-rs/esp-hal.git
synced 2025-09-27 04:10:28 +00:00
Hide Interrupts (#3152)
This commit is contained in:
parent
1a40e3419b
commit
26cf556cde
@ -72,6 +72,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
- The fields of config structs are no longer public (#3011)
|
||||
- Removed the dysfunctional `DmaChannel::set_priority` function (#3088)
|
||||
- `esp_hal::time::now()`, which has been replaced by `esp_hal::time::Instant::now()` (#3083)
|
||||
- `peripherals::Interrupts` (#3152)
|
||||
|
||||
## [0.23.1] - 2025-01-15
|
||||
|
||||
|
@ -117,6 +117,9 @@ The `_bytes` postfix of driver methods that take a byte slice have been removed.
|
||||
+ uart0.write(b"Hello world!")?;
|
||||
```
|
||||
|
||||
The `peripherals::Interrupts` enum is no longer available. Users (mostly third party driver
|
||||
developers) will need to use the PAC crates directly.
|
||||
|
||||
## UART changes
|
||||
|
||||
Uart `write` is now blocking and return the number of bytes written. `read` will block until it fills at least one byte into the buffer with received bytes, use `read_buffered_bytes` to read the available bytes without blocking.
|
||||
|
@ -10,6 +10,7 @@
|
||||
|
||||
pub(crate) use esp32 as pac;
|
||||
// We need to export this for users to use
|
||||
#[doc(hidden)]
|
||||
pub use pac::Interrupt;
|
||||
|
||||
// Note that certain are marked with `virtual` in the invocation of the
|
||||
|
@ -10,6 +10,7 @@
|
||||
|
||||
pub(crate) use esp32c2 as pac;
|
||||
// We need to export this for users to use
|
||||
#[doc(hidden)]
|
||||
pub use pac::Interrupt;
|
||||
|
||||
// Note that certain are marked with `virtual` in the invocation of the
|
||||
|
@ -10,6 +10,7 @@
|
||||
|
||||
pub(crate) use esp32c3 as pac;
|
||||
// We need to export this for users to use
|
||||
#[doc(hidden)]
|
||||
pub use pac::Interrupt;
|
||||
|
||||
// Note that certain are marked with `virtual` in the invocation of the
|
||||
|
@ -10,6 +10,7 @@
|
||||
|
||||
pub(crate) use esp32c6 as pac;
|
||||
// We need to export this for users to use
|
||||
#[doc(hidden)]
|
||||
pub use pac::Interrupt;
|
||||
|
||||
// Note that certain are marked with `virtual` in the invocation of the
|
||||
|
@ -10,6 +10,7 @@
|
||||
|
||||
pub(crate) use esp32h2 as pac;
|
||||
// We need to export this for users to use
|
||||
#[doc(hidden)]
|
||||
pub use pac::Interrupt;
|
||||
|
||||
// Note that certain are marked with `virtual` in the invocation of the
|
||||
|
@ -10,6 +10,7 @@
|
||||
|
||||
pub(crate) use esp32s2 as pac;
|
||||
// We need to export this for users to use
|
||||
#[doc(hidden)]
|
||||
pub use pac::Interrupt;
|
||||
|
||||
// Note that certain are marked with `virtual` in the invocation of the
|
||||
|
@ -10,6 +10,7 @@
|
||||
|
||||
pub(crate) use esp32s3 as pac;
|
||||
// We need to export this for users to use
|
||||
#[doc(hidden)]
|
||||
pub use pac::Interrupt;
|
||||
|
||||
// Note that certain are marked with `virtual` in the invocation of the
|
||||
|
Loading…
x
Reference in New Issue
Block a user