tin  1.5.9
bare_metal.h File Reference

Bare-metal executor binding for tsm runtimes. More...

#include <cstdint>
#include <utility>
#include "tsm/runtime/executor.h"
Include dependency graph for bare_metal.h:

Go to the source code of this file.

Classes

struct  tsm::bare_metal_wake_hooks
 
class  tsm::bare_metal_tick_source
 
class  tsm::bare_metal_task_executor< Tasks >
 

Namespaces

 tsm
 

Typedefs

template<typename... Tasks>
using tsm::task_executor = bare_metal_task_executor< Tasks... >
 

Functions

template<typename... Tasks>
 tsm::bare_metal_task_executor (Tasks &...) -> bare_metal_task_executor< Tasks... >
 

Detailed Description

Bare-metal executor binding for tsm runtimes.

Bare-metal applications normally own the superloop. The target-neutral task_executor name maps to a hook-backed cooperative executor: application code still decides when work is drained, and idle/wake hooks can map to Cortex-M WFE/WFI/SEV or board-specific interrupt flags.