SimAVR
AVR Simulator
|
Data Structures | |
struct | avr_io_usb |
struct | avr_usb_t |
Macros | |
#define | AVR_IOCTL_USB_WRITE AVR_IOCTL_DEF('u','s','b','w') |
add port number to get the real IRQ More... | |
#define | AVR_IOCTL_USB_READ AVR_IOCTL_DEF('u','s','b','r') |
#define | AVR_IOCTL_USB_SETUP AVR_IOCTL_DEF('u','s','b','s') |
#define | AVR_IOCTL_USB_RESET AVR_IOCTL_DEF('u','s','b','R') |
#define | AVR_IOCTL_USB_VBUS AVR_IOCTL_DEF('u','s','b','V') |
#define | AVR_IOCTL_USB_GETIRQ() AVR_IOCTL_DEF('u','s','b',' ') |
#define | AVR_IOCTL_USB_NAK -2 |
#define | AVR_IOCTL_USB_STALL -3 |
#define | AVR_IOCTL_USB_OK 0 |
Typedefs | |
typedef struct avr_usb_t | avr_usb_t |
Enumerations | |
enum | { USB_IRQ_ATTACH = 0, USB_IRQ_COUNT } |
Functions | |
void | avr_usb_init (avr_t *avr, avr_usb_t *port) |
#define AVR_IOCTL_USB_GETIRQ | ( | ) | AVR_IOCTL_DEF('u','s','b',' ') |
#define AVR_IOCTL_USB_NAK -2 |
#define AVR_IOCTL_USB_OK 0 |
#define AVR_IOCTL_USB_READ AVR_IOCTL_DEF('u','s','b','r') |
#define AVR_IOCTL_USB_RESET AVR_IOCTL_DEF('u','s','b','R') |
#define AVR_IOCTL_USB_SETUP AVR_IOCTL_DEF('u','s','b','s') |
#define AVR_IOCTL_USB_STALL -3 |
#define AVR_IOCTL_USB_VBUS AVR_IOCTL_DEF('u','s','b','V') |
#define AVR_IOCTL_USB_WRITE AVR_IOCTL_DEF('u','s','b','w') |
add port number to get the real IRQ