📄 pwm.h
字号:
/****************************************Copyright (c)**************************************************
** Guangzhou ZHIYUAN electronics Co.,LTD.
**
** http://www.zyinside.com
**
**--------------File Info-------------------------------------------------------------------------------
** File Name: pwm.h
** Last modified Date: 2006-10-09
** Last Version: V1.0
** Description: S3C2410 PWM 驱动头文件
** This driver uses PWM with Timer0 or Timer1, the ouput is TOUT0 or TOUT1
**------------------------------------------------------------------------------------------------------
** Created By: MingYuan Zheng 郑明远
** Created date: 2006-10-09
** Version: V1.0
** Descriptions: The original version
**
**------------------------------------------------------------------------------------------------------
** Modified by:
** Modified date:
** Version:
** Description:
**
********************************************************************************************************/
#ifndef __PWM_H__
#define __PWM_H__
#ifdef __cplusplus
extern "C" {
#endif
#define IOCTL_PWM_SET_PRESCALER 1
#define IOCTL_PWM_SET_DIVIDER 2
#define IOCTL_PWM_START 3
#define IOCTL_PWM_GET_FREQUENCY 4
#ifdef __cplusplus
}
#endif
#endif // __PWM_H__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -