AVRDevice class for ATTiny2313. More...
#include <attiny2313.h>
Public Member Functions | |
AvrDevice_attiny2313 () | |
~AvrDevice_attiny2313 () | |
Public Attributes | |
HWPort * | porta |
port A (only 3 bit) | |
HWPort * | portb |
port B | |
HWPort * | portd |
port D (only 7 bit) | |
IOSpecialReg * | gtccr_reg |
GTCCR IO register. | |
GPIORegister * | gpior0_reg |
GPIOR0 Register. | |
GPIORegister * | gpior1_reg |
GPIOR1 Register. | |
GPIORegister * | gpior2_reg |
GPIOR2 Register. | |
ExternalIRQHandler * | extirq |
external interrupt support | |
IOSpecialReg * | gimsk_reg |
GIMSK IO register. | |
IOSpecialReg * | eifr_reg |
EIFR IO register. | |
IOSpecialReg * | mcucr_reg |
MCUCR IO register. | |
IOSpecialReg * | pcmsk_reg |
PCMSK IO register. | |
HWPrescaler * | prescaler01 |
prescaler unit for timer 0 and 1 | |
ICaptureSource * | inputCapture1 |
input capture source for timer1 | |
HWTimer8_2C * | timer0 |
timer 0 unit | |
HWTimer16_2C3 * | timer1 |
timer 1 unit | |
TimerIRQRegister * | timer01irq |
timer interrupt unit for timer 0 and 1 | |
HWUsart * | usart |
usart unit |
AVRDevice class for ATTiny2313.
Definition at line 39 of file attiny2313.h.
AvrDevice_attiny2313::AvrDevice_attiny2313 | ( | ) |
Definition at line 65 of file attiny2313.cpp.
References AvrDevice::coreTraceGroup, HWPort::ddr_reg, HWEeprom::DEVMODE_EXTENDED, HWEeprom::eearl_reg, HWEeprom::eecr_reg, HWEeprom::eedr_reg, AvrDevice::eeprom, eifr_reg, extirq, AvrDevice::flagJMPInstructions, AvrDevice::flagMULInstructions, TimerIRQRegister::getLine(), AvrDevice::GetPin(), gimsk_reg, gpior0_reg, gpior1_reg, gpior2_reg, gtccr_reg, HWTimer16::icr_h_reg, HWTimer16::icr_l_reg, inputCapture1, AvrDevice::irqSystem, mcucr_reg, HWTimer16::ocra_h_reg, HWTimer16::ocra_l_reg, HWTimer8::ocra_reg, HWTimer16::ocrb_h_reg, HWTimer16::ocrb_l_reg, HWTimer8::ocrb_reg, pcmsk_reg, HWPort::pin_reg, HWPort::port_reg, porta, portb, portd, prescaler01, ExternalIRQHandler::registerIrq(), TimerIRQRegister::registerLine(), AvrDevice::Reset(), AvrDevice::rw, FlashProgramming::SPM_TINY_MODE, FlashProgramming::spmcr_reg, AvrDevice::spmRegister, 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, timer01irq, timer1, TimerIRQRegister::timsk_reg, HWUart::ubrr_reg, HWUsart::ubrrh_reg, HWUart::ucsra_reg, HWUart::ucsrb_reg, HWUsart::ucsrc_reg, HWUart::udr_reg, and usart.
AvrDevice_attiny2313::~AvrDevice_attiny2313 | ( | ) |
Definition at line 41 of file attiny2313.cpp.
References AvrDevice::eeprom, eifr_reg, gimsk_reg, gpior0_reg, gpior1_reg, gpior2_reg, gtccr_reg, inputCapture1, AvrDevice::irqSystem, mcucr_reg, pcmsk_reg, porta, portb, portd, prescaler01, AvrDevice::spmRegister, AvrDevice::stack, timer0, timer01irq, timer1, and usart.
EIFR IO register.
Definition at line 53 of file attiny2313.h.
Referenced by AvrDevice_attiny2313(), and ~AvrDevice_attiny2313().
external interrupt support
Definition at line 51 of file attiny2313.h.
Referenced by AvrDevice_attiny2313().
GIMSK IO register.
Definition at line 52 of file attiny2313.h.
Referenced by AvrDevice_attiny2313(), and ~AvrDevice_attiny2313().
GPIOR0 Register.
Definition at line 47 of file attiny2313.h.
Referenced by AvrDevice_attiny2313(), and ~AvrDevice_attiny2313().
GPIOR1 Register.
Definition at line 48 of file attiny2313.h.
Referenced by AvrDevice_attiny2313(), and ~AvrDevice_attiny2313().
GPIOR2 Register.
Definition at line 49 of file attiny2313.h.
Referenced by AvrDevice_attiny2313(), and ~AvrDevice_attiny2313().
GTCCR IO register.
Definition at line 46 of file attiny2313.h.
Referenced by AvrDevice_attiny2313(), and ~AvrDevice_attiny2313().
input capture source for timer1
Definition at line 58 of file attiny2313.h.
Referenced by AvrDevice_attiny2313(), and ~AvrDevice_attiny2313().
MCUCR IO register.
Definition at line 54 of file attiny2313.h.
Referenced by AvrDevice_attiny2313(), and ~AvrDevice_attiny2313().
PCMSK IO register.
Definition at line 55 of file attiny2313.h.
Referenced by AvrDevice_attiny2313(), and ~AvrDevice_attiny2313().
port A (only 3 bit)
Definition at line 42 of file attiny2313.h.
Referenced by AvrDevice_attiny2313(), and ~AvrDevice_attiny2313().
port B
Definition at line 43 of file attiny2313.h.
Referenced by AvrDevice_attiny2313(), and ~AvrDevice_attiny2313().
port D (only 7 bit)
Definition at line 44 of file attiny2313.h.
Referenced by AvrDevice_attiny2313(), and ~AvrDevice_attiny2313().
prescaler unit for timer 0 and 1
Definition at line 57 of file attiny2313.h.
Referenced by AvrDevice_attiny2313(), and ~AvrDevice_attiny2313().
timer 0 unit
Definition at line 59 of file attiny2313.h.
Referenced by AvrDevice_attiny2313(), and ~AvrDevice_attiny2313().
timer interrupt unit for timer 0 and 1
Definition at line 61 of file attiny2313.h.
Referenced by AvrDevice_attiny2313(), and ~AvrDevice_attiny2313().
timer 1 unit
Definition at line 60 of file attiny2313.h.
Referenced by AvrDevice_attiny2313(), and ~AvrDevice_attiny2313().
usart unit
Definition at line 62 of file attiny2313.h.
Referenced by AvrDevice_attiny2313(), and ~AvrDevice_attiny2313().