课程

教学相长

认真教书,认真学习

第一章 概述
第二章 Nios II处理器体系结构
第三章 Avalon接口规范
第四章 SOPC软硬件开发平台
第五章 Nios II处理器常用外设
第六章 μC/OS II操作系统移植
第七章 Nios II系统深入设计
第八章 调试技术

μC/OS API

API(Application programming interface)应用程序编程接口

注:结合user manual来讲,体验如何通过原始资料获取信息

Kernel structure

OS_ENTER_CRITICAL()

OS_EXIT_CRITICAL()

OSInit()

OSStart()......

Task Management

OSTaskCreate()

OSTaskDel()

OSTaskChangePrio()......

Time Services

OSTimeDly() OSTimeDlyHMSM() OSTimeDlyResume() OSTimeGet() OSTimeSet()

Timer Management

Function Name                  Operation
OSTmrCreate()         Create and specify the operating mode of the timer.
OSTmrDel()           Delete a timer.
OSTmrRemainGet()        Obtain the remaining time left before the timer expires.
OSTmrStart()          Start (or restart) a timer.
OSTmrStateGet()        Obtain the current state of a timer.
OSTmrStop()          Stop the countdown process of a timer.


Semaphore Management

 

Event Control Blocks

 

Mutual Exclusion Semaphores

 

Event Flag Management

 

Message Mailbox Management

 

Message Queue Management

 

Memory Management