5.11.0.0R3
Software Development Kit
 
Loading...
Searching...
No Matches
ltrx_spi.h File Reference

Definitions related to Serial Peripheral Interfaces. More...

Data Structures

struct  ltrx_spi_descriptor
 Describes input and output buffers for data transfer. More...
 
struct  ltrx_spi_protocol
 Represents a SPI protocol for registration. More...
 

Functions

void ltrx_spi_close (uint16_t zeroBasedSPI)
 Relinquish a Serial Peripheral Interface previously opened.
 
bool ltrx_spi_open (uint16_t zeroBasedSPI, uint32_t blockTimeMsec)
 Open a Serial Peripheral Interface for exclusive use.
 
void ltrx_spi_register_protocol (const struct ltrx_spi_protocol *lsp)
 Register a SPI protocol.
 
bool ltrx_spi_transfer (uint16_t zeroBasedSPI, const struct ltrx_spi_descriptor *descriptor)
 Transfer data.
 

Detailed Description

Definitions related to Serial Peripheral Interfaces.