libxr  1.0
Want to be the best embedded framework
Loading...
Searching...
No Matches
hpm_timebase.hpp
1#pragma once
2
3#include "hpm_clock_drv.h"
4#include "hpm_mchtmr_drv.h"
5#include "hpm_soc.h"
6#include "timebase.hpp"
7
8namespace LibXR
9{
10
18class HPMTimebase : public Timebase
19{
20 public:
29 HPMTimebase(MCHTMR_Type* timer = HPM_MCHTMR, clock_name_t clock = clock_mchtmr0);
30};
31
32} // 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