10 #ifndef SPIC_WICED_HPP_
11 #define SPIC_WICED_HPP_
15 #include <wiced_platform.h>
37 wiced_spi_device_t spi;
42 uint8_t sendBuffer[2];
43 uint8_t receiveBuffer[2];
44 bool spiSetting =
false;
47 wiced_spi_message_segment_t segment;
51 SPICWiced(wiced_spi_t port, wiced_gpio_t csPin);
52 SPICWiced(wiced_spi_t port, wiced_gpio_t csPin, uint8_t speed, uint8_t mode, uint8_t bits);
56 Error_t transfer(uint8_t send, uint8_t &received);
57 Error_t transfer16(uint16_t send, uint16_t &received);
Error_t
Definition: tle94112-types.hpp:26
Wiced SPIC class.
Definition: spic-wiced.hpp:29
Definition: tle94112-types.hpp:14
TLE94112 SPI Platform Abstraction Layer.