BeRTOS
|
Emulated SPI Master for DSP firmware download (impl.) More...
#include "spi_bitbang.h"
#include "hw/hw_spi.h"
#include "cfg/cfg_spi_bitbang.h"
#include <cfg/module.h>
#include <cpu/irq.h>
Go to the source code of this file.
Functions | |
uint8_t | spi_sendRecv (uint8_t c) |
Send byte c over MOSI line, CONFIG_SPI_DATAORDER first. | |
void | spi_read (void *_buff, size_t len) |
Read. | |
void | spi_write (const void *_buff, size_t len) |
Write. |
Emulated SPI Master for DSP firmware download (impl.)
Definition in file spi_bitbang.c.
void spi_read | ( | void * | _buff, |
size_t | len | ||
) |
uint8_t spi_sendRecv | ( | uint8_t | c | ) |
Send byte c
over MOSI line, CONFIG_SPI_DATAORDER first.
SS pin state is left unchanged.
Definition at line 64 of file spi_bitbang.c.
void spi_write | ( | const void * | _buff, |
size_t | len | ||
) |