嗨,大家好!
我正在尝试从硅实验室的EZADOPro改编源代码。我想通过PSoC 3为无线收发器模块RM22B(来自HOPRF),包括SI44 30芯片开发代码。
我已经开发了用ACK双向链接的代码,并用PSoC 3进行工作。
现在我想再多做一步,我希望FHSS调制(跳频扩频),所以我可以得到更好的答案,由于信号多重衰落。
Tela是来自硅实验室的一些代码,但是它们使用SDCC和CuililRyDeff.h。
“*定义节段变量(name,ValType,LoopEnter)VARTYPE段段名”
我的问题是我不知道如何在PSoC 3中使用等价的声明。
我不想复制代码,我只想知道这个声明是什么意思。
作为参考,我将在这里粘贴一个链接来看看CopySerdDuff.h是什么。
http://www. kiel.com /dd/DOCS/C51/CygNal/CuffeleR.DEFS.h
我希望有人能告诉我如何在PSoC 3上使用这个声明。
非常感谢你。
以上来自于百度翻译
以下为原文
Hi every one.!
I'm tryinng to adapt source code from EZRadioPro from Silicon Lab. I want to develop code right through PSoC 3 for radio tranceiver module RFM22B,( from HopeRF) which include si4430 chip.
I have alrready developed code for bidirec
tional link with ACK and work OK with PSoc 3.
Now I would like one more step and I would like FHSS modulation( frecuency hopping spread spectrum) , so I can get better answer due to signal multifading .
Thera are some code from Silicon lab , but they use SDCC and
compiler_defs.h. There are for some global variable declaration such as :
" # define SEGMENT_VARIABLE(name, vartype, locsegment) vartype locsegment name "
My issue is that I don't known how use the equivalent declaration in PSoc 3 .
I don't want to copy the code, only I want to understand what does this declartion mean.
For reference I will paste here a link to take a look what compiler_defs.h does.
http://www.keil.com/dd/docs/c51/cygnal/compiler_defs.h
I hope someone can tell me how use this declaration on PSoC 3
Thank you very much in advance.