Main Page | File List | Globals | Related Pages

devsupp.c File Reference

Contains definitions for device types (i.e. at90s8515, at90s2313, etc.). More...

Go to the source code of this file.

Functions

void dev_supp_list_devices (FILE *fp)
AvrCore * dev_supp_create_core (char *dev_name)


Detailed Description

Contains definitions for device types (i.e. at90s8515, at90s2313, etc.).

This module is used to define the attributes for each device in the AVR family. A generic constructor is used to create a new AvrCore object with the proper ports, built-in peripherals, memory layout, registers, and interrupt vectors, etc.

Definition in file devsupp.c.


Function Documentation

void dev_supp_list_devices FILE *  fp  ) 
 

Print a list of supported devices to a file pointer.

Definition at line 681 of file devsupp.c.

AvrCore* dev_supp_create_core char *  dev_name  ) 
 

Creates a new core.

This constructs an AVR CPU with the characteristics of the device passed in as dev_name. It is sort of the master constructor for a core.

Returns:
A pointer to an AVR core with properties of dev_name
Definition at line 699 of file devsupp.c.

References adc_intr_new(), adc_new(), avr_core_attach_vdev(), avr_core_new(), avr_error, ocreg16_new(), porta_new(), portb_new(), portc_new(), portd_new(), porte_new(), portf_new(), spi_intr_new(), spi_new(), timer0_new(), timer16_new(), timer_intr_new(), uart0_intr_new(), uart_new(), usb_intr_new(), and usb_new().


Automatically generated by Doxygen 1.3.8 on 11 Aug 2004.