FxpTypeInfo.cs 591 B

123456789101112131415161718192021222324
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. namespace FxpConvert.Common
  5. {
  6. [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
  7. public struct NiFpga_FxpTypeInfo
  8. {
  9. public string Name;
  10. /// NiFpga_Bool->uint8_t->unsigned char
  11. public bool isSigned;
  12. /// uint8_t->unsigned char
  13. public byte wordLength;
  14. /// int16_t->short
  15. public short integerWordLength;
  16. public double Delta;
  17. public Double Max;
  18. public Double Min;
  19. }
  20. }