simulavr  1.1.0
at4433.h
Go to the documentation of this file.
1  /*
2  ****************************************************************************
3  *
4  * simulavr - A simulator for the Atmel AVR family of microcontrollers.
5  * Copyright (C) 2001, 2002, 2003 Klaus Rudolph
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 2 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License along
18  * with this program; if not, write to the Free Software Foundation, Inc.,
19  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20  *
21  ****************************************************************************
22  *
23  * $Id$
24  */
25 
26 #ifndef AT4433
27 #define AT4433
28 #include "avrdevice.h"
29 class HWAcomp;
30 class HWMcucr;
31 
32 #include "hwuart.h"
33 #include "hwad.h"
34 #include "hwport.h"
35 #include "hwspi.h"
36 #include "hwtimer/timerprescaler.h"
37 #include "hwtimer/hwtimer.h"
38 #include "externalirq.h"
39 
42 
43  public:
49  HWAd *ad;
64 
67 };
68 
69 #endif
Basic AVR device, contains the core functionality.
Definition: avrdevice.h:66
HWARef * aref
adc reference unit
Definition: at4433.h:48
HWSpi * spi
spi unit
Definition: at4433.h:50
Definition: hwad.h:90
IOSpecialReg * gifr_reg
GIFR IO register.
Definition: at4433.h:62
PrescalerMultiplexerExt premux0
prescaler multiplexer for timer 0
Definition: at4433.h:54
HWAcomp * acomp
Definition: at4433.h:52
HWUart * uart
uart unit
Definition: at4433.h:51
Defines a Port, e.g. a hardware device for GPIO.
Definition: hwport.h:43
HWPrescaler prescaler
prescaler unit for timer
Definition: at4433.h:53
HWPort portc
port C
Definition: at4433.h:45
Handler for external IRQ's to communicate with IRQ system and mask/flag registers.
Definition: externalirq.h:41
HWAd * ad
adc unit
Definition: at4433.h:49
HWTimer8_0C * timer0
timer 0 unit
Definition: at4433.h:57
HWAdmux * admux
adc multiplexer unit
Definition: at4433.h:47
HWPort portd
port D
Definition: at4433.h:46
IOSpecialReg * gimsk_reg
GIMSK IO register.
Definition: at4433.h:61
Reference source for ADC (base class)
Definition: hwad.h:35
HWPort portb
port B
Definition: at4433.h:44
Provices flag and mask register for timer interrupts and connects irq lines to irqsystem.
Definition: timerirq.h:61
Definition: hwspi.h:38
IOSpecialReg * mcucr_reg
MCUCR IO register.
Definition: at4433.h:63
PrescalerMultiplexerExt premux1
prescaler multiplexer for timer 1
Definition: at4433.h:55
HWTimer16_1C * timer1
timer 1 unit
Definition: at4433.h:59
ExternalIRQHandler * extirq
external interrupt support
Definition: at4433.h:60
Timer unit with 16Bit counter and one output compare unit.
Definition: hwtimer.h:470
Prescaler unit for support timers with clock.
Timer unit with 8Bit counter and no output compare unit.
Definition: hwtimer.h:347
Class, which provides input capture source for 16bit timers.
Definition: icapturesrc.h:34
Definition: hwad.h:204
Implements the I/O hardware necessary to do UART transfers.
Definition: hwuart.h:38
AVRDevice class for AT90S4433.
Definition: at4433.h:41
PrescalerMultiplexer with external count pin.
Definition: prescalermux.h:55
Analog comparator peripheral.
Definition: hwacomp.h:42
TimerIRQRegister * timer01irq
timer interrupt unit for timer
Definition: at4433.h:56
ICaptureSource * inputCapture1
input capture source for timer1
Definition: at4433.h:58