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

📄 ogold.h

📁 在linux系统下开发研究移动通信的工具型代码
💻 H
字号:
#ifndef _OGOLD_H#define _OGOLD_H/*  * $Log: ogold.h,v $ * Revision 1.1  2000/05/03 14:30:04  bjc97r * Initial revision * */#include "gold.h"typedef struct {  Gold *gold;            /* the ID of the Gold code */  unsigned long period;  /* the period of the Orthogonal Gold code */  unsigned long counter;} OGold;/* * It create an OGold code generator with the two preferred m-sequences * with the given index. The OGold code generator is returned. * The possible range of index is 0 to (2^deg - 1). */OGold *ogold_create( unsigned deg, unsigned long p0, unsigned long p1,		     unsigned long index );/* ogold_free() deallocates the memory space for the OGold code generator. */void ogold_free( OGold *ogold );/* ogold() gives the next OGold sequence in unipolar value, ie 1 or 0. */char ogold( OGold *id );#endif  /* _OGOLD_H */

⌨️ 快捷键说明

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