huangcm
2025-09-01 53d8e046ac1bf2ebe94f671983e3d3be059df91a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/*
*********************************************************************************************************
*                                                AR100 SYSTEM
*                                     AR100 Software System Develop Kits
*
*
*                                    (c) Copyright 2018-2024, Luojie China
*                                             All Rights Reserved
*
* File    : ibase.h
* By      : LuoJie
* Version : v1.0
* Date    : 2018-06-05 16:33
* Descript: .
* Update  :auther      ver     notes
*          Luojie      1.0     Create this file.
*********************************************************************************************************
*/
 
#ifndef __BASE_H__
#define __BASE_H__
 
//general header
#include <stdarg.h>     //use gcc stardard header file
#include <stddef.h>     //use gcc stardard define keyword, like size_t, ptrdiff_t
#include "./types.h"
#include "./error.h"
 
#include "lib_inc.h"
#include "platform_config.h"
#include "./device.h"
//debugger
#include "debugger.h"
#include "time.h"
#include "./dbgs.h"
 
//libary
#include "./library.h"
#include "conf.h"
 
 
 
//enable and disable interrupt
extern s32  cpu_disable_int(void);
extern void cpu_enable_int(int cpsr);
 
//cpu initialize
extern void cpu_init(void);
 
#define TICK_PER_SEC                    (100)
#endif //__INCLUDE_H__