const SPP_HalPort_t * SPP_HAL_getPort(void)
Returns the registered HAL port.
This file contains the structs that contain all the pointers to the functions that are used by the SP...
Standard return-value type used across all SPP modules.
SPP_RetVal_t
Unified return type for all SPP API functions.
@ K_SPP_ERROR_NULL_POINTER
SPP_RetVal_t SPP_HAL_SPI_deviceSetSpeed(void *p_handle, spp_uint32_t speedHz)
Remove and re-add a SPI device with a new clock speed.
SPP_RetVal_t SPP_HAL_SPI_transmitRaw(void *p_handle, spp_uint8_t *p_data, spp_uint8_t length)
Performs a raw full-duplex SPI transaction.
void * SPP_HAL_SPI_getHandle(spp_uint8_t deviceIdx)
Obtain the SPI device handle for the given device index.
SPP_RetVal_t SPP_HAL_SPI_deviceInit(void *p_handle)
Initialise a specific SPI device.
SPP_RetVal_t SPP_HAL_SPI_transmit(void *p_handle, spp_uint8_t *p_data, spp_uint8_t length)
Performs register-based SPI transactions.
SPP_RetVal_t SPP_HAL_SPI_busInit(void)
Initialise the SPI bus.
SPP SPI HAL API — dispatches through the registered HAL port.
SPP_RetVal_t(*) spiDeviceInit(void *p_handle)
Initialise a specific SPI device.
SPP_RetVal_t(*) spiBusInit(void)
Initialise the SPI bus.
SPP_RetVal_t(*) spiTransmitRaw(void *p_handle, spp_uint8_t *p_data, spp_uint8_t length)
Performs a raw full-duplex SPI transaction.
SPP_RetVal_t(*) spiTransmit(void *p_handle, spp_uint8_t *p_data, spp_uint8_t length)
Performs SPI register transactions.
SPP_RetVal_t(*) spiDeviceSetSpeed(void *p_handle, spp_uint32_t speedHz)
Remove and re-add a SPI device with a new clock speed.
void *(*) spiGetHandle(spp_uint8_t deviceIdx)
Obtain the handle for the next SPI device slot.
Ports struct that contains all the pointers to the Ports functions.