VSF Documented
Main Page
Related Pages
Topics
Namespaces
Data Structures
Files
File List
Globals
source
utilities
compiler
mcs51
msc51_interrupt.h
Go to the documentation of this file.
1
/*****************************************************************************
2
* Copyright(C)2009-2022 by VSF Team *
3
* *
4
* Licensed under the Apache License, Version 2.0 (the "License"); *
5
* you may not use this file except in compliance with the License. *
6
* You may obtain a copy of the License at *
7
* *
8
* http://www.apache.org/licenses/LICENSE-2.0 *
9
* *
10
* Unless required by applicable law or agreed to in writing, software *
11
* distributed under the License is distributed on an "AS IS" BASIS, *
12
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *
13
* See the License for the specific language governing permissions and *
14
* limitations under the License. *
15
* *
16
****************************************************************************/
17
18
#ifndef __USE_MCS51_INTERRUPT_H__
19
#define __USE_MCS51_INTERRUPT_H__
20
21
/*============================ INCLUDES ======================================*/
22
23
#ifdef __cplusplus
24
extern
"C"
{
25
#endif
26
27
/*============================ MACROS ========================================*/
28
/*============================ MACROFIED FUNCTIONS ===========================*/
29
/*============================ TYPES =========================================*/
30
/*============================ GLOBAL VARIABLES ==============================*/
31
/*============================ PROTOTYPES ====================================*/
32
33
#if __IS_COMPILER_51_KEIL__
34
extern
vsf_gint_state_t
__disable_interrupt(
void
);
35
extern
void
__enable_interrupt(
void
);
36
extern
vsf_gint_state_t
__get_interrupt_state(
void
);
37
extern
void
__set_interrupt_state(
vsf_gint_state_t
state
);
38
#endif
39
40
#ifdef __cplusplus
41
}
42
#endif
43
44
#endif
bool
bool
Definition
type.h:60
state
uint8_t state
Definition
vsf_msg_tree.h:247
Generated by
1.9.8