diff options
author | Josh Blum <josh@joshknows.com> | 2010-07-21 19:34:29 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-07-21 19:34:29 -0700 |
commit | 19c15883a9054727c13f4eb5471cc961fe54c40d (patch) | |
tree | d6f197b0d0d9579e7684ca102f192a65adfc7abc /host/include | |
parent | 90465e6bcda596b28ab823e698b078708828da0c (diff) | |
download | uhd-19c15883a9054727c13f4eb5471cc961fe54c40d.tar.gz uhd-19c15883a9054727c13f4eb5471cc961fe54c40d.tar.bz2 uhd-19c15883a9054727c13f4eb5471cc961fe54c40d.zip |
usrp2: added async event types, and common code for handling context words
Diffstat (limited to 'host/include')
-rw-r--r-- | host/include/uhd/types/metadata.hpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/host/include/uhd/types/metadata.hpp b/host/include/uhd/types/metadata.hpp index 43ddf875f..65952941c 100644 --- a/host/include/uhd/types/metadata.hpp +++ b/host/include/uhd/types/metadata.hpp @@ -134,12 +134,16 @@ namespace uhd{ * - underflow: an internal send buffer has emptied * - sequence error: packet loss between host and device * - time error: packet had time that was late (or too early) + * - underflow in packet: underflow occurred inside a packet + * - sequence error in burst: packet loss within a burst */ enum event_code_t { EVENT_CODE_SUCCESS = 0x1, EVENT_CODE_UNDERFLOW = 0x2, EVENT_CODE_SEQ_ERROR = 0x4, - EVENT_CODE_TIME_ERROR = 0x8 + EVENT_CODE_TIME_ERROR = 0x8, + EVENT_CODE_UNDERFLOW_IN_PACKET = 0x10, + EVENT_CODE_SEQ_ERROR_IN_BURST = 0x20 } event_code; }; |