MAX32665 SDK Documentation  0.2
Software Development Kit Overview and API Documentation
spixfc_req_t Struct Reference

SPIXFC Transaction request.

Data Fields

uint8_t ssel
 Slave select number. More...
 
uint8_t deass
 De-assert slave select at the end of the transaction. More...
 
uint8_t wait_tx
 Wait for the TX FIFO to be empty before returning. More...
 
const uint8_t * tx_data
 TX buffer. More...
 
uint8_t * rx_data
 RX buffer. More...
 
spixfc_width_t width
 Number of data lines to use.
 
unsigned len
 Number of bytes to send. More...
 
unsigned read_num
 Number of bytes read. More...
 
unsigned write_num
 Number of bytes written. More...
 
void(* callback )(spixfc_req_t *, int)
 Callback for asynchronous request. More...
 

Field Documentation

◆ ssel

uint8_t spixfc_req_t::ssel

◆ deass

uint8_t spixfc_req_t::deass

◆ wait_tx

uint8_t spixfc_req_t::wait_tx

◆ tx_data

const uint8_t* spixfc_req_t::tx_data

◆ rx_data

uint8_t* spixfc_req_t::rx_data

◆ len

unsigned spixfc_req_t::len

◆ read_num

unsigned spixfc_req_t::read_num

◆ write_num

unsigned spixfc_req_t::write_num

◆ callback

void(* spixfc_req_t::callback) (spixfc_req_t *, int)
Parameters
spixfc_req_t*Pointer to the transaction request.
intError code.

The documentation for this struct was generated from the following file: