timer.h
65 lines
| 1.7 KiB
| text/x-c
|
CLexer
Jeandet Alexis
|
r100 | /*------------------------------------------------------------------------------ | ||
-- This file is a part of the libuc, microcontroler library | ||||
-- Copyright (C) 2014, Kaveh Mohamadabadi | ||||
-- | ||||
-- This program is free software; you can redistribute it and/or modify | ||||
-- it under the terms of the GNU General Public License as published by | ||||
-- the Free Software Foundation; either version 3 of the License, or | ||||
-- (at your option) any later version. | ||||
-- | ||||
-- This program 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 General Public License for more details. | ||||
-- | ||||
-- You should have received a copy of the GNU General Public License | ||||
-- along with this program; if not, write to the Free Software | ||||
-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||||
------------------------------------------------------------------------------- | ||||
-- Author : Kaveh Mohamadabadi | ||||
-- Mail : kaveh.mohamadabadi@gmail.com | ||||
-------------------------------------------------------------------------------*/ | ||||
/// \defgroup TIMER | ||||
/*! \file timer.h | ||||
\brief TIMER api. | ||||
\ingroup TIMER | ||||
*/ | ||||
#ifndef TIMER_H | ||||
#define TIMER_H | ||||
#include <stdint.h> | ||||
#ifdef __cplusplus | ||||
extern "C" { | ||||
#endif | ||||
#ifdef __cplusplus | ||||
} | ||||
#endif | ||||
#ifndef DOXYGEN_SHOULD_SKIP_THIS | ||||
#define timer1 0 | ||||
#define timer2 1 | ||||
#define timer3 2 | ||||
#define timer4 3 | ||||
#define timer5 4 | ||||
#define timer6 5 | ||||
#define timer7 6 | ||||
#define timer8 7 | ||||
#define timer9 8 | ||||
#define timer10 9 | ||||
#define timer11 10 | ||||
#define timer12 11 | ||||
#define timer13 12 | ||||
#define timer14 13 | ||||
#define timer15 14 | ||||
#define timer16 15 | ||||
#endif | ||||
#endif // TIMER_H | ||||