tutrc_harurobo_lib
読み取り中…
検索中…
一致する文字列を見つけられません
include
tutrc_harurobo_lib
pwm.hpp
[詳解]
1
#pragma once
2
3
#include "main.h"
4
5
#include <cstdint>
6
7
namespace
tutrc_harurobo_lib
{
8
9
class
PWM
{
10
public
:
18
bool
init
(TIM_HandleTypeDef *htim, uint32_t channel);
19
23
uint32_t
get_compare
();
24
28
void
set_compare
(uint32_t compare);
29
30
private
:
31
TIM_HandleTypeDef *htim_;
32
uint32_t channel_;
33
};
34
35
}
// namespace tutrc_harurobo_lib
tutrc_harurobo_lib::PWM
Definition
pwm.hpp:9
tutrc_harurobo_lib::PWM::init
bool init(TIM_HandleTypeDef *htim, uint32_t channel)
tutrc_harurobo_lib::PWM::get_compare
uint32_t get_compare()
tutrc_harurobo_lib::PWM::set_compare
void set_compare(uint32_t compare)
tutrc_harurobo_lib
Definition
bno055.hpp:10
構築:
1.12.0