ESP8266 Treppenlichtsteuerung mit OTA zum Firmware Upload
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

rtwtypes.h 4.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. //
  2. // Academic License - for use in teaching, academic research, and meeting
  3. // course requirements at degree granting institutions only. Not for
  4. // government, commercial, or other organizational use.
  5. //
  6. // File: rtwtypes.h
  7. //
  8. // Code generated for Simulink model 'FSMTreppe'.
  9. //
  10. // Model version : 1.64
  11. // Simulink Coder version : 9.5 (R2021a) 14-Nov-2020
  12. // C/C++ source code generated on : Tue Sep 7 08:38:51 2021
  13. //
  14. // Target selection: ert.tlc
  15. // Embedded hardware selection: ARM Compatible->ARM Cortex-M
  16. // Code generation objectives: Unspecified
  17. // Validation result: Not run
  18. //
  19. #ifndef RTWTYPES_H
  20. #define RTWTYPES_H
  21. // Logical type definitions
  22. #if (!defined(__cplusplus))
  23. #ifndef false
  24. #define false (0U)
  25. #endif
  26. #ifndef true
  27. #define true (1U)
  28. #endif
  29. #endif
  30. //=======================================================================*
  31. // Target hardware information
  32. // Device type: ARM Compatible->ARM Cortex-M
  33. // Number of bits: char: 8 short: 16 int: 32
  34. // long: 32
  35. // native word size: 32
  36. // Byte ordering: LittleEndian
  37. // Signed integer division rounds to: Zero
  38. // Shift right on a signed integer as arithmetic shift: on
  39. // =======================================================================
  40. //=======================================================================*
  41. // Fixed width word size data types: *
  42. // int8_T, int16_T, int32_T - signed 8, 16, or 32 bit integers *
  43. // uint8_T, uint16_T, uint32_T - unsigned 8, 16, or 32 bit integers *
  44. // real32_T, real64_T - 32 and 64 bit floating point numbers *
  45. // =======================================================================
  46. typedef signed char int8_T;
  47. typedef unsigned char uint8_T;
  48. typedef short int16_T;
  49. typedef unsigned short uint16_T;
  50. typedef int int32_T;
  51. typedef unsigned int uint32_T;
  52. typedef float real32_T;
  53. typedef double real64_T;
  54. //===========================================================================*
  55. // Generic type definitions: boolean_T, char_T, byte_T, int_T, uint_T, *
  56. // real_T, time_T, ulong_T. *
  57. // ===========================================================================
  58. typedef double real_T;
  59. typedef double time_T;
  60. typedef unsigned char boolean_T;
  61. typedef int int_T;
  62. typedef unsigned int uint_T;
  63. typedef unsigned long ulong_T;
  64. typedef char char_T;
  65. typedef unsigned char uchar_T;
  66. typedef char_T byte_T;
  67. //===========================================================================*
  68. // Complex number type definitions *
  69. // ===========================================================================
  70. #define CREAL_T
  71. typedef struct {
  72. real32_T re;
  73. real32_T im;
  74. } creal32_T;
  75. typedef struct {
  76. real64_T re;
  77. real64_T im;
  78. } creal64_T;
  79. typedef struct {
  80. real_T re;
  81. real_T im;
  82. } creal_T;
  83. #define CINT8_T
  84. typedef struct {
  85. int8_T re;
  86. int8_T im;
  87. } cint8_T;
  88. #define CUINT8_T
  89. typedef struct {
  90. uint8_T re;
  91. uint8_T im;
  92. } cuint8_T;
  93. #define CINT16_T
  94. typedef struct {
  95. int16_T re;
  96. int16_T im;
  97. } cint16_T;
  98. #define CUINT16_T
  99. typedef struct {
  100. uint16_T re;
  101. uint16_T im;
  102. } cuint16_T;
  103. #define CINT32_T
  104. typedef struct {
  105. int32_T re;
  106. int32_T im;
  107. } cint32_T;
  108. #define CUINT32_T
  109. typedef struct {
  110. uint32_T re;
  111. uint32_T im;
  112. } cuint32_T;
  113. //=======================================================================*
  114. // Min and Max: *
  115. // int8_T, int16_T, int32_T - signed 8, 16, or 32 bit integers *
  116. // uint8_T, uint16_T, uint32_T - unsigned 8, 16, or 32 bit integers *
  117. // =======================================================================
  118. #define MAX_int8_T ((int8_T)(127))
  119. #define MIN_int8_T ((int8_T)(-128))
  120. #define MAX_uint8_T ((uint8_T)(255U))
  121. #define MAX_int16_T ((int16_T)(32767))
  122. #define MIN_int16_T ((int16_T)(-32768))
  123. #define MAX_uint16_T ((uint16_T)(65535U))
  124. #define MAX_int32_T ((int32_T)(2147483647))
  125. #define MIN_int32_T ((int32_T)(-2147483647-1))
  126. #define MAX_uint32_T ((uint32_T)(0xFFFFFFFFU))
  127. // Block D-Work pointer type
  128. typedef void * pointer_T;
  129. #endif // RTWTYPES_H
  130. //
  131. // File trailer for generated code.
  132. //
  133. // [EOF]
  134. //