Skip to content

Commit

Permalink
rustfmt (again)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbeaurivage authored and sajattack committed Nov 28, 2024
1 parent fc5bba1 commit 696eb2f
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions hal/src/peripherals/eic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,15 @@
//! * Bind the corresponding `EIC` interrupt source to the SPI
//! [`InterruptHandler`] (refer to the module-level
//! [`async_hal`](crate::async_hal) documentation for more information).
//! *
//! * SAMD11/SAMD21: Turn an [`Eic`] into an async-enabled [`Eic`] by
//! calling [`Eic::into_future`]. Since there is only a single interrupt
//! handler for the EIC peripheral, all EXTINT channels must be turned
//! into async channels at once.
//! * SAMx5x: Turn an individuel [`ExtInt`] into an async-enabled [`ExtInt`]
//! by calling [`ExtInt::into_future`]. Each channel has a dedicated
//! interrupt source, therefore you must individually choose which
//! channels to turn into async channels.
//!
//! * SAMD11/SAMD21: Turn an [`Eic`] into an async-enabled [`Eic`] by calling
//! [`Eic::into_future`]. Since there is only a single interrupt handler for
//! the EIC peripheral, all EXTINT channels must be turned into async channels
//! at once.
//! * SAMx5x: Turn an individuel [`ExtInt`] into an async-enabled [`ExtInt`] by
//! calling [`ExtInt::into_future`]. Each channel has a dedicated interrupt
//! source, therefore you must individually choose which channels to turn into
//! async channels.
//! * Use the provided [`wait`](ExtInt::wait) method. async-enabled [`ExtInt`]s
//! also implement [`embedded_hal_async::digital::Wait`].
Expand Down

0 comments on commit 696eb2f

Please sign in to comment.