SimAVR
AVR Simulator
avr_spi.h File Reference
#include "sim_avr.h"
Include dependency graph for avr_spi.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  avr_spi_t
 

Macros

#define AVR_IOCTL_SPI_GETIRQ(_name)   AVR_IOCTL_DEF('s','p','i',(_name))
 add port number to get the real IRQ More...
 
#define AVR_SPI_DECLARE(_prr, _prspi)
 

Typedefs

typedef struct avr_spi_t avr_spi_t
 

Enumerations

enum  { SPI_IRQ_INPUT = 0, SPI_IRQ_OUTPUT, SPI_IRQ_COUNT }
 

Functions

void avr_spi_init (avr_t *avr, avr_spi_t *port)