SysLink API Reference
2.21.03.11
Main Page
Data Structures
Files
Related Pages
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
ti
syslink
utils
Gate.h
Go to the documentation of this file.
1
22
/*
23
* ============================================================================
24
*
25
* Copyright (c) 2008-2012, Texas Instruments Incorporated
26
*
27
* Redistribution and use in source and binary forms, with or without
28
* modification, are permitted provided that the following conditions
29
* are met:
30
*
31
* * Redistributions of source code must retain the above copyright
32
* notice, this list of conditions and the following disclaimer.
33
*
34
* * Redistributions in binary form must reproduce the above copyright
35
* notice, this list of conditions and the following disclaimer in the
36
* documentation and/or other materials provided with the distribution.
37
*
38
* * Neither the name of Texas Instruments Incorporated nor the names of
39
* its contributors may be used to endorse or promote products derived
40
* from this software without specific prior written permission.
41
*
42
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
43
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
44
* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
45
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
46
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
47
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
48
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
49
* OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
50
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
51
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
52
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
53
* Contact information for paper mail:
54
* Texas Instruments
55
* Post Office Box 655303
56
* Dallas, Texas 75265
57
* Contact information:
58
* http://www-k.ext.ti.com/sc/technical-support/product-information-centers.htm?
59
* DCMP=TIHomeTracking&HQS=Other+OT+home_d_contact
60
* ============================================================================
61
*
62
*/
63
64
65
66
#ifndef GATE_H_0xAF6F
67
#define GATE_H_0xAF6F
68
69
#include <
ti/syslink/utils/IGateProvider.h
>
70
71
#if defined (__cplusplus)
72
extern
"C"
{
73
#endif
74
75
extern
IGateProvider_Handle
Gate_systemHandle
;
76
77
/* =============================================================================
78
* APIs
79
* =============================================================================
80
*/
81
/* Function to enter a Gate */
82
IArg
Gate_enterSystem
(
void
);
83
84
/* Function to leave a Gate */
85
Void
Gate_leaveSystem
(
IArg
key);
86
87
#if defined (__cplusplus)
88
}
89
#endif
/* defined (__cplusplus) */
90
91
#endif
/* GATE_H_0xAF6F */
Copyright 2014, Texas Instruments Incorporated