Location:
Search - cy
Search list
Description: The project KEIL_IODemo shows how to use memory allocation routines (malloc) and char I/O (printf, scanf) via a serial interface with the Keil ARM toolchain.
The I/O functions are adapted for the Analog Devices ADuC7000 series using the SERIAL.C module.
The example also shows the efficiency of the Keil CA ARM Compiler run-time library which is tuned for single chip systems.
-The project shows how to use me mory allocation routines (malloc) and char I / O (printf, Scanf) via a serial interface with the Keil ARM t oolchain. The I / O functions are adapted for the Analog Devices ADuC7000 series using the SERIA Synchronization module. The example also shows the efficien cy of the CA Keil ARM Compiler run-time library w hich is tuned for single chip systems.
Platform: |
Size: 19884 |
Author: 郭文彬 |
Hits:
Description: // Canny算子
void Canny(LPBYTE pGray, SIZE sz, double sigma, double dRatLow,
double dRatHigh, LPBYTE pResult)
{
//经过高斯滤波后的图像
LPBYTE pGaussSmooth
pGaussSmooth = new unsigned char[sz.cx*sz.cy]
//x方向导数的指针
int *pGradX
pGradX = new int[sz.cx*sz.cy]
//y方向
int *pGradY
pGradY = new int[sz.cx*sz.cy]
//梯度的幅度
int *pGradMag
pGradMag = new int[sz.cx*sz.cy]
//对原图高斯滤波
GaussianSmooth(sz,pGray,pGaussSmooth,sigma)
//计算方向导数和梯度的幅度
Grad(sz,pGaussSmooth,pGradX,pGradY,pGradMag)
//应用非最大抑制
NonmaxSuppress(pGradMag,pGradX,pGradY,sz,pResult)
//应用Hysteresis,找到所有边界
Hysteresis(pGradMag,sz,dRatLow,dRatHigh,pResult)
delete[] pGradX
pGradX = NULL
delete[] pGradY
pGradY = NULL
-/ / Canny operator void Canny (LPBYTE pGray. SIZE sz, double sigma, double dRatLow. double dRatHigh. LPBYTE pResult) (/ / after Gaussian filtering of images LPBYTE pGaussS mooth unsigned pGaussSmooth = new char [sz.cx * sz.cy] / / x direction derivative indicators pGradX pGradX int * = new int [ sz.cx * sz.cy] / / int * y direction pGradY pGradY = new int [sz.cx * sz.cy] / / gradient magnitude int * pGradMag pGradMag = new int [sz.cx * sz.cy] / / maximum Gaussian filter to GaussianSmo oth (sz, pGray, pGaussSmooth. sigma) / / calculate derivative and the gradient range Grad (sz. pGaussSmooth, pGradX, pGradY. pGradMag) / / non-application of the biggest inhibition NonmaxSuppress (pGradMa g, pGradX, pGradY, sz, pResult) / / Application Hysteresis, find all border Hysteresis (pGradMag, sz, dRa
Platform: |
Size: 54607 |
Author: 王学金 |
Hits:
Description: 利用CY单片机CY7C637XX编写的USB鼠标程序-use CY SCM CY7C637XX prepared by the USB mouse procedure
Platform: |
Size: 67478 |
Author: 杨光 |
Hits:
Description: zemax源码:
This DLL models an anamorphic aspheric surface.
This surface is essentially an even aspheric surface with different terms for
the x and y directions.
The sag is given by:
Z = ((CX*x*x)+(CY*y*y)) / (1 + sqrt(1-((1+KX)*CX*CX*x*x)-((1+KY)*CY*CY*y*y)))
+ AR*( (1 - AP)*x*x + (1 + AP)*y*y )^2
+ BR*( (1 - BP)*x*x + (1 + BP)*y*y )^3
+ CR*( (1 - CP)*x*x + (1 + CP)*y*y )^4
+ DR*( (1 - DP)*x*x + (1 + DP)*y*y )^5
Note the terms AR, BR, CR, and DR ... have units of length to the -3, -5, -7, and -9 power.
The terms AP, BP, CP, and DP are dimensionless.
The surface is rotationally symmetric only if AP = BP = CP = DP == 0 and CX = CY and KX = KY.
Platform: |
Size: 23995 |
Author: 狄拉克 |
Hits:
Description: 关于c语言的学习+++ ++===
-on language learning
Platform: |
Size: 1514108 |
Author: 温莹 |
Hits:
Description: SetWindowPos 详解
函数名:
SetWindowPos
头文件:
winuser.h
函数原型:
BOOL SetWindowPos
(
HWND hWnd, //窗口句柄
HWND hWndInsertAfter, //排列顺序的句柄
int X, //水平坐标
int Y, //垂直坐标
int cx, //宽
int cy, //高
UINT uFlags //窗口定位标识
)
-SetWindowPos Hi name : SetWindowPos header files : winuser.h prototype : BOOL SetWindowPos (HWND hWnd, / / window handle HWND hWndInsertAfter, / / order of the handle int X, / / int Y coordinates level. / / vertical coordinates int cx, / / width int cy, / / UINT uFlags / / window positioning logo)
Platform: |
Size: 4696 |
Author: zhusheng |
Hits:
Description: When created, this DLL does not export any symbols. As a result, it
will not produce a .lib file when it is built. If you wish this project
to be a project dependency of some other project, you will either need to
add code to export some symbols from the DLL so that an export library
will be produced, or you can check the \"doesn t produce lib\" checkbox in
the Linker settings page for this project.-When created, this DLL does not export any symbols. As a result , it will not produce a. lib file when it is built. If you wish this project to be a project dependen cy of some other project. you will either need to add code to export some sy mbols from the DLL so that an export library will be produced. or you can check the "does not produce lib" checkb ox in the Linker settings page for this project.
Platform: |
Size: 294089 |
Author: qiushan |
Hits:
Description: 知识要点:理解2 进制数的乘法
运行结果先输出00000010 ,然后输出11111101,就是1011111101 换算后等于10 进制765,就是两数相乘的结果
注意是从高向低排列,同时该数已经超过256, 所以进位cy=1-knowledge elements : two 229 understanding of the number of multiplication operations were first exported 00000010. then output 11111101, 1011111101 converted 229 of 765 to 10. 2 is the result of several multiplication attention from high to low order, and that the number has exceeded 256, so we have a place cy =
Platform: |
Size: 847 |
Author: xinxinjob |
Hits:
Description: 知识要点:比较指令的学习与cy位
开始初始化为ff. 大于fe,那么显示1. 如果用导线把p1.1,\\...p1.7
短路到地,p1 将小于fe, 显示0 ,如果把p1.0 短路到地p1=fe 则继续检测无显示.
该程序示例了比较指令. 同时有助于理解数的概念
-knowledge points : comparison of learning and instruction cy - start initialized ff. Greater than fe, Then a show. If Traverse put p1.1, \\ ... p1.7 to short circuit, will be less than fe p1. show 0, If the short circuit to p1.0 to p1 = fe continued to show no detection. Examples of the procedure compared instructions. helped to understand the concept of a few
Platform: |
Size: 560198 |
Author: xinxinjob |
Hits:
Description: 把所有端口的同时置高置低,不断闪烁
2 p1 口3 路流水灯理解2 进制数与端口的关系
3 单片机的加法:把52h+0fch 结果送p1 口
4 单片机的乘法:把ff*03h 结果送p1
5 单片机的二进制加法
6 单片机的两位计数器
7 学习单片机的逻辑运算
8 进一步学习单片机的逻辑运算
9 循环移位指令的流水灯
10 理解熟悉散转结构的程序
11 位操作指令的学习
12 比较指令的学习与cy位
Platform: |
Size: 1533428 |
Author: 西岭雪 |
Hits:
Description: cypress usb芯片驱动程序,该程序实现了cypress63700的3个驱动,分别是硬盘、键盘、鼠标
Platform: |
Size: 385242 |
Author: Michael Nan |
Hits:
Description: LOOP1: CJNE A,#20H,LOOP2
CLR CY
SUBB A,#07H
SJMP END1
LOOP2: CJNE A,#10H,LOOP3
CLR CY
SUBB A,#07H
SJMP END1
LOOP3: DEC 3AH
END1: MOV TH0,0BH
MOV TL0,0DCH
SETB TR0
RETI
Platform: |
Size: 132037 |
Author: ccdd |
Hits:
Description: MCS-51定点运算子程序库,定点运算子程序库文件名为DQ51.ASM,为便于使用,先将有关约定说明如下:
1.多字节定点操作数:用[R0]或[R1]来表示存放在由R0或R1指示的连续单元中的数
据。地址小的单元存放数据的高字节。例如:[R0]=123456H,若(R0)=30H,则(30H)=12H,
(31H)=34H,(32H)=56H。
2.运算精度:单次定点运算精度为结果最低位的当量值。
3.工作区:数据工作区固定在PSW、A、B、R2~R7,用户只要不在工作区中存放无关的或非消耗性的信息,程序就具有较好的透明性。
(1) 标号: BCDA 功能:多字节BCD码加法
入口条件:字节数在R7中,被加数在[R0]中,加数在[R1]中。
出口信息:和在[R0]中,最高位进位在CY中。
影响资源:PSW、A、R2 堆栈需求: 2字节
Platform: |
Size: 2861 |
Author: limengsi |
Hits:
Description: 健身器材器材无线测速软件,用于速度的测量和无线发射
Platform: |
Size: 3572 |
Author: SQ |
Hits:
Description: Cypress生产的USB接口芯片的中文资料说明书,希望对大家有用,CY的USB芯片还是业界最先进技术的!-Cypress
Platform: |
Size: 178176 |
Author: 任海波 |
Hits:
Description: 用java语言编写,统计一个字符串中汉字和单词的个数。-Using java language, statistics of a string of Chinese characters and the number of words.
Platform: |
Size: 2436096 |
Author: 陈阳 |
Hits:
Description: ISO 1443A RFID 源代码
ISO 1443A RFID 源代码I SO 1443A RFID 源代码I SO 1443A RFID 源代码-ISO1443A RFID source code
ISO1443A RFID source code
ISO1443A RFID source code
Platform: |
Size: 7168 |
Author: sim.ren |
Hits:
Description: CY MFi Digital Audio - RDK - 2.2.0_20101201 IR decode TAS5706
Platform: |
Size: 10665984 |
Author: sakthivel |
Hits:
Description: CY-DM642 网络图像语音处理教学实验系统-CY-DM642 network experimental teaching voice processing system image
Platform: |
Size: 270336 |
Author: |
Hits:
Description: cad lsp 源码 。ry 矩形云线,cy 圆形云线,xg修改云线(自动带日期,新建图层)先设置修订云线REVCLOUD的弧长、样式!-cad lisp source. ry rectangle cloud line, cy circular cloud line, xg modify cloud line (automatic with the date, the new layer) to set the revision cloud REVCLOUD arc length, style!
Platform: |
Size: 1024 |
Author: laohuang |
Hits: