Sonochan II 0.1

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
composite_widget.h
Go to the documentation of this file.
1 /* This header file is part of the ATMEL AVR32-SoftwareFramework-AT32UC3-1.5.0 Release */
2
3 /*This file is prepared for Doxygen automatic documentation generation.*/
17 /* Copyright (c) 2009 Atmel Corporation. All rights reserved.
18 *
19 * Redistribution and use in source and binary forms, with or without
20 * modification, are permitted provided that the following conditions are met:
21 *
22 * 1. Redistributions of source code must retain the above copyright notice, this
23 * list of conditions and the following disclaimer.
24 *
25 * 2. Redistributions in binary form must reproduce the above copyright notice,
26 * this list of conditions and the following disclaimer in the documentation
27 * and/or other materials provided with the distribution.
28 *
29 * 3. The name of Atmel may not be used to endorse or promote products derived
30 * from this software without specific prior written permission.
31 *
32 * 4. This software may only be redistributed and used in connection with an Atmel
33 * AVR product.
34 *
35 * THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR IMPLIED
36 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
37 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE
38 * EXPRESSLY AND SPECIFICALLY DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR
39 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
40 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
41 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
42 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
43 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
44 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE
45 *
46 */
47
48 /* Modified by Alex Lee 13 Feb 2010
49 * For the SDR-Widget Project.
50 *
51 * Additions and Modifications to ATMEL AVR32-SoftwareFramework-AT32UC3 are:
52 *
53 * Copyright (C) Alex Lee
54 *
55 * This program is free software; you can redistribute it and/or
56 * modify it under the terms of the GNU General Public License
57 * as published by the Free Software Foundation; either version 2
58 * of the License, or (at your option) any later version.
59 *
60 * This program is distributed in the hope that it will be useful,
61 * but WITHOUT ANY WARRANTY; without even the implied warranty of
62 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
63 * GNU General Public License for more details.
64 *
65 * You should have received a copy of the GNU General Public License
66 * along with this program; if not, write to the Free Software
67 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
68 */
69
70 #ifndef _COMPOSITE_WIDGET_H_
71 #define _COMPOSITE_WIDGET_H_
72
73
74 //_____ I N C L U D E S ____________________________________________________
75
76 #include "FreeRTOS.h"
77 #include "task.h"
78 #include "queue.h"
79 #include "semphr.h"
80
81 //_____ D E F I N I T I O N S ______________________________________________
82
83 #define COUNTER_TIME_OUT 1000000L // how long to do AK5394A CAL before time out
84
85
86 // [Martin] Defined in: Mobo_config.h
87 #define RTC_COUNTER_MAX 1150000 // Max count for the 115kHz Real Time Counter (10 seconds)
88 //_____ M A C R O S ________________________________________________________
89
90
91 //_____ D E C L A R A T I O N S ____________________________________________
92
93 extern xSemaphoreHandle mutexEP_IN;
94
95 #endif // _COMPOSITE_WIDGET_H_