libxr  1.0
Want to be the best embedded framework
Loading...
Searching...
No Matches
hpm_timebase.hpp
1#pragma once
2
3#include "timebase.hpp"
4
5#include "hpm_clock_drv.h"
6#include "hpm_mchtmr_drv.h"
7#include "hpm_soc.h"
8
9namespace LibXR
10{
11
19class HPMTimebase : public Timebase
20{
21 public:
30 HPMTimebase(MCHTMR_Type* timer = HPM_MCHTMR, clock_name_t clock = clock_mchtmr0);
31};
32
33} // namespace LibXR
HPM MCHTMR 时间基准实现 / HPM MCHTMR based timebase implementation.
HPMTimebase(MCHTMR_Type *timer=HPM_MCHTMR, clock_name_t clock=clock_mchtmr0)
构造 HPM 时间基对象 / Construct an HPM timebase object.
时间基类,用于提供高精度时间戳。 Timebase class for providing high-precision timestamps.
Definition timebase.hpp:17
LibXR 命名空间
Definition ch32_can.hpp:14