COSA
An Object-Oriented Platform for Arduino Programming
RTT_Config.hh File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define COUNT   250
 
#define PRESCALE   64
 
#define TIMER_MAX   (COUNT - 1)
 
#define US_PER_TIMER_CYCLE   (PRESCALE / I_CPU)
 
#define US_PER_TICK   (COUNT * US_PER_TIMER_CYCLE)
 
#define MS_PER_TICK   (US_PER_TICK / 1000)
 
#define US_DIRECT_EXPIRE   (800 / I_CPU)
 
#define US_TIMER_EXPIRE   (US_PER_TICK - 1)
 

Detailed Description

Version
1.0

License

Copyright (C) 2012-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 RTT_Config.hh.

Macro Definition Documentation

#define COUNT   250

Definition at line 25 of file RTT_Config.hh.

#define MS_PER_TICK   (US_PER_TICK / 1000)

Definition at line 30 of file RTT_Config.hh.

#define PRESCALE   64

Definition at line 26 of file RTT_Config.hh.

#define TIMER_MAX   (COUNT - 1)

Definition at line 27 of file RTT_Config.hh.

#define US_DIRECT_EXPIRE   (800 / I_CPU)

Definition at line 31 of file RTT_Config.hh.

#define US_PER_TICK   (COUNT * US_PER_TIMER_CYCLE)

Definition at line 29 of file RTT_Config.hh.

#define US_PER_TIMER_CYCLE   (PRESCALE / I_CPU)

Definition at line 28 of file RTT_Config.hh.

#define US_TIMER_EXPIRE   (US_PER_TICK - 1)

Definition at line 32 of file RTT_Config.hh.