#include <stdint.h>
#include <stdbool.h>
#include <ti/drivers/GPIO.h>
#include <ti/drivers/SPI.h>
#include "ti_drivers_config.h"
Go to the source code of this file.
◆ spi_init()
Initialize the software spi port
◆ spi_wr_byte()
void spi_wr_byte |
( |
uint8_t |
b | ) |
|
Write byte to the spi port
- Parameters
-
◆ spi_wr_word()
void spi_wr_word |
( |
uint16_t |
w | ) |
|
Write word to the spi port
- Parameters
-
◆ spi_wr_array()
void spi_wr_array |
( |
uint8_t * |
array, |
|
|
uint32_t |
length |
|
) |
| |
Write an array to the spi port
- Parameters
-
array | pointer to a memory block to write |
length | number of bytes to write |