COSA
An Object-Oriented Platform for Arduino Programming
Micro.hh File Reference

Go to the source code of this file.

Classes

class  Board
 

Macros

#define BOARD_ATMEGA32U4
 
#define UNUSED(x)   (void) (x)
 
#define UCSZ00   UCSZ10
 
#define UCSZ01   UCSZ11
 
#define UCSZ02   UCSZ12
 
#define UPM00   UPM10
 
#define UPM01   UPM11
 
#define USBS0   USBS1
 
#define U2X0   U2X1
 
#define TXC0   TXC1
 
#define RXCIE0   RXCIE1
 
#define RXEN0   RXEN1
 
#define TXEN0   TXEN1
 
#define UDRE0   UDRE1
 
#define UDRIE0   UDRIE1
 
#define TXCIE0   TXCIE1
 
#define ADCW   ADC
 

Functions

void ADC_vect (void)
 
void ANALOG_COMP_vect (void)
 
void INT0_vect (void)
 
void INT1_vect (void)
 
void INT2_vect (void)
 
void INT3_vect (void)
 
void INT6_vect (void)
 
void PCINT0_vect (void)
 
void SPI_STC_vect (void)
 
void TIMER0_COMPA_vect (void)
 
void TIMER0_COMPB_vect (void)
 
void TIMER0_OVF_vect (void)
 
void TIMER1_CAPT_vect (void)
 
void TIMER1_COMPA_vect (void)
 
void TIMER1_COMPB_vect (void)
 
void TIMER1_COMPC_vect (void)
 
void TIMER1_OVF_vect (void)
 
void TIMER3_CAPT_vect (void)
 
void TIMER3_COMPA_vect (void)
 
void TIMER3_COMPB_vect (void)
 
void TIMER3_COMPC_vect (void)
 
void TIMER3_OVF_vect (void)
 
void TIMER4_COMPA_vect (void)
 
void TIMER4_COMPB_vect (void)
 
void TIMER4_COMPD_vect (void)
 
void TIMER4_FPF_vect (void)
 
void TIMER4_OVF_vect (void)
 
void TWI_vect (void)
 
void WDT_vect (void)
 
void USART1_RX_vect (void)
 
void USART1_TX_vect (void)
 
void USART1_UDRE_vect (void)
 
void USB_COM_vect (void)
 
void USB_GEN_vect (void)
 

Detailed Description

Version
1.0

License

Copyright (C) 2014-2015, Mikael Patel

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

This file is part of the Arduino Che Cosa project.

Definition in file Micro.hh.

Macro Definition Documentation

#define ADCW   ADC

Definition at line 299 of file Micro.hh.

#define BOARD_ATMEGA32U4

Definition at line 25 of file Micro.hh.

#define RXCIE0   RXCIE1

Definition at line 292 of file Micro.hh.

#define RXEN0   RXEN1

Definition at line 293 of file Micro.hh.

#define TXC0   TXC1

Definition at line 291 of file Micro.hh.

#define TXCIE0   TXCIE1

Definition at line 297 of file Micro.hh.

#define TXEN0   TXEN1

Definition at line 294 of file Micro.hh.

#define U2X0   U2X1

Definition at line 290 of file Micro.hh.

#define UCSZ00   UCSZ10

Redefined symbols to allow generic code.

Definition at line 284 of file Micro.hh.

#define UCSZ01   UCSZ11

Definition at line 285 of file Micro.hh.

#define UCSZ02   UCSZ12

Definition at line 286 of file Micro.hh.

#define UDRE0   UDRE1

Definition at line 295 of file Micro.hh.

#define UDRIE0   UDRIE1

Definition at line 296 of file Micro.hh.

#define UNUSED (   x)    (void) (x)

Compiler warning on unused varable.

Definition at line 31 of file Micro.hh.

#define UPM00   UPM10

Definition at line 287 of file Micro.hh.

#define UPM01   UPM11

Definition at line 288 of file Micro.hh.

#define USBS0   USBS1

Definition at line 289 of file Micro.hh.

Function Documentation

void ADC_vect ( void  )

Forward declare interrupt service routines to allow them as friends.

void ANALOG_COMP_vect ( void  )

Interrupt Service Routine

void INT0_vect ( void  )
void INT1_vect ( void  )
void INT2_vect ( void  )
void INT3_vect ( void  )
void INT6_vect ( void  )
void PCINT0_vect ( void  )
void SPI_STC_vect ( void  )
void TIMER0_COMPA_vect ( void  )
void TIMER0_COMPB_vect ( void  )
void TIMER0_OVF_vect ( void  )
void TIMER1_CAPT_vect ( void  )
void TIMER1_COMPA_vect ( void  )

Interrupt Service Routines.

void TIMER1_COMPB_vect ( void  )
void TIMER1_COMPC_vect ( void  )
void TIMER1_OVF_vect ( void  )
void TIMER3_CAPT_vect ( void  )
void TIMER3_COMPA_vect ( void  )
void TIMER3_COMPB_vect ( void  )
void TIMER3_COMPC_vect ( void  )
void TIMER3_OVF_vect ( void  )
void TIMER4_COMPA_vect ( void  )
void TIMER4_COMPB_vect ( void  )
void TIMER4_COMPD_vect ( void  )
void TIMER4_FPF_vect ( void  )
void TIMER4_OVF_vect ( void  )
void TWI_vect ( void  )

Interrupt Sevice Routine.

void USART1_RX_vect ( void  )
void USART1_TX_vect ( void  )
void USART1_UDRE_vect ( void  )
void USB_COM_vect ( void  )
void USB_GEN_vect ( void  )
void WDT_vect ( void  )

Interrupt Service Routine.