Classes | |
class | MultiPortInputPins |
class | MultiPortOutputPins |
class | CombinedInputPins |
class | CombinedOutputPins |
class | FlagsBuffer |
class | FlagsBuffer8 |
class | FlagsBuffer16 |
struct | Bit0 |
struct | Bit1 |
struct | Bit2 |
struct | Bit3 |
struct | Bit4 |
struct | Bit5 |
struct | Bit6 |
struct | Bit7 |
struct | Port |
struct | OutputPins |
struct | InputPins |
struct | Pins |
struct | Bits |
struct | BasicInterrupt |
struct | Interrupt |
struct | InputPin0 |
struct | OutputPin0 |
struct | Pin0 |
struct | InputPin1 |
struct | OutputPin1 |
struct | Pin1 |
struct | InputPin2 |
struct | OutputPin2 |
struct | Pin2 |
struct | InputPin3 |
struct | OutputPin3 |
struct | Pin3 |
struct | InputPin4 |
struct | OutputPin4 |
struct | Pin4 |
struct | InputPin5 |
struct | OutputPin5 |
struct | Pin5 |
struct | InputPin6 |
struct | OutputPin6 |
struct | Pin6 |
struct | InputPin7 |
struct | OutputPin7 |
struct | Pin7 |
struct | _UDR1 |
struct | _UBRR1H |
struct | _UBRR1L |
struct | _UCSR1C |
struct | _UCSR1B |
struct | _UCSR1A |
struct | _UDR0 |
struct | _UBRR0H |
struct | _UBRR0L |
struct | _UCSR0C |
struct | _UCSR0B |
struct | _UCSR0A |
struct | _TWAMR |
struct | _TWCR |
struct | _TWDR |
struct | _TWAR |
struct | _TWSR |
struct | _TWBR |
struct | _ASSR |
struct | _OCR2B |
struct | _OCR2A |
struct | _TCNT2 |
struct | _TCCR2B |
struct | _TCCR2A |
struct | _OCR1BH |
struct | _OCR1BL |
struct | _OCR1AH |
struct | _OCR1AL |
struct | _ICR1H |
struct | _ICR1L |
struct | _TCNT1H |
struct | _TCNT1L |
struct | _TCCR1C |
struct | _TCCR1B |
struct | _TCCR1A |
struct | _DIDR1 |
struct | _DIDR0 |
struct | _ADMUX |
struct | _ADCSRB |
struct | _ADCSRA |
struct | _ADCH |
struct | _ADCL |
struct | _PCMSK3 |
struct | _TIMSK2 |
struct | _TIMSK1 |
struct | _TIMSK0 |
struct | _PCMSK2 |
struct | _PCMSK1 |
struct | _PCMSK0 |
struct | _EICRA |
struct | _PCICR |
struct | _OSCCAL |
struct | _PRR |
struct | _CLKPR |
struct | _WDTCSR |
struct | _SREG |
struct | _SPH |
struct | _SPL |
struct | _SPMCSR |
struct | _MCUCR |
struct | _MCUSR |
struct | _SMCR |
struct | _OCDR |
struct | _ACSR |
struct | _SPDR |
struct | _SPSR |
struct | _SPCR |
struct | _GPIOR2 |
struct | _GPIOR1 |
struct | _OCR0B |
struct | _OCR0A |
struct | _TCNT0 |
struct | _TCCR0B |
struct | _TCCR0A |
struct | _GTCCR |
struct | _EEARH |
struct | _EEARL |
struct | _EEDR |
struct | _EECR |
struct | _GPIOR0 |
struct | _EIMSK |
struct | _EIFR |
struct | _PCIFR |
struct | _TIFR2 |
struct | _TIFR1 |
struct | _TIFR0 |
struct | _PORTD |
struct | _DDRD |
struct | _PIND |
struct | _PORTC |
struct | _DDRC |
struct | _PINC |
struct | _PORTB |
struct | _DDRB |
struct | _PINB |
struct | _PORTA |
struct | _DDRA |
struct | _PINA |
struct | _OCR1B |
struct | _OCR1A |
struct | _ICR1 |
struct | _TCNT1 |
struct | _ADC |
struct | _SP |
Namespaces | |
namespace | AnalogToDigital |
Analog to digital converter. | |
namespace | Assembler |
To insert machine code explicitly into the program. | |
namespace | Collection |
Classes for different types of arrays, queues and strings. | |
namespace | EEPROM |
Functionality of EEPROM memory. | |
namespace | ExternalInterrupt |
Functionality of external interrupts. | |
namespace | GlobalInterrupts |
Enabling and disabling global interrupts. | |
namespace | Internal |
Only for library's internal use. | |
namespace | Sleeping |
Power management and sleep modes. | |
namespace | Timer |
Functionality of Timers/Counters. | |
namespace | USART |
Functionality of Universal Synchronous and Asynchronous Serial Receiver and Transmitter interfaces. | |
Typedefs | |
typedef volatile uint16_t & | reg16_t |
typedef volatile uint8_t & | reg8_t |
typedef Port< _DDRD, _PORTD, _PIND > | PortD |
typedef Port< _DDRC, _PORTC, _PINC > | PortC |
typedef Port< _DDRB, _PORTB, _PINB > | PortB |
typedef Port< _DDRA, _PORTA, _PINA > | PortA |
Functions | |
template<class Register> | |
void | SetBits (typename Register::Type flags) |
template<class Register> | |
void | ClearBits (typename Register::Type flags) |
template<class Register> | |
void | SetBitsTo (typename Register::Type flags, bool value) |
template<class Register> | |
void | ToggleBits (typename Register::Type flags) |
template<class Register> | |
void | ChangeBits (typename Register::Type selection, typename Register::Type value) |
template<class Register> | |
Register::Type | SelectBits (typename Register::Type selection) |
template<class Register> | |
bool | IsAnyBitSet (typename Register::Type flags) |
template<class Register> | |
bool | IsBitsSet (typename Register::Type flags) |
typedef volatile uint16_t& AVRCpp::reg16_t |
typedef volatile uint8_t& AVRCpp::reg8_t |
void AVRCpp::ChangeBits | ( | typename Register::Type | selection, | |
typename Register::Type | value | |||
) | [inline] |
Definition at line 81 of file IO.h.
00082 { 00083 typename Register::Type tmp = Register::Get() & ~selection; 00084 00085 value &= selection; 00086 Register::Set(tmp + value); 00087 00088 } // ChangeBits
void AVRCpp::ClearBits | ( | typename Register::Type | flags | ) | [inline] |
Definition at line 60 of file IO.h.
00061 { 00062 Register::Set(Register::Get() & ~flags); 00063 00064 } // ClearBits
bool AVRCpp::IsAnyBitSet | ( | typename Register::Type | flags | ) | [inline] |
bool AVRCpp::IsBitsSet | ( | typename Register::Type | flags | ) | [inline] |
Register::Type AVRCpp::SelectBits | ( | typename Register::Type | selection | ) | [inline] |
void AVRCpp::SetBits | ( | typename Register::Type | flags | ) | [inline] |
Definition at line 54 of file IO.h.
00055 { 00056 Register::Set(Register::Get() | flags); 00057 00058 } // SetBits
void AVRCpp::SetBitsTo | ( | typename Register::Type | flags, | |
bool | value | |||
) | [inline] |
void AVRCpp::ToggleBits | ( | typename Register::Type | flags | ) | [inline] |
Definition at line 75 of file IO.h.
00076 { 00077 Register::Set(Register::Get() ^ flags); 00078 00079 } // ToggleBits
MTÜ TTÜ Robotiklubi |