RTEMS: cpukit/dev/spi/spi-bus.c File Reference

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
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.
void | spi_bus_destroy (spi_bus *bus)
| Destroys a bus control.
void | spi_bus_destroy_and_free (spi_bus *bus)
| Destroys a bus control and frees its memory.
int | spi_bus_init (spi_bus *bus)
| Initializes a bus control.
spi_bus * | spi_bus_alloc_and_init (size_t size)
| Allocates a bus control from the heap and initializes it.

## Detailed Description

Serial Peripheral Interface (SPI) Bus Implementation.