class Pigpio::BscXfer
This class wrap bsc_xfer_t.
Public Class Methods
make()
click to toggle source
Constructor of bsc_xfer_t as Pigpio::BscXfer class
typedef struct { uint32_t control; // Write int rxCnt; // Read only char rxBuf[BSC_FIFO_SIZE]; // Read only int txCnt; // Write char txBuf[BSC_FIFO_SIZE]; // Write } bsc_xfer_t;
VALUE pigpio_rbst_bsc_xfer_make(VALUE self){
Public Instance Methods
close()
click to toggle source
Close slave I/F
VALUE pigpio_rbst_bsc_xfer_close(VALUE self){
control()
click to toggle source
Get control
VALUE pigpio_rbst_bsc_xfer_r_control(VALUE self){
control=(p1)
click to toggle source
Setter
VALUE pigpio_rbst_bsc_xfer_w_control(VALUE self,VALUE control){
rxBuf()
click to toggle source
Get RX buffer
VALUE pigpio_rbst_bsc_xfer_r_rxBuf(VALUE self){
stop()
click to toggle source
Stop trans
VALUE pigpio_rbst_bsc_xfer_stop(VALUE self){
txBuf=(p1)
click to toggle source
Set TX buffer
VALUE pigpio_rbst_bsc_xfer_w_txBuf(VALUE self,VALUE txBuf){