Main Page | File List | Globals | Related Pages

usb.c File Reference

Module to simulate the AVR's USB module. More...

Go to the source code of this file.

Functions

void usb_port_wr (char *name, uint8_t val)
uint8_t usb_port_rd (char *name)
USBInter_T * usb_intr_new (uint8_t func_mask)
void usb_intr_construct (USBInter_T *usb, uint8_t func_mask)
void usb_intr_destroy (void *usb)
USB_T * usb_new (void)
void usb_construct (USB_T *usb)
void usb_destroy (void *usb)


Detailed Description

Module to simulate the AVR's USB module.

Definition in file usb.c.


Function Documentation

USBInter_T* usb_intr_new uint8_t  func_mask  ) 
 

Allocate a new USB interrupt.

Definition at line 72 of file usb.c.

References avr_new, class_overload_destroy(), usb_intr_construct(), and usb_intr_destroy().

Referenced by dev_supp_create_core().

void usb_intr_construct USBInter_T *  usb,
uint8_t  func_mask
 

Constructor for usb interrupt object.

Definition at line 86 of file usb.c.

References avr_error, and vdev_construct().

Referenced by usb_intr_new().

void usb_intr_destroy void *  usb  ) 
 

Destructor for usb interrupt object.

Definition at line 105 of file usb.c.

References vdev_destroy().

Referenced by usb_intr_new().

USB_T* usb_new void   ) 
 

Allocate a new USB structure.

Definition at line 244 of file usb.c.

References avr_new, class_overload_destroy(), usb_construct(), and usb_destroy().

Referenced by dev_supp_create_core().

void usb_construct USB_T *  usb  ) 
 

Constructor for new USB object.

Definition at line 258 of file usb.c.

References avr_error, and vdev_construct().

Referenced by usb_new().

void usb_destroy void *  usb  ) 
 

Destructor for USB object.

Definition at line 274 of file usb.c.

References vdev_destroy().

Referenced by usb_new().


Automatically generated by Doxygen 1.3.8 on 11 Aug 2004.