|
Contiki 3.x
|
Board-specific SPI driver common to the Sensortag and LaunchPad. More...
#include "contiki.h"#include "ti-lib.h"#include "board-spi.h"#include "board.h"#include <stdbool.h>Go to the source code of this file.
Functions | |
| bool | board_spi_write (const uint8_t *buf, size_t length) |
| Write to an SPI device. More... | |
| bool | board_spi_read (uint8_t *buf, size_t length) |
| Read from an SPI device. More... | |
| void | board_spi_flush (void) |
| Clear data from the SPI interface. More... | |
| void | board_spi_open (uint32_t bit_rate, uint32_t clk_pin) |
| Initialize the SPI interface. More... | |
| void | board_spi_close (void) |
| Close the SPI interface. More... | |
Board-specific SPI driver common to the Sensortag and LaunchPad.
Definition in file board-spi.c.
1.8.6