资源简介
包含uCOSII在M32上移植的完整代码,编译环境为iCCAVR,直接可以在proteus下运行
代码片段和文件信息
/*
*********************************************************************************************************
* uC/OS-II
* The Real-Time Kernel
* CORE FUNCTIONS
*
* (c) Copyright 1992-2003 Jean J. Labrosse Weston FL
* All Rights Reserved
*
* File : OS_CORE.C
* By : Jean J. Labrosse
* Version : V2.76
*********************************************************************************************************
*/
#ifndef OS_MASTER_FILE
#define OS_GLOBALS
#include “ucos_ii.h“
#endif
/*
*********************************************************************************************************
* MAPPING TABLE TO MAP BIT POSITION TO BIT MASK
*
* Note: Index into table is desired bit position 0..7
* Indexed value corresponds to bit mask
*********************************************************************************************************
*/
INT8U const OSMapTbl[8] = {0x01 0x02 0x04 0x08 0x10 0x20 0x40 0x80};
/*
*********************************************************************************************************
* PRIORITY RESOLUTION TABLE
*
* Note: Index into table is bit pattern to resolve highest priority
* Indexed value corresponds to highest priority bit position (i.e. 0..7)
*********************************************************************************************************
*/
INT8U const OSUnMapTbl[256] = {
0 0 1 0 2 0 1 0 3 0 1 0 2 0 1 0 /* 0x00 to 0x0F */
4 0 1 0 2 0 1 0 3 0 1 0 2 0 1 0 /* 0x10 to 0x1F */
5 0 1 0 2 0 1 0 3 0 1 0 2 0 1 0 /* 0x20 to 0x2F */
4 0 1 0 2 0 1 0 3 0 1 0 2 0 1 0 /* 0x30 to 0x3F */
6 0 1 0 2 0 1 0 3 0 1 0 2 0 1 0 /* 0x40 to 0x4F */
4 0 1 0 2 0 1 0 3 0 1 0 2 0 1 0 /* 0x50 to 0x5F */
5 0 1 0 2 0 1 0 3 0 1 0 2 0 1 0 /* 0x60 to 0x6F */
4 0 1 0 2 0 1 0 3 0 1 0 2 0 1 0 /* 0x70 to 0x7F */
7 0 1 0 2 0 1 0 3 0 1 0 2 0 1 0 /* 0x80 to 0x8F */
4 0 1 0 2 0 1 0 3 0 1 0 2 0 1 0 /* 0x90 to 0x9F */
5 0 1 0 2 0 1 0 3 0 1 0 2 0 1 0 /* 0xA0 to 0xAF */
4 0 1 0 2 0 1 0 3 0 1 0 2 0 1 0 /* 0xB0 to 0xBF */
6 0 1 0 2 0 1 0 3 0 1 0 2 0
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 7710 2011-03-06 21:57 CPU1\M32_C.lis
文件 1703 2011-03-06 21:57 CPU1\M32_C.o
文件 9135 2011-03-06 21:57 CPU1\MAIN.lis
文件 2194 2011-03-06 21:57 CPU1\MAIN.o
文件 23526 2011-03-06 21:57 CPU1\OS_CPU_A.lis
文件 3446 2011-03-06 21:57 CPU1\OS_CPU_A.o
文件 31671 2011-03-06 21:57 CPU1\OS_CPU_C.lis
文件 5426 2011-03-06 21:57 CPU1\OS_CPU_C.o
文件 631 2011-03-04 17:33 CPU1\transPlant\includes.h
文件 1580 2011-03-06 16:43 CPU1\transPlant\M32_C.C
文件 2575 2011-03-06 21:27 CPU1\transPlant\MAIN.C
文件 8752 2011-03-06 20:40 CPU1\transPlant\OS_CFG.H
文件 4198 2011-03-05 22:32 CPU1\transPlant\OS_CPU.H
文件 9105 2011-03-06 21:27 CPU1\transPlant\OS_CPU_A.S
文件 10448 2011-03-05 16:39 CPU1\transPlant\OS_CPU_C.C
文件 9333 2011-03-06 21:56 CPU1\transPlant\transPlant.rar
文件 68349 2011-03-04 00:38 CPU1\ucos2Src\os_core.c
文件 11619 2004-01-02 13:11 CPU1\ucos2Src\os_dbg.c
文件 53992 2004-10-22 13:34 CPU1\ucos2Src\os_flag.c
文件 25345 2004-11-08 17:58 CPU1\ucos2Src\os_mbox.c
文件 18694 2004-10-22 13:41 CPU1\ucos2Src\os_mem.c
文件 29976 2004-11-08 17:58 CPU1\ucos2Src\os_mutex.c
文件 37384 2004-11-09 10:21 CPU1\ucos2Src\os_q.c
文件 23616 2004-11-08 17:58 CPU1\ucos2Src\os_sem.c
文件 49672 2004-11-08 17:58 CPU1\ucos2Src\os_task.c
文件 11029 2004-10-22 13:41 CPU1\ucos2Src\os_time.c
文件 64525 2011-03-06 21:56 CPU1\ucos2Src\ucos2Src.rar
文件 1006 2011-03-04 00:03 CPU1\ucos2Src\ucos_ii.c
文件 53193 2011-03-06 12:58 CPU1\ucos2Src\ucos_ii.h
文件 411499 2011-03-06 21:57 CPU1\ucos_ii.lis
............此处省略19个文件信息
相关资源
- STM32延时中断LED
- Atmega128上移植ucosii的实用例程
- proteus单片机仿真串口汽车防夹
- 0145、低成本可调数显稳压电源(1.3
- ucosiii OSInit()函数简略解析
- Proteus不用单片机的数字电路频率计仿
- PS2手柄_STM32例程
- Proteus 仿真MSP430之LCD12864
- STM32的GPIO口模拟串口通信
- proteus 双机通信仿真简单实用的单片机
- stm32 光控灯源码
- 直流电机PWM控制proteus仿真图
- STM32Cubemx软件和驱动库
- 波形发生器 Proteus
- SHT20驱动STM32F103
- STM32F407原理图包含PCB
- 基于ATmega128的BK-AVR128开发板Proteus仿真
- SHT11 温湿度传感器 STM32驱动
- STM32 tim3的输入捕获功能解码 电视红外
- proteus 8086 8251仿真
- 坦克大战—单片机+proteus仿真
- AD转换PROTEUS仿真电压表套件
- STM32多任务处理例程2
- STM32时分法多任务处理例程
- 四路抢答器 proteus 仿真电路 及其程序
- MSCOMM32.OCX等控件注册 适用于win7和xp
- STM32所有系列F0F1F2F3F4CAN总线波特率计
- 基于STM32和SIM900A的短信发送程序
- STM32 SWD脱机烧录原理图和上位机
- PIC16F877 完整项目 源程序 proteus 仿真
评论
共有 条评论