Trait drone_cortexm::thr::IntToken[][src]

pub trait IntToken: ThrToken {
    type NvicBlock: NvicBlock;

    const INT_NUM: u16;
    unsafe fn wakeup_unchecked() { ... }
unsafe fn waker_unchecked() -> Waker { ... } }

An interrupt token.

Associated Types

type NvicBlock: NvicBlock[src]

NVIC block the interrupt belongs to.

Loading content...

Associated Constants

const INT_NUM: u16[src]

The number of the interrupt.

Loading content...

Provided methods

unsafe fn wakeup_unchecked()[src]

Wakes up the thread.

Safety

This function doesn’t check for the interrupt token ownership.

unsafe fn waker_unchecked() -> Waker[src]

Returns a handle for waking up a thread.

Safety

This function doesn’t check for the interrupt token ownership.

Loading content...

Implementors

Loading content...