halx_driver
読み取り中…
検索中…
一致する文字列を見つけられません
halx::driver::Amt22< Handle > クラステンプレート

#include <amt22.hpp>

公開メンバ関数

 Amt22 (GPIO_TypeDef *cs_port, uint16_t cs_pin, Amt22Resolution resolution)
 
 ~Amt22 ()
 
std::optional< uint16_t > read_position ()
 
std::optional< int16_t > read_turns ()
 
bool set_zero_point ()
 
bool reset ()
 

構築子と解体子

◆ Amt22()

template<SPI_HandleTypeDef * Handle>
halx::driver::Amt22< Handle >::Amt22 ( GPIO_TypeDef * cs_port,
uint16_t cs_pin,
Amt22Resolution resolution )
inline

◆ ~Amt22()

template<SPI_HandleTypeDef * Handle>
halx::driver::Amt22< Handle >::~Amt22 ( )
inline

関数詳解

◆ read_position()

template<SPI_HandleTypeDef * Handle>
std::optional< uint16_t > halx::driver::Amt22< Handle >::read_position ( )
inline

◆ read_turns()

template<SPI_HandleTypeDef * Handle>
std::optional< int16_t > halx::driver::Amt22< Handle >::read_turns ( )
inline

◆ reset()

template<SPI_HandleTypeDef * Handle>
bool halx::driver::Amt22< Handle >::reset ( )
inline

◆ set_zero_point()

template<SPI_HandleTypeDef * Handle>
bool halx::driver::Amt22< Handle >::set_zero_point ( )
inline

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