Module kernel::common::deferred_call[][src]

Deferred call mechanism.

This is a tool to allow chip peripherals to schedule "interrupts" in the chip scheduler if the hardware doesn't support interrupts where they are needed.

Re-exports

use core::cell::UnsafeCell;
use core::convert::Into;
use core::convert::TryFrom;
use core::convert::TryInto;
use core::intrinsics;
use core::marker::Copy;
use core::marker::Sync;

Structs

AtomicUsize

AtomicUsize with no CAS operations that works on targets that have "no atomic support" according to their specification. This makes it work on thumbv6 platforms.

DeferredCall

Represents a way to generate an asynchronous call without a hardware interrupt. Supports up to 32 possible deferrable tasks.

Statics

DEFERRED_CALL

Functions

has_tasks

Are there any pending DeferredCalls?