usb_decode_options.h 806 B

123456789101112131415161718192021222324
  1. // // ******************************************************************
  2. // // /\ /| @File Usb_decode_options.h
  3. // // \ V/ @Brief
  4. // // | "") @Author lijinwen, ghz005@uni-trend.com.cn
  5. // // / | @Creation 2024-05-17
  6. // // / \\ @Modified 2024-06-24
  7. // // *(__\_\
  8. // // ******************************************************************
  9. #pragma once
  10. #include "protocol_Usb_enums.h"
  11. namespace Protocol
  12. {
  13. struct UsbDecodeOptions
  14. {
  15. SignType sign_type; //信号类型 差分、单端
  16. double sampling_frequency;//信号采样率
  17. UsbEnums::UsbSpeed usb_speed;//Usb 速度
  18. bool auto_clock;//自动时钟 自适应采样率 速度
  19. bool* is_cancel;//取消解码
  20. };
  21. }