Advertisement
tr1p1ea

Untitled

Dec 6th, 2023
33
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. typedef struct {
  2. usb_device_t dev; /**< USB device */
  3. /**< An OUT endpoint if in device mode, an IN endpoint otherwise */
  4. uint8_t rx_addr;
  5. /**< An IN endpoint if in device mode, an OUT endpoint otherwise */
  6. uint8_t tx_addr;
  7. srl_device_type_t type;
  8. srl_device_subtype_t subtype;
  9. ring_buf_ctrl_t rx_buf;
  10. ring_buf_ctrl_t tx_buf;
  11. srl_error_t err;
  12. uint16_t idvendor;
  13. uint16_t idproduct;
  14. uint16_t bcddevice;
  15. uint8_t baudtype;
  16. uint8_t reserved[9];
  17. } srl_device_t;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement