diff options
author | Nick Foster <nick@nerdnetworks.org> | 2010-08-12 15:17:58 -0700 |
---|---|---|
committer | Nick Foster <nick@nerdnetworks.org> | 2010-08-12 15:17:58 -0700 |
commit | e42230e7fae59d91186d21ab6ba8311421649375 (patch) | |
tree | ae04e44e64ead60a01e51149fddd5b67232da236 /host/lib/usrp/usrp2/fw_common.h | |
parent | 0d7c9c86aa3b307b652378d3bb17e052cbc987e1 (diff) | |
download | uhd-e42230e7fae59d91186d21ab6ba8311421649375.tar.gz uhd-e42230e7fae59d91186d21ab6ba8311421649375.tar.bz2 uhd-e42230e7fae59d91186d21ab6ba8311421649375.zip |
Added UART transactions to the DUDE/BRO protocol.
Diffstat (limited to 'host/lib/usrp/usrp2/fw_common.h')
-rw-r--r-- | host/lib/usrp/usrp2/fw_common.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/host/lib/usrp/usrp2/fw_common.h b/host/lib/usrp/usrp2/fw_common.h index 85d41d57f..fc1e6f2a7 100644 --- a/host/lib/usrp/usrp2/fw_common.h +++ b/host/lib/usrp/usrp2/fw_common.h @@ -83,6 +83,12 @@ typedef enum{ USRP2_CTRL_ID_PEEK_AT_THIS_REGISTER_FOR_ME_BRO = 'r', USRP2_CTRL_ID_WOAH_I_DEFINITELY_PEEKED_IT_DUDE = 'R', + USRP2_CTRL_ID_HEY_WRITE_THIS_UART_FOR_ME_BRO = 'u', + USRP2_CTRL_ID_MAN_I_TOTALLY_WROTE_THAT_UART_DUDE = 'U', + + USRP2_CTRL_ID_SO_LIKE_CAN_YOU_READ_THIS_UART_BRO = 'v', + USRP2_CTRL_ID_I_HELLA_READ_THAT_UART_DUDE = 'V', + USRP2_CTRL_ID_PEACE_OUT = '~' } usrp2_ctrl_id_t; @@ -123,6 +129,11 @@ typedef struct{ __stdint(uint32_t) datahi; __stdint(uint8_t) num_bytes; //1, 2, 4, 8 } poke_args; + struct { + __stdint(uint8_t) dev; + __stdint(uint8_t) bytes; + __stdint(uint8_t) data[20]; + } uart_args; } data; } usrp2_ctrl_data_t; |