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

#include <i2c_master.hpp>

公開メンバ関数

 I2CMaster (I2C_HandleTypeDef *hi2c)
 
bool transmit (uint16_t address, uint8_t *data, size_t size, uint32_t timeout)
 
bool receive (uint16_t address, uint8_t *data, size_t size, uint32_t timeout)
 
I2C_HandleTypeDef * get_hal_handle ()
 

構築子と解体子

◆ I2CMaster()

tutrcos::peripheral::I2CMaster::I2CMaster ( I2C_HandleTypeDef * hi2c)
inline

関数詳解

◆ get_hal_handle()

I2C_HandleTypeDef * tutrcos::peripheral::I2CMaster::get_hal_handle ( )
inline

◆ receive()

bool tutrcos::peripheral::I2CMaster::receive ( uint16_t address,
uint8_t * data,
size_t size,
uint32_t timeout )
inline

◆ transmit()

bool tutrcos::peripheral::I2CMaster::transmit ( uint16_t address,
uint8_t * data,
size_t size,
uint32_t timeout )
inline

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