system_drv.h
资源名称:bmp.rar [点击查看]
上传用户:kaigelee
上传日期:2022-07-13
资源大小:6432k
文件大小:1k
源码类别:
图片显示
开发平台:
Visual C++
- #ifndef _SYSTEM_DRV_H
- #define _SYSTEM_DRV_H
- #include "gendef.h" /* General definitions & macros */
- #define WAIT_INFINITE 0xFFFFFFFF
- void* DTOS_DRV_AllocateMemory(INT32U );
- void DTOS_DRV_FreeMemory(void *);
- INT32U DTOS_DRV_CreateTask( void (*task)(void),INT32U priority,INT32U stackSize,char Name[]);
- void DTOS_DRV_DelayTask( INT16S );
- INT32U DTOS_DRV_CreatQueue( INT32U QueueSize, INT32U MessageSize );
- INT32S DTOS_DRV_SendMessage(INT32U queueID ,void *Message);
- INT32S DTOS_DRV_ReceiveMessage( INT32U queueID ,void *Message);
- INT32S DTOS_DRV_CreateSemaphore(INT8S *name,INT32U initValue, INT32U * semaphoreId);
- void DTOS_DRV_SetSemaphore(INT32U semaphoreId);
- INT32S DTOS_DRV_GetSemaphore(INT32U semaphoreId, INT32U timeOut);
- void registerDVBKeycodeCallback(void(*callback)(INT32U whichKey) );
- #endif