InterruptConfigurable

Trait InterruptConfigurable 

Source
pub trait InterruptConfigurable: Sealed {
    // Required method
    fn set_interrupt_handler(&mut self, handler: InterruptHandler);
}
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<'_>

Available on crate feature unstable only.

§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>

Available on crate feature unstable only.

§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<'_>

Available on crate feature unstable only.

§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>

Available on crate feature unstable only.

§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 ParlIo<'_, Blocking>

Available on crate feature unstable only.

§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<'_>

Available on crate feature unstable only.

§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>

Available on crate feature unstable only.

§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>

Available on crate feature unstable only.

§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<'_>

Available on crate feature unstable only.

§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<'_>

Available on crate feature unstable only.

§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>

Available on crate feature unstable only.

§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>

Available on crate feature unstable only.

§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>

Available on crate feature unstable only.

§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>

Available on crate feature unstable only.

§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>

Available on crate feature unstable only.

§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>

Available on crate feature unstable only.

§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>

Available on crate feature unstable only.
Source§

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

Available on crate feature unstable only.
Source§

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

Available on crate feature unstable only.
Source§

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

Available on crate feature unstable only.
Source§

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

Available on crate feature unstable only.
Source§

impl<const NUM: u8> InterruptConfigurable for SoftwareInterrupt<'_, NUM>

Available on crate feature unstable only.