]> rtime.felk.cvut.cz Git - frescor/fna.git/blob - src_frescan/frescan_hw_buffer.h
e0c179f8e038e3699a19b6e9df002742f0522fad
[frescor/fna.git] / src_frescan / frescan_hw_buffer.h
1 /*!
2  * @file frescan_hw_buffer.h
3  *
4  * @brief functions to manage the hw transmission buffer
5  *
6  * @version 0.01
7  *
8  * @date 12-Mar-2008
9  *
10  * @author
11  *      Daniel Sangorrin
12  *
13  * @comments
14  *
15  * This file contains the functions needed to manage the hw transmission buffer.
16  * This is needed to update the transmission buffer of the CAN chip with the
17  * message with highest priority. This could involve having to abort the
18  * frame that is currently in the buffer.
19  *
20  * @license
21  *
22  * -----------------------------------------------------------------------
23  *  Copyright (C) 2006 - 2008 FRESCOR consortium partners:
24  *
25  *    Universidad de Cantabria,              SPAIN
26  *    University of York,                    UK
27  *    Scuola Superiore Sant'Anna,            ITALY
28  *    Kaiserslautern University,             GERMANY
29  *    Univ. Politécnica  Valencia,           SPAIN
30  *    Czech Technical University in Prague,  CZECH REPUBLIC
31  *    ENEA                                   SWEDEN
32  *    Thales Communication S.A.              FRANCE
33  *    Visual Tools S.A.                      SPAIN
34  *    Rapita Systems Ltd                     UK
35  *    Evidence                               ITALY
36  *
37  *    See http://www.frescor.org for a link to partners' websites
38  *
39  *           FRESCOR project (FP6/2005/IST/5-034026) is funded
40  *        in part by the European Union Sixth Framework Programme
41  *        The European Union is not liable of any use that may be
42  *        made of this code.
43  *
44  *  This file is part of FRESCAN
45  *
46  *  FRESCAN is free software; you can  redistribute it and/or  modify
47  *  it under the terms of  the GNU General Public License as published by
48  *  the Free Software Foundation;  either  version 2, or (at  your option)
49  *  any later version.
50  *
51  *  FRESCAN  is distributed  in  the hope  that  it  will  be useful,  but
52  *  WITHOUT  ANY  WARRANTY;     without  even the   implied   warranty  of
53  *  MERCHANTABILITY  or  FITNESS FOR  A  PARTICULAR PURPOSE. See  the  GNU
54  *  General Public License for more details.
55  *
56  *  You should have  received a  copy of  the  GNU  General Public License
57  *  distributed  with  FRESCAN;  see file COPYING.   If not,  write to the
58  *  Free Software  Foundation,  59 Temple Place  -  Suite 330,  Boston, MA
59  *  02111-1307, USA.
60  *
61  * As a special exception, including FRESCAN header files in a file,
62  * instantiating FRESCAN generics or templates, or linking other files
63  * with FRESCAN objects to produce an executable application, does not
64  * by itself cause the resulting executable application to be covered
65  * by the GNU General Public License. This exception does not
66  * however invalidate any other reasons why the executable file might be
67  * covered by the GNU Public License.
68  * -----------------------------------------------------------------------
69  *
70  */
71
72 #ifndef _MARTE_FRESCAN_HW_BUFFER_H_
73 #define _MARTE_FRESCAN_HW_BUFFER_H_
74
75 #include "frescan.h"
76
77 extern int frescan_hw_buffer_update(frescan_network_t net);
78
79 #endif // _MARTE_FRESCAN_HW_BUFFER_H_