⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 threadx_cpu.h

📁 hreadx实时嵌入式操作系统源代码,ARM移植. threadx是一个很好的多任务实时嵌入式操作系统
💻 H
字号:
/**************************************************************************/ 
/*                                                                        */ 
/*      only for 32bit mode and dosn't support interrupt nesting          */
/*                                                                        */  
/* File name:               threadX_cpu.h								  */
/* Last modified Date:      2008-03-28									  */
/* Last Version:            0.01										  */
/* Descriptions:            header file     							  */
/* QQ:                      307102293									  */
/* ENAIL:                   wodexinxiang1949@163.com                      */
/*                                                                        */
/**************************************************************************/

#ifndef __THREADX_CPU_H
#define __THREADX_CPU_H

/**************************************************************************/
/*                                                                         */ 
/*     data struct for arm target                                          */ 
/*                                                                         */
/**************************************************************************/
typedef struct arm_stack_struct {
    unsigned int        cpsr;
    unsigned int        lr;
    unsigned int        r0;
    unsigned int        r1;
    unsigned int        r2;
    unsigned int        r3;
    unsigned int        r6;
    unsigned int        r4;
    unsigned int        r5;
    unsigned int        r7;
    unsigned int        r8;
    unsigned int        r9;
    unsigned int        r10;
    unsigned int        r11;
    unsigned int        r12;
    unsigned int        pc;
} ARM_STACK;

/**************************************************************************/
/*                                                                         */ 
/*     function of arm target for threadX                                  */ 
/*                                                                         */
/**************************************************************************/
extern void __tx_initialize_low_level   (void);
extern void _tx_timer_interrupt         (void);

#endif
/**************************************************************************/
/*     end of file                                                        */ 
/**************************************************************************/

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -