26 #define SPI_FREQ_HZ (1000000UL)
36 uint8_t sendBuffer[2];
37 uint8_t receiveBuffer[2];
41 SPICMtb (cyhal_gpio_t csPin, cyhal_gpio_t misoPin, cyhal_gpio_t mosiPin, cyhal_gpio_t sckPin);
45 Error_t transfer (uint8_t send, uint8_t &received);
46 Error_t transfer16 (uint16_t send, uint16_t &received);
48 static const cyhal_gpio_t unusedPin = CYHAL_NC_PIN_VALUE;
Definition: spic-mtb.hpp:28
Error_t
Definition: tle94112-types.hpp:26
Definition: tle94112-types.hpp:14
TLE94112 SPI Platform Abstraction Layer.