Contiki 2.5
Functions
mspi-drv.c File Reference

 MSPI driver implementation
More...

#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...
 

Detailed Description

 MSPI driver implementation
Author
Ulf Kulau kulau.nosp@m.@ibr.nosp@m..cs.t.nosp@m.u-bs.nosp@m..de

Definition in file mspi-drv.c.