diff options
author | Tom Tsou <tom@tsou.cc> | 2014-12-18 15:26:57 -0800 |
---|---|---|
committer | Alexander Chemeris <Alexander.Chemeris@gmail.com> | 2015-05-14 00:15:06 -0400 |
commit | a6e2d6f9a109662ff4e95bff1d49dfa00c4b164c (patch) | |
tree | 82d91caabe30fb31a2b6192e817395b4eea7fae1 /Transceiver52M/sigProcLib.h | |
parent | 456cf7f068e7244c4558c0e6eaa02dcbdfdc210b (diff) |
Transceiver52M: Add clipping detection on RACH input
Alert user of overdriven RACH input indicated by a positive
threshold detector result. This indication serves as notification
that the receive RF gain level is too high for the configured
transceiver setup.
Signed-off-by: Tom Tsou <tom@tsou.cc>
Diffstat (limited to 'Transceiver52M/sigProcLib.h')
-rw-r--r-- | Transceiver52M/sigProcLib.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Transceiver52M/sigProcLib.h b/Transceiver52M/sigProcLib.h index 147c14c..f7f6259 100644 --- a/Transceiver52M/sigProcLib.h +++ b/Transceiver52M/sigProcLib.h @@ -28,6 +28,14 @@ enum ConvType { UNDEFINED, }; +enum signalError { + SIGERR_NONE, + SIGERR_BOUNDS, + SIGERR_CLIP, + SIGERR_UNSUPPORTED, + SIGERR_INTERNAL, +}; + /** Convert a linear number to a dB value */ float dB(float x); |