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

📄 pca.h

📁 台湾亚信电子ASIX11015的PCA口驱动,我最近正在学这方面的东西一,希望和大家一起努力!
💻 H
字号:
/*
 *********************************************************************************
 *     Copyright (c) 2005   ASIX Electronic Corporation      All rights reserved.
 *
 *     This is unpublished proprietary source code of ASIX Electronic Corporation
 *
 *     The copyright notice above does not evidence any actual or intended
 *     publication of such source code.
 *********************************************************************************
 */
/*================================================================================
 * Module Name : pca.h
 * Purpose     : 
 * Author      : Robin Lee
 * Date        : 2006-06-23
 * Notes       :
 * $Log$
 *================================================================================
 */
#ifndef PCA_H
#define PCA_H

/* INCLUDE FILE DECLARATIONS */


/* NAMING CONSTANT DECLARATIONS */
#define		PCA_MODULE0			0
#define		PCA_MODULE1			1
#define		PCA_MODULE2			2
#define		PCA_MODULE3			3
#define		PCA_MODULE4			4
#define		PCA_CLK_1			0
#define		PCA_CLK_1_33		BIT1
#define		PCA_CLK_3_03		BIT2
#define		PCA_CLK_4			BIT1+BIT2
#define		PCA_CCF_ENB			ECCFs
#define		PCA_CAP_POS			CAPPs
#define		PCA_CAP_NEG			CAPNs
#define		PCA_CAP_POS_NEG		CAPPs|CAPNs
#define		PCA_SW_TIMER		ECOMs|MATs
#define		PCA_HI_SPEED_OUT	ECOMs|MATs|TOGs
#define		PCA_8BIT_PWM		ECOMs|PWMs


/* MACRO DECLARATIONS */


/* TYPE DECLARATIONS */


/* GLOBAL VARIABLES */


/* EXPORTED SUBPROGRAM SPECIFICATIONS */
void	PCA_ValueInit(void);
void	PCA_ModeSetup(U8_T modeVal, U8_T ctrlVal);
void	PCA_ModuleSetup(U8_T moduleNum, U8_T ModeType, U8_T IntrEnb, U16_T TimerVal);
void	PCA_ModuleTimer(U8_T moduleNum, U16_T newTimerVal);
U16_T	PCA_GetModuleCaptureValue(U8_T moduleNum);
U8_T	PCA_GetWhichSwTimer(void);


#endif /* End of PCA_H */

⌨️ 快捷键说明

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