diff options
Diffstat (limited to 'api/inttype.h')
-rw-r--r-- | api/inttype.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/api/inttype.h b/api/inttype.h new file mode 100644 index 0000000..8f7ed4b --- /dev/null +++ b/api/inttype.h @@ -0,0 +1,40 @@ +#ifndef __INTTYPE_H__ +#define __INTTYPE_H__ + + +/** + * The type defination of SnrTable. + */ +typedef struct { + Dword errorCount; + Dword snr; + double errorRate; +} SnrTable; + + +/** + * The type defination of Statistic. + */ +typedef struct { + Word abortCount; + Dword postVitBitCount; + Dword postVitErrorCount; + /** float point */ + Dword softBitCount; + Dword softErrorCount; + Dword preVitBitCount; + Dword preVitErrorCount; + double snr; +} ChannelStatistic; + + +/** + * The type defination of AgcVoltage. + */ +typedef struct { + double doSetVolt; + double doPuUpVolt; +} AgcVoltage; + + +#endif
\ No newline at end of file |