SuperTinyKernel™ RTOS
1.08.x
Lightweight, high-performance, deterministic, bare-metal C++ RTOS for resource-constrained embedded systems. MIT Open Source License.
Loading...
Searching...
No Matches
cpu.h
Go to the documentation of this file.
1
/*
2
* SuperTinyKernel(TM) RTOS: Lightweight High-Performance Deterministic C++ RTOS for Embedded Systems.
3
*
4
* Source: https://github.com/SuperTinyKernel-RTOS
5
*
6
* Copyright (c) 2022-2026 Neutron Code Limited <stk@neutroncode.com>. All Rights Reserved.
7
* License: MIT License, see LICENSE for a full text.
8
*/
9
10
#ifndef DRIVER_CPU_H_
11
#define DRIVER_CPU_H_
12
13
#include "
defs.h
"
14
15
#ifdef __cplusplus
16
17
namespace
bsp
{
18
19
struct
Cpu
20
{
21
static
void
Start
(uint8_t cpu_id,
void
(*entry_func)(
void
));
22
};
23
24
}
// namespace bsp
25
26
#endif
// __cplusplus
27
28
STK_EXTERN
void
Cpu_Start
(uint8_t cpu_id,
void
(*entry_func)(
void
));
29
30
#endif
/* DRIVER_CPU_H_ */
Cpu_Start
void Cpu_Start(uint8_t cpu_id, void(*entry_func)(void))
Definition
cpu.cpp:38
defs.h
STK_EXTERN
#define STK_EXTERN
Definition
defs.h:24
bsp
Definition
cpu.h:17
bsp::Cpu
Definition
cpu.h:20
bsp::Cpu::Start
static void Start(uint8_t cpu_id, void(*entry_func)(void))
Definition
cpu.cpp:24
build
example
driver
cpu.h
Generated by
1.16.1