www.pudn.com > RS485_USART-ok.rar > drv_pau.h, change:2007-09-29,size:835b


//  ---------------------------------------------------------------------------- 
//          Shenzhen ANCHE TECH Co.,LTD 
//  ---------------------------------------------------------------------------- 
//   
//  ---------------------------------------------------------------------------- 
// File Name           : pwm.h 
// Object               :  PWM Driver 
// Designer            : Tianlong Jing, at 2006 
// Generated           :  
//  ---------------------------------------------------------------------------- 
 
#ifndef __DRV_PAU_H 
#define __DRV_PAU_H 
 
#include "includes.h" 
 
#define 	PWM_PAU_FREQ	3000 
 
#define	PWM_PAU_PERIOD		AT91B_MCK / PWM_PAU_FREQ 
 
#define	PAU_CH_FRAME_LEFT			0 
#define	PAU_CH_FRAME_RIGHT			1 
 
void PAU_Open(void); 
void  PAU_Write(INT8U ch, INT32U duty); 
 
#endif /* __DRV_PAU_H */