Module drone_cortex_m::thread [] [src]

The vector table.

Configuration

The vector table is configured by vtable! macro.

vtable! {
  /// The vector table.
  VectorTable;
  /// Array of threads.
  THREADS;
  ThreadLocal;

  /// Non maskable interrupt.
  NMI;
  /// All classes of fault.
  HARD_FAULT;
  /// System tick timer.
  SYS_TICK;
  /// RCC global interrupt.
  5: rcc; // Give IRQ5 a name
}

Preconfigured exceptions

  • NMI - Non maskable interrupt.
  • HARD_FAULT - All classes of fault.
  • MEM_MANAGE - Memory management.
  • BUS_FAULT - Pre-fetch fault, memory access fault.
  • USAGE_FAULT - Undefined instruction or illegal state.
  • SV_CALL - System service call via SWI instruction.
  • DEBUG - Monitor.
  • PEND_SV - Pendable request for system service.
  • SYS_TICK - System tick timer.

Re-exports

pub use drone_cortex_m_macros::interrupt;

Modules

irq

Interrupt mappings.

prelude

Threads prelude.

vtable

The vector table support.

Structs

StreamWait

A stream combinator which converts an asynchronous stream to a blocking iterator.

Traits

PFuture

Platform future extensions.

PStream

Platform stream extensions.

PThreadToken

Platform thread token extensions.