RTEMS 6.1-rc1
Functions
spi-bus.c File Reference

Serial Peripheral Interface (SPI) Bus Implementation. More...

#include <dev/spi/spi.h>
#include <rtems/imfs.h>
#include <stdlib.h>
#include <string.h>

Functions

int spi_bus_register (spi_bus *bus, const char *bus_path)
 Registers a bus control. More...
 
void spi_bus_destroy (spi_bus *bus)
 Destroys a bus control. More...
 
void spi_bus_destroy_and_free (spi_bus *bus)
 Destroys a bus control and frees its memory. More...
 
int spi_bus_init (spi_bus *bus)
 Initializes a bus control. More...
 
spi_busspi_bus_alloc_and_init (size_t size)
 Allocates a bus control from the heap and initializes it. More...
 

Detailed Description

Serial Peripheral Interface (SPI) Bus Implementation.