tutrcos
読み取り中…
検索中…
一致する文字列を見つけられません
kernel.hpp
[詳解]
1#pragma once
2
3#include <cstdint>
4
5#include "cmsis_os2.h"
6
7namespace tutrcos {
8namespace core {
9
10class Kernel {
11public:
12 static constexpr uint32_t MAX_DELAY = osWaitForever;
13
14 static inline uint32_t get_ticks() { return osKernelGetTickCount(); }
15};
16
17} // namespace core
18} // namespace tutrcos
Definition kernel.hpp:10
static constexpr uint32_t MAX_DELAY
Definition kernel.hpp:12
static uint32_t get_ticks()
Definition kernel.hpp:14
Definition kernel.hpp:7