[][src]Crate drone_core

The core crate for Drone, an Embedded Operating System.

Documentation

Usage

Place the following to the Cargo.toml:

[dependencies]
drone-core = { version = "0.11.1" }

Modules

bitfield

A Bitfield is an integer value treated as a sequence of bits, which can be toggled individually.

ffi

Utilities related to FFI bindings.

fib

The Fibers module.

future

Asynchronous values.

heap

Dynamic memory allocation.

inventory

A zero-cost abstraction to track various resource states with the type-system.

io

Traits, helpers, and type definitions for core I/O functionality.

mem

Basic functions for dealing with memory.

periph

Peripheral is a group of memory-mapped registers or their fields.

prelude

The Drone Prelude.

proc_loop

This module provides interface to wrap a stackful synchronous code into an asynchronous command loop.

reg

The Memory-Mapped Registers module.

sync

Useful synchronization primitives.

thr

The Threads module.

token

The Token trait and its common patterns.

Macros

heap

Defines dynamic memory structures.

periph

Defines a new generic peripheral.

reg

Defines a memory-mapped register.

thr

Defines the thread type.