#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 |
このクラス詳解は次のファイルから抽出されました: