libxr  1.0
Want to be the best embedded framework
Loading...
Searching...
No Matches
libxr_system.hpp
1#pragma once
2
3#include <pthread.h>
4
5#include <atomic>
6
7#include <cstdint>
8
9namespace LibXR
10{
11typedef pthread_mutex_t libxr_mutex_handle;
13{
14 std::atomic<uint32_t> count;
15};
17typedef pthread_t libxr_thread_handle;
18
44void PlatformInit(uint32_t timer_pri = 2, uint32_t timer_stack_depth = 65536);
45} // namespace LibXR
LibXR 命名空间
Definition ch32_can.hpp:14
void PlatformInit(uint32_t timer_pri=2, uint32_t timer_stack_depth=65536)
平台初始化函数 Platform initialization function