VSF Documented
device.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/*============================ INCLUDES ======================================*/
19
20#include "hal/vsf_hal_cfg.h"
21
22/*============================ MACROS ========================================*/
23
24/*\note first define basic info for arch. */
25#if defined(__VSF_HEADER_ONLY_SHOW_ARCH_INFO__)
26
28# define VSF_ARCH_PRI_NUM 16
29# define VSF_ARCH_PRI_BIT 4
30
31// software interrupt provided by a dedicated device
32#define VSF_DEV_SWI_NUM 0
33
34#else
35
36#ifndef __HAL_DEVICE_TI_AM3352_H__
37#define __HAL_DEVICE_TI_AM3352_H__
38
39//#define VSF_DEV_SWI_LIST 5, 45, 50, 69, 81, 83, 91, 94, 95
40
41
42
43/*============================ INCLUDES ======================================*/
44
45/*\note this is should be the only place where __common.h is included.*/
46//#include "../common/__common.h"
47
48/*============================ MACROS ========================================*/
49/*============================ MACROFIED FUNCTIONS ===========================*/
50/*============================ TYPES =========================================*/
51/*============================ GLOBAL VARIABLES ==============================*/
52/*============================ LOCAL VARIABLES ===============================*/
53/*============================ PROTOTYPES ====================================*/
54
55#endif // __HAL_DEVICE_TI_AM3352_H__
56#endif // __VSF_HEADER_ONLY_SHOW_ARCH_INFO__
57/* EOF */