le_spi_interface.h File Reference

#include "legato.h"
#include "le_spi_common.h"

Go to the source code of this file.

Typedefs

typedef void(* le_spi_DisconnectHandler_t) (void *)
 

Functions

void le_spi_ConnectService (void)
 
le_result_t le_spi_TryConnectService (void)
 
LE_FULL_API void le_spi_SetServerDisconnectHandler (le_spi_DisconnectHandler_t disconnectHandler, void *contextPtr)
 
void le_spi_DisconnectService (void)
 
le_result_t le_spi_Open (const char *LE_NONNULL deviceName, le_spi_DeviceHandleRef_t *handlePtr)
 
void le_spi_Close (le_spi_DeviceHandleRef_t handle)
 
void le_spi_Configure (le_spi_DeviceHandleRef_t handle, int32_t mode, uint8_t bits, uint32_t speed, int32_t msb)
 
le_result_t le_spi_WriteReadHD (le_spi_DeviceHandleRef_t handle, const uint8_t *writeDataPtr, size_t writeDataSize, uint8_t *readDataPtr, size_t *readDataSizePtr)
 
le_result_t le_spi_WriteHD (le_spi_DeviceHandleRef_t handle, const uint8_t *writeDataPtr, size_t writeDataSize)
 
le_result_t le_spi_ReadHD (le_spi_DeviceHandleRef_t handle, uint8_t *readDataPtr, size_t *readDataSizePtr)
 
le_result_t le_spi_WriteReadFD (le_spi_DeviceHandleRef_t handle, const uint8_t *writeDataPtr, size_t writeDataSize, uint8_t *readDataPtr, size_t *readDataSizePtr)
 

Detailed Description

Legato c_le_spi include file.