?? ogold.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 + -