tutrcos
読み取り中…
検索中…
一致する文字列を見つけられません
tutrcos::module::AMT21 クラス

#include <amt21.hpp>

tutrcos::module::AMT21 の継承関係図
tutrcos::module::AMT21 連携図

公開型

enum class  Resolution : uint8_t { _12 = 12 , _14 = 14 }
 
enum class  Mode { SINGLE_TURN , MULTI_TURN }
 

公開メンバ関数

 AMT21 (peripheral::UART &uart, Resolution resolution, Mode mode, uint8_t address)
 
bool update ()
 
bool set_zero_point ()
 
- 基底クラス tutrcos::module::EncoderBase に属する継承公開メンバ関数
 EncoderBase (int64_t cpr)
 
virtual ~EncoderBase ()
 
int64_t get_cpr ()
 
int64_t get_count ()
 
virtual float get_rotation ()
 
virtual float get_rad ()
 
virtual float get_degree ()
 
virtual float get_rps ()
 
virtual float get_rpm ()
 
virtual float get_radps ()
 
virtual float get_radpm ()
 

その他の継承メンバ

- 基底クラス tutrcos::module::EncoderBase に属する継承限定公開メンバ関数
void set_count (int64_t count)
 

列挙型メンバ詳解

◆ Mode

enum class tutrcos::module::AMT21::Mode
strong
列挙値
SINGLE_TURN 
MULTI_TURN 

◆ Resolution

enum class tutrcos::module::AMT21::Resolution : uint8_t
strong
列挙値
_12 
_14 

構築子と解体子

◆ AMT21()

tutrcos::module::AMT21::AMT21 ( peripheral::UART & uart,
Resolution resolution,
Mode mode,
uint8_t address )
inline

関数詳解

◆ set_zero_point()

bool tutrcos::module::AMT21::set_zero_point ( )
inline

◆ update()

bool tutrcos::module::AMT21::update ( )
inline

このクラス詳解は次のファイルから抽出されました: