types.h

来自「DSP中使用PWM模块对电机进行控制」· C头文件 代码 · 共 47 行

H
47
字号
/*****************************************************************************
*
* (c) Freescale Semiconductor
* 2004 All Rights Reserved
*
*
******************************************************************************
*
* File Name:         types.h
*
* Description:       Header file for defining common typedefs used by
*                    the SDK
*
* Modules Included:
*
*
*****************************************************************************/

#ifndef __TYPES_H
#define __TYPES_H

#include "port.h"

#ifdef __cplusplus
extern "C" {
#endif

typedef unsigned int clockid_t;
typedef unsigned int timer_t;
typedef unsigned int handle_t;
#ifndef _MSL_TIME_T_DEFINED
  typedef long             time_t;
  #define _MSL_TIME_T_DEFINED         /* avoid multiple def's of time_t */
#endif
//typedef unsigned int     ssize_t;

typedef void (*types_tCallback)(void *);
typedef void (*types_tErrorCallback)(UWord16);

typedef int types_tHandle;

#ifdef __cplusplus
}
#endif

#endif

⌨️ 快捷键说明

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