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

#include <spi.hpp>

公開メンバ関数

 SPI (SPI_HandleTypeDef *hspi)
 
 ~SPI ()
 
bool transmit (const uint8_t *data, size_t size, uint32_t timeout)
 
bool receive (uint8_t *data, size_t size, uint32_t timeout)
 
bool transmit_receive (const uint8_t *tx_data, uint8_t *rx_data, size_t size, uint32_t timeout)
 
SPI_HandleTypeDef * get_hal_handle ()
 

構築子と解体子

◆ SPI()

tutrcos::peripheral::SPI::SPI ( SPI_HandleTypeDef * hspi)
inline

◆ ~SPI()

tutrcos::peripheral::SPI::~SPI ( )
inline

関数詳解

◆ get_hal_handle()

SPI_HandleTypeDef * tutrcos::peripheral::SPI::get_hal_handle ( )
inline

◆ receive()

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

◆ transmit()

bool tutrcos::peripheral::SPI::transmit ( const uint8_t * data,
size_t size,
uint32_t timeout )
inline

◆ transmit_receive()

bool tutrcos::peripheral::SPI::transmit_receive ( const uint8_t * tx_data,
uint8_t * rx_data,
size_t size,
uint32_t timeout )
inline

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