chan+isr

command
v0.0.0-...-168ccc2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 5, 2021 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Overview

This example shows how to use channels to divide interrupt handler into two parts: fast part - that runs in interrupt context and slow part - that runs in thread context.

Fast part only enqueues events/data that receives from source (you) and informs the source (using LED3) if its buffer is full. Slow part dequeues events/data and handles them. This scheme can be used to implement interrupt driven I/O library.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL