SPI_exec

Name

SPI_exec -- 執行一個讀/寫命令

Synopsis

int SPI_exec(const char * command, int count)

描述

SPI_execSPI_execute 一樣,只是相當於後者的 read_only 參數總是 false

參數

const char * command

包含需要執行的命令的字串

int count

處理或者返回的最大行數

返回值

參閱 SPI_execute