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

📄 rgbled.h

📁  PSoC(可编程片上系统)是Cypress半导体公司生产的包含有8位微处理器核和数字与模拟混合的信号阵列芯片
💻 H
字号:
//*****************************************************************************
//*****************************************************************************
//  FILENAME:  `@LIB_NAME`_RGBLED.h
//  Version: 1.1, Updated on 2007/03/08 at 09:37:41 
//  Application: PSoC Express 2.0
//
//  DESCRIPTION:  Header file for the RGBLED Driver
//-----------------------------------------------------------------------------
//      Copyright (c) Cypress MicroSystems 2007. All Rights Reserved.
//*****************************************************************************
//*****************************************************************************

#ifndef `@LIB_NAME`_RGBLED_include
#define `@LIB_NAME`_RGBLED_include

#include <M8C.h>
#include "`@LIB_NAME`_dio.h"

////////////////////////////////////////////////////////////////////////////////////////////

////////////////////////////////////////////////////////////////////////////////////////////
// parameter block
typedef struct
{
	const `@LIB_NAME`_DIO_ParameterBlock * DriverPin_BLUE;
	const `@LIB_NAME`_DIO_ParameterBlock * DriverPin_GREEN;
	const `@LIB_NAME`_DIO_ParameterBlock * DriverPin_RED;		//subdriver parameter blocks
	BYTE bDrivePolarity;									// xor mask for Sourcing or Sinking LEDs 
}`@LIB_NAME`_RGBLED_ParameterBlock;

void `@LIB_NAME`_RGBLED_SetValue(const CMX_RGBLED_ParameterBlock * thisBLK, BYTE bState);
void `@LIB_NAME`_RGBLED_Instantiate(const CMX_RGBLED_ParameterBlock * thisBLK);
#endif

⌨️ 快捷键说明

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