AvrDevice_atmega1284Abase Class Reference

#include <atmega1284abase.h>

Inheritance diagram for AvrDevice_atmega1284Abase:
Inheritance graph
[legend]
Collaboration diagram for AvrDevice_atmega1284Abase:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 AvrDevice_atmega1284Abase (unsigned ram_bytes, unsigned flash_bytes, unsigned ee_bytes)
 ~AvrDevice_atmega1284Abase ()

Protected Attributes

Pin aref
 analog reference pin
HWPort porta
 port A
HWPort portb
 port B
HWPort portc
 port C
HWPort portd
 port D
IOSpecialReg gtccr_reg
 GTCCR IO register.
IOSpecialReg assr_reg
 ASSR IO register.
HWPrescaler prescaler01
 prescaler unit for timer 0 and 1
HWPrescalerAsync prescaler2
 prescaler unit for timer 2
ExternalIRQHandlerextirq012
 external interrupt support for INT0, INT1, INT2
IOSpecialRegeicra_reg
 EICRA IO register.
IOSpecialRegeimsk_reg
 EIMSK IO register.
IOSpecialRegeifr_reg
 EIFR IO register.
ExternalIRQHandlerextirqpc
 external interrupt support for PCINT[0-2]
IOSpecialRegpcicr_reg
 PCICR IO register.
IOSpecialRegpcifr_reg
 PCIFR IO register.
IOSpecialRegpcmsk0_reg
 PCIMSK0 IO register.
IOSpecialRegpcmsk1_reg
 PCIMSK1 IO register.
IOSpecialRegpcmsk2_reg
 PCIMSK2 IO register.
IOSpecialRegpcmsk3_reg
 PCIMSK3 IO register.
HWAdmux admux
 adc multiplexer unit
HWAdad
 adc unit
HWSpispi
 spi unit
HWUsartusart0
 usart 0 unit
HWUsartusart1
 usart 1 unit
TimerIRQRegistertimerIrq0
 timer interrupt unit for timer 0
HWTimer8_2Ctimer0
 timer 0 unit
ICaptureSourceinputCapture1
 input capture source for timer1
TimerIRQRegistertimerIrq1
 timer interrupt unit for timer 1
HWTimer16_2C3timer1
 timer 1 unit
TimerIRQRegistertimerIrq2
 timer interrupt unit for timer 2
HWTimer8_2Ctimer2
 timer 2 unit
GPIORegistergpior0_reg
 general purpose IO register
GPIORegistergpior1_reg
 general purpose IO register
GPIORegistergpior2_reg
 general purpose IO register

Detailed Description

AvrDevice class for ATmega164A/164PA/324A/324PA/644A/644PA/1284/1284P. The only difference of ATmega164PA/324PA/644PA/1284P flavor is it has a BODS bit in MCUCR. (We do not simulate the register anyway.)

Todo:
This device isn't completely implemented.

Definition at line 41 of file atmega1284abase.h.


Constructor & Destructor Documentation

AvrDevice_atmega1284Abase::AvrDevice_atmega1284Abase ( unsigned  ram_bytes,
unsigned  flash_bytes,
unsigned  ee_bytes 
)

Definition at line 70 of file atmega1284abase.cpp.

References ad, HWAd::adch_reg, HWAd::adcl_reg, HWAd::adcsr_reg, admux, HWAdmux::admux_reg, aref, assr_reg, AvrDevice::coreTraceGroup, HWPort::ddr_reg, HWEeprom::DEVMODE_EXTENDED, HWEeprom::eearh_reg, HWEeprom::eearl_reg, HWEeprom::eecr_reg, HWEeprom::eedr_reg, AvrDevice::eeprom, eicra_reg, eifr_reg, eimsk_reg, extirq012, extirqpc, TimerIRQRegister::getLine(), AvrDevice::GetPin(), gpior0_reg, gpior1_reg, gpior2_reg, gtccr_reg, HWTimer16::icr_h_reg, HWTimer16::icr_l_reg, inputCapture1, AvrDevice::irqSystem, HWTimer16::ocra_h_reg, HWTimer16::ocra_l_reg, HWTimer8::ocra_reg, HWTimer16::ocrb_h_reg, HWTimer16::ocrb_l_reg, HWTimer8::ocrb_reg, pcicr_reg, pcifr_reg, pcmsk0_reg, pcmsk1_reg, pcmsk2_reg, pcmsk3_reg, HWPort::pin_reg, HWPort::port_reg, porta, portb, portc, portd, prescaler01, prescaler2, ExternalIRQHandler::registerIrq(), TimerIRQRegister::registerLine(), AvrDevice::RegisterPin(), AvrDevice::Reset(), AvrDevice::rw, HWSpi::spcr_reg, HWSpi::spdr_reg, spi, HWSpi::spsr_reg, AvrDevice::stack, AvrDevice::statusRegister, HWTimer16_2C3::tccra_reg, HWTimer8_2C::tccra_reg, HWTimer16_2C3::tccrb_reg, HWTimer8_2C::tccrb_reg, HWTimer16_2C3::tccrc_reg, HWTimer16::tcnt_h_reg, HWTimer16::tcnt_l_reg, HWTimer8::tcnt_reg, TimerIRQRegister::tifr_reg, timer0, timer1, timer2, timerIrq0, timerIrq1, timerIrq2, TimerIRQRegister::timsk_reg, HWUart::ubrr_reg, HWUart::ubrrhi_reg, HWUart::ucsra_reg, HWUart::ucsrb_reg, HWUsart::ucsrc_reg, HWUart::udr_reg, usart0, usart1, and AvrDevice::wado.

Here is the call graph for this function:

AvrDevice_atmega1284Abase::~AvrDevice_atmega1284Abase (  ) 

Member Data Documentation

adc unit

Definition at line 65 of file atmega1284abase.h.

Referenced by AvrDevice_atmega1284Abase(), and ~AvrDevice_atmega1284Abase().

adc multiplexer unit

Definition at line 64 of file atmega1284abase.h.

Referenced by AvrDevice_atmega1284Abase().

analog reference pin

Definition at line 44 of file atmega1284abase.h.

Referenced by AvrDevice_atmega1284Abase().

ASSR IO register.

Definition at line 50 of file atmega1284abase.h.

Referenced by AvrDevice_atmega1284Abase().

EICRA IO register.

Definition at line 54 of file atmega1284abase.h.

Referenced by AvrDevice_atmega1284Abase(), and ~AvrDevice_atmega1284Abase().

EIFR IO register.

Definition at line 56 of file atmega1284abase.h.

Referenced by AvrDevice_atmega1284Abase(), and ~AvrDevice_atmega1284Abase().

EIMSK IO register.

Definition at line 55 of file atmega1284abase.h.

Referenced by AvrDevice_atmega1284Abase(), and ~AvrDevice_atmega1284Abase().

external interrupt support for INT0, INT1, INT2

Definition at line 53 of file atmega1284abase.h.

Referenced by AvrDevice_atmega1284Abase(), and ~AvrDevice_atmega1284Abase().

external interrupt support for PCINT[0-2]

Definition at line 57 of file atmega1284abase.h.

Referenced by AvrDevice_atmega1284Abase(), and ~AvrDevice_atmega1284Abase().

general purpose IO register

Definition at line 76 of file atmega1284abase.h.

Referenced by AvrDevice_atmega1284Abase(), and ~AvrDevice_atmega1284Abase().

general purpose IO register

Definition at line 77 of file atmega1284abase.h.

Referenced by AvrDevice_atmega1284Abase(), and ~AvrDevice_atmega1284Abase().

general purpose IO register

Definition at line 78 of file atmega1284abase.h.

Referenced by AvrDevice_atmega1284Abase(), and ~AvrDevice_atmega1284Abase().

GTCCR IO register.

Definition at line 49 of file atmega1284abase.h.

Referenced by AvrDevice_atmega1284Abase().

input capture source for timer1

Definition at line 71 of file atmega1284abase.h.

Referenced by AvrDevice_atmega1284Abase(), and ~AvrDevice_atmega1284Abase().

PCICR IO register.

Definition at line 58 of file atmega1284abase.h.

Referenced by AvrDevice_atmega1284Abase(), and ~AvrDevice_atmega1284Abase().

PCIFR IO register.

Definition at line 59 of file atmega1284abase.h.

Referenced by AvrDevice_atmega1284Abase(), and ~AvrDevice_atmega1284Abase().

PCIMSK0 IO register.

Definition at line 60 of file atmega1284abase.h.

Referenced by AvrDevice_atmega1284Abase(), and ~AvrDevice_atmega1284Abase().

PCIMSK1 IO register.

Definition at line 61 of file atmega1284abase.h.

Referenced by AvrDevice_atmega1284Abase(), and ~AvrDevice_atmega1284Abase().

PCIMSK2 IO register.

Definition at line 62 of file atmega1284abase.h.

Referenced by AvrDevice_atmega1284Abase(), and ~AvrDevice_atmega1284Abase().

PCIMSK3 IO register.

Definition at line 63 of file atmega1284abase.h.

Referenced by AvrDevice_atmega1284Abase(), and ~AvrDevice_atmega1284Abase().

port A

Definition at line 45 of file atmega1284abase.h.

Referenced by AvrDevice_atmega1284Abase().

port B

Definition at line 46 of file atmega1284abase.h.

Referenced by AvrDevice_atmega1284Abase().

port C

Definition at line 47 of file atmega1284abase.h.

Referenced by AvrDevice_atmega1284Abase().

port D

Definition at line 48 of file atmega1284abase.h.

Referenced by AvrDevice_atmega1284Abase().

prescaler unit for timer 0 and 1

Definition at line 51 of file atmega1284abase.h.

Referenced by AvrDevice_atmega1284Abase().

prescaler unit for timer 2

Definition at line 52 of file atmega1284abase.h.

Referenced by AvrDevice_atmega1284Abase().

spi unit

Definition at line 66 of file atmega1284abase.h.

Referenced by AvrDevice_atmega1284Abase(), and ~AvrDevice_atmega1284Abase().

timer 0 unit

Definition at line 70 of file atmega1284abase.h.

Referenced by AvrDevice_atmega1284Abase(), and ~AvrDevice_atmega1284Abase().

timer 1 unit

Definition at line 73 of file atmega1284abase.h.

Referenced by AvrDevice_atmega1284Abase(), and ~AvrDevice_atmega1284Abase().

timer 2 unit

Definition at line 75 of file atmega1284abase.h.

Referenced by AvrDevice_atmega1284Abase(), and ~AvrDevice_atmega1284Abase().

timer interrupt unit for timer 0

Definition at line 69 of file atmega1284abase.h.

Referenced by AvrDevice_atmega1284Abase(), and ~AvrDevice_atmega1284Abase().

timer interrupt unit for timer 1

Definition at line 72 of file atmega1284abase.h.

Referenced by AvrDevice_atmega1284Abase(), and ~AvrDevice_atmega1284Abase().

timer interrupt unit for timer 2

Definition at line 74 of file atmega1284abase.h.

Referenced by AvrDevice_atmega1284Abase(), and ~AvrDevice_atmega1284Abase().

usart 0 unit

Definition at line 67 of file atmega1284abase.h.

Referenced by AvrDevice_atmega1284Abase(), and ~AvrDevice_atmega1284Abase().

usart 1 unit

Definition at line 68 of file atmega1284abase.h.

Referenced by AvrDevice_atmega1284Abase(), and ~AvrDevice_atmega1284Abase().


The documentation for this class was generated from the following files:
Generated on Sun Feb 12 16:50:04 2012 for Simulavr by  doxygen 1.6.3