libmetal
lib
system
freertos
template
sys.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2018, Linaro Inc. and Contributors. All rights reserved.
3
*
4
* SPDX-License-Identifier: BSD-3-Clause
5
*/
6
7
/*
8
* @file freertos/template/sys.h
9
* @brief freertos template system primitives for libmetal.
10
*/
11
12
#ifndef __METAL_FREERTOS_SYS__H__
13
#error "Include metal/sys.h instead of metal/freertos/@PROJECT_MACHINE@/sys.h"
14
#endif
15
16
#ifndef __METAL_FREERTOS_TEMPLATE_SYS__H__
17
#define __METAL_FREERTOS_TEMPLATE_SYS__H__
18
19
#ifdef __cplusplus
20
extern
"C"
{
21
#endif
22
23
#ifdef METAL_INTERNAL
24
25
void
sys_irq_enable
(
unsigned
int
vector);
26
27
void
sys_irq_disable
(
unsigned
int
vector);
28
29
#endif
/* METAL_INTERNAL */
30
31
#ifdef __cplusplus
32
}
33
#endif
34
35
#endif
/* __METAL_FREERTOS_SYS__H__ */
sys_irq_disable
void sys_irq_disable(unsigned int vector)
Definition:
sys.c:36
sys_irq_enable
void sys_irq_enable(unsigned int vector)
Definition:
sys.c:29
Generated on Sun May 10 2020 00:00:00 for libmetal by
1.8.17