⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 types.h

📁 DSP中使用PWM模块对电机进行控制
💻 H
字号:
/*****************************************************************************
*
* (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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -