随笔分类 -  RTOS

摘要:OS_Alloc.o OS_free OS_Alloc.o OS_malloc OS_Alloc.o OS_realloc OS_ARM720_MMU.o OS_ARM720_... 阅读全文
posted @ 2017-12-15 00:40 IAmAProgrammer 编辑
摘要:/* ---------------------------------------------------------------------- * Copyright (C) 2011 ARM Limited. All rights reserved. * * $Date: 10.... 阅读全文
posted @ 2015-10-23 20:35 IAmAProgrammer 编辑
摘要:Detailed DescriptionGeneric CAN Driver.This module implements a generic CAN (Controller Area Network) driver allowing the exchange of information at f... 阅读全文
posted @ 2015-08-09 11:29 IAmAProgrammer 编辑
摘要:A task may be in one of several states at any given time. When a task is created, it isplaced into the READY state.A task in the READY state is activa... 阅读全文
posted @ 2015-08-06 11:11 IAmAProgrammer 编辑
摘要:the difference between an embOS interrupt and a zero latency interrupt is the interrupt priority level and the usage of OS_EnterInterrupt()/OS_LeaveIn... 阅读全文
posted @ 2015-07-07 13:27 IAmAProgrammer 编辑
摘要:信号量的分类Mutual Exclusion Semaphores(互斥):一种特殊的二进制信号量,专门针对互斥操作进行了优化。Binary Semaphores(二进制):完成互斥、同步操作的最佳方式;速度最快,最常用。Counting Semaphores(计数):类似于二进制信号量,可记录信号... 阅读全文
posted @ 2014-08-27 14:23 IAmAProgrammer 编辑
摘要:#ifndef __CMSIS_OS_H__#define __CMSIS_OS_H__#include #include #include "RTOS.h"// API version (main [31:16] .sub [15:0])#define osCMSIS ... 阅读全文
posted @ 2014-08-19 10:35 IAmAProgrammer 编辑
摘要:1 /*---------------------------------------------------------------------------- 2 * RL-ARM - RTX 3 *--------------------------------------... 阅读全文
posted @ 2014-07-18 23:26 IAmAProgrammer 编辑
摘要:1 /*---------------------------------------------------------------------------- 2 * RL-ARM - RTX 3 *-----------------------------------------... 阅读全文
posted @ 2014-07-18 23:25 IAmAProgrammer 编辑
摘要:12 #include 3 4 #include "bsp-fifisdr.h"5 6 #include "lpclib.h"7 #include "task-gui.h"8 9 10 #define GUI_QUEUE_LENGTH ... 阅读全文
posted @ 2014-07-18 23:22 IAmAProgrammer 编辑
摘要:1 /*---------------------------------------------------------------------------- 2 * RL-ARM - RTX 3 *--------------------------------------... 阅读全文
posted @ 2014-07-18 23:19 IAmAProgrammer 编辑
摘要:1 osTimerId timer; 2 3 uint32_t cnt=0; 4 void timerHandler( void * arg ) 5 { 6 cnt++; 7 osTimerStart( timer, 100 ); 8 } 9 10 osTimerDef( timer, ... 阅读全文
posted @ 2014-07-18 19:59 IAmAProgrammer 编辑
摘要:osMutexDef( Mutex );osMutexId mutex;void Thread0( void * arg);void Thread1( void * arg);osThreadDef( Thread0, Thread0, osPriorityNormal, 512 );osThrea... 阅读全文
posted @ 2014-07-18 19:49 IAmAProgrammer 编辑
摘要:1 #include "cmsis_os.h" 2 3 void Thread0( void * arg); 4 void Thread1( void * arg); 5 6 osThreadDef( Thread0, Thread0, osPriorityNormal, 512 ); 7 o... 阅读全文
posted @ 2014-07-18 19:43 IAmAProgrammer 编辑
摘要:http://www.kalinskyassociates.com/Wpaper4.htmlArchitecture of Device I/O DriversMany embedded systems developers will tell you that writing a device driver consists of a lot of "bit-bashing andregister-twiddling" to convince some ornery unit of hardware to submit to the control of driver s 阅读全文
posted @ 2014-01-18 17:19 IAmAProgrammer 编辑
摘要:mutex和semaphore有什么区别呢?mutex是用作互斥的,而semaphore是用作同步的。也就是说,mutex的初始化一定是为1,而semaphore可以是任意的数,所以如果使用mutex,那第一个进入临界区的进程一定可以执行,而其他的进程必须等待。而semaphore则不一定,如果一开... 阅读全文
posted @ 2014-01-15 01:29 IAmAProgrammer 编辑
摘要:http://www.embedded.com/design/embedded/4231326/Taking-advantage-of-the-Cortex-M3-s-pre-emptive-context-switchesThe ARM Cortex-M3 (CM3) architecture is a 32-bit microcontroller core designed to replace many 8-bit and 16-bit devices by offering faster speeds and advanced system features.Leveraging th 阅读全文
posted @ 2014-01-06 19:47 IAmAProgrammer 编辑
摘要:http://www.freertos.org/a00111.htmlThe RTOS kernel allocates RAM each time a task, queue, mutex, software timer or semaphore is created.The standard C library malloc() and free() functions can sometimes be used for this purpose, but...they are not always available on embedded systems,they take up va 阅读全文
posted @ 2013-12-27 18:17 IAmAProgrammer 编辑
摘要:Task CreationxTaskCreatevTaskDeleteTask ControlvTaskDelayvTaskDelayUntiluxTaskPriorityGetvTaskPrioritySetvTaskSuspendvTaskResumexTaskResumeFromISRKernel ControltaskYIELDtaskENTER_CRITICALtaskEXIT_CRITICALtaskDISABLE_INTERRUPTStaskENABLE_INTERRUPTSvTaskStartSchedulervTaskEndSchedulervTaskSuspendAllxT 阅读全文
posted @ 2013-12-27 12:10 IAmAProgrammer 编辑
摘要:http://www.freertos.org/a00110.htmlFreeRTOS is customised using a configuration file called FreeRTOSConfig.h. Every FreeRTOS application must have a FreeRTOSConfig.h header file in its pre-processor include path. FreeRTOSConfig.h tailors the RTOS kernel to the application being built. It is therefor 阅读全文
posted @ 2013-12-27 09:15 IAmAProgrammer 编辑

点击右上角即可分享
微信分享提示