Go to the source code of this file.
Functions | |
| VDevice * | spii_create (int addr, char *name, int rel_addr, void *data) |
| SPIIntr_T * | spi_intr_new (int addr, char *name) |
| void | spi_intr_construct (SPIIntr_T *spi, int addr, char *name) |
| void | spi_intr_destroy (void *spi) |
| VDevice * | spi_create (int addr, char *name, int rel_addr, void *data) |
| SPI_T * | spi_new (int addr, char *name, int rel_addr) |
| void | spi_construct (SPI_T *spi, int addr, char *name, int rel_addr) |
| void | spi_destroy (void *spi) |
| uint8_t | spi_port_rd (int addr) |
| void | spi_port_wr (uint8_t val) |
Definition in file spi.c.
| VDevice* spii_create | ( | int | addr, | |
| char * | name, | |||
| int | rel_addr, | |||
| void * | data | |||
| ) |
| void spi_intr_construct | ( | SPIIntr_T * | spi, | |
| int | addr, | |||
| char * | name | |||
| ) |
Constructor for spi interrupt object.
Definition at line 98 of file spi.c.
References avr_error, and vdev_construct().
| void spi_intr_destroy | ( | void * | spi | ) |
Destructor for spi interrupt object.
Definition at line 134 of file spi.c.
References vdev_destroy().
| VDevice* spi_create | ( | int | addr, | |
| char * | name, | |||
| int | rel_addr, | |||
| void * | data | |||
| ) |
| void spi_construct | ( | SPI_T * | spi, | |
| int | addr, | |||
| char * | name, | |||
| int | rel_addr | |||
| ) |
Constructor for SPI object.
Definition at line 267 of file spi.c.
References avr_error, and vdev_construct().
| void spi_destroy | ( | void * | spi | ) |