Trait InterruptConfigurable

Source
pub trait InterruptConfigurable: Sealed {
    // Required method
    fn set_interrupt_handler(&mut self, handler: InterruptHandler);
}
Available on crate feature unstable only.
Expand description

Trait implemented by drivers which allow the user to set an InterruptHandler

Required Methods§

Source

fn set_interrupt_handler(&mut self, handler: InterruptHandler)

Registers an interrupt handler for the peripheral.

Note that this will replace any previously registered interrupt handlers. Some peripherals offer a shared interrupt handler for multiple purposes. It’s the users duty to honor this.

You can restore the default/unhandled interrupt handler by using DEFAULT_INTERRUPT_HANDLER

Implementors§

Source§

impl InterruptConfigurable for DebugAssist<'_>

§Stability

This API is marked as unstable and is only available when the unstable crate feature is enabled. This comes with no stability guarantees, and could be changed or removed at any time.

Source§

impl InterruptConfigurable for Ecc<'_, Blocking>

§Stability

This API is marked as unstable and is only available when the unstable crate feature is enabled. This comes with no stability guarantees, and could be changed or removed at any time.

Source§

impl InterruptConfigurable for Io

§Stability

This API is marked as unstable and is only available when the unstable crate feature is enabled. This comes with no stability guarantees, and could be changed or removed at any time.

Source§

impl InterruptConfigurable for I2c<'_, Blocking>

§Stability

This API is marked as unstable and is only available when the unstable crate feature is enabled. This comes with no stability guarantees, and could be changed or removed at any time.

Source§

impl InterruptConfigurable for ParlIoFullDuplex<'_, Blocking>

§Stability

This API is marked as unstable and is only available when the unstable crate feature is enabled. This comes with no stability guarantees, and could be changed or removed at any time.

Source§

impl InterruptConfigurable for ParlIoRxOnly<'_, Blocking>

§Stability

This API is marked as unstable and is only available when the unstable crate feature is enabled. This comes with no stability guarantees, and could be changed or removed at any time.

Source§

impl InterruptConfigurable for ParlIoTxOnly<'_, Blocking>

§Stability

This API is marked as unstable and is only available when the unstable crate feature is enabled. This comes with no stability guarantees, and could be changed or removed at any time.

Source§

impl InterruptConfigurable for Pcnt<'_>

§Stability

This API is marked as unstable and is only available when the unstable crate feature is enabled. This comes with no stability guarantees, and could be changed or removed at any time.

Source§

impl InterruptConfigurable for Rmt<'_, Blocking>

§Stability

This API is marked as unstable and is only available when the unstable crate feature is enabled. This comes with no stability guarantees, and could be changed or removed at any time.

Source§

impl InterruptConfigurable for Rsa<'_, Blocking>

§Stability

This API is marked as unstable and is only available when the unstable crate feature is enabled. This comes with no stability guarantees, and could be changed or removed at any time.

Source§

impl InterruptConfigurable for Rtc<'_>

§Stability

This API is marked as unstable and is only available when the unstable crate feature is enabled. This comes with no stability guarantees, and could be changed or removed at any time.

Source§

impl InterruptConfigurable for Sha<'_>

§Stability

This API is marked as unstable and is only available when the unstable crate feature is enabled. This comes with no stability guarantees, and could be changed or removed at any time.

Source§

impl InterruptConfigurable for Spi<'_, Blocking>

§Stability

This API is marked as unstable and is only available when the unstable crate feature is enabled. This comes with no stability guarantees, and could be changed or removed at any time.

Source§

impl InterruptConfigurable for SpiDma<'_, Blocking>

§Stability

This API is marked as unstable and is only available when the unstable crate feature is enabled. This comes with no stability guarantees, and could be changed or removed at any time.

Source§

impl InterruptConfigurable for SpiDmaBus<'_, Blocking>

§Stability

This API is marked as unstable and is only available when the unstable crate feature is enabled. This comes with no stability guarantees, and could be changed or removed at any time.

Source§

impl InterruptConfigurable for TwaiConfiguration<'_, Blocking>

§Stability

This API is marked as unstable and is only available when the unstable crate feature is enabled. This comes with no stability guarantees, and could be changed or removed at any time.

Source§

impl InterruptConfigurable for Uart<'_, Blocking>

§Stability

This API is marked as unstable and is only available when the unstable crate feature is enabled. This comes with no stability guarantees, and could be changed or removed at any time.

Source§

impl InterruptConfigurable for UsbSerialJtag<'_, Blocking>

§Stability

This API is marked as unstable and is only available when the unstable crate feature is enabled. This comes with no stability guarantees, and could be changed or removed at any time.

Source§

impl<ADCI> InterruptConfigurable for Adc<'_, ADCI, Blocking>

Source§

impl<Dm> InterruptConfigurable for I2s<'_, Dm>
where Dm: DriverMode,

Source§

impl<Dm> InterruptConfigurable for OneShotTimer<'_, Dm>
where Dm: DriverMode,

Source§

impl<Dm> InterruptConfigurable for PeriodicTimer<'_, Dm>
where Dm: DriverMode,

Source§

impl<TG> InterruptConfigurable for Wdt<TG>
where TG: TimerGroupInstance,

Source§

impl<const NUM: u8> InterruptConfigurable for SoftwareInterrupt<NUM>