Contiki 2.5
|
MSPI driver implementationMore...
#include "mspi-drv.h"
Go to the source code of this file.
Functions | |
void | mspi_init (uint8_t cs, uint8_t mode, uint16_t baud) |
Initialize the selected USART in the MSPI mode. More... | |
void | mspi_chip_select (uint8_t cs) |
This function enables the chip select by setting the needed I/O pins (BCD-Code) More... | |
void | mspi_chip_release (uint8_t cs) |
This function disables the chip select. More... | |
uint8_t | mspi_transceive (uint8_t data) |
This function can be use either to transmit or receive data via spi. More... | |
void | mspi_deinit (void) |
This function will set all MSPI registers to their default values. | |
void | add_to_spi_mgr (uint8_t cs, uint8_t mode, uint16_t baud) |
This function add a device to the SPI device table and calculates the specific checksum. More... | |
void | change_spi_mode (spi_dev new_config) |
This function changes the SPI configuration. More... | |
MSPI driver implementation
Definition in file mspi-drv.c.