| 1 | /* |
| 2 | * File: rtwtypes.h |
| 3 | * |
| 4 | * Code generated for Simulink model 'SMO_arctan_PLL'. |
| 5 | * |
| 6 | * Model version : 1.812 |
| 7 | * Simulink Coder version : 9.4 (R2020b) 29-Jul-2020 |
| 8 | * C/C++ source code generated on : Tue Apr 11 20:18:35 2023 |
| 9 | * |
| 10 | * Target selection: ert.tlc |
| 11 | * Embedded hardware selection: ARM Compatible->ARM Cortex-M |
| 12 | * Code generation objectives: |
| 13 | * 1. Execution efficiency |
| 14 | * 2. RAM efficiency |
| 15 | * Validation result: Not run |
| 16 | */ |
| 17 | |
| 18 | #ifndef RTWTYPES_H |
| 19 | #define RTWTYPES_H |
| 20 | |
| 21 | /* Logical type definitions */ |
| 22 | #if (!defined(__cplusplus)) |
| 23 | #ifndef false |
| 24 | #define false (0U) |
| 25 | #endif |
| 26 | |
| 27 | #ifndef true |
| 28 | #define true (1U) |
| 29 | #endif |
| 30 | #endif |
| 31 | |
| 32 | /*=======================================================================* |
| 33 | * Target hardware information |
| 34 | * Device type: ARM Compatible->ARM Cortex-M |
| 35 | * Number of bits: char: 8 short: 16 int: 32 |
| 36 | * long: 32 long long: 64 |
| 37 | * native word size: 32 |
| 38 | * Byte ordering: LittleEndian |
| 39 | * Signed integer division rounds to: Zero |
| 40 | * Shift right on a signed integer as arithmetic shift: on |
| 41 | *=======================================================================*/ |
| 42 | |
| 43 | /*=======================================================================* |
| 44 | * Fixed width word size data types: * |
| 45 | * int8_T, int16_T, int32_T - signed 8, 16, or 32 bit integers * |
| 46 | * uint8_T, uint16_T, uint32_T - unsigned 8, 16, or 32 bit integers * |
| 47 | * real32_T, real64_T - 32 and 64 bit floating point numbers * |
| 48 | *=======================================================================*/ |
| 49 | typedef signed char int8_T; |
| 50 | typedef unsigned char uint8_T; |
| 51 | typedef short int16_T; |
| 52 | typedef unsigned short uint16_T; |
| 53 | typedef int int32_T; |
| 54 | typedef unsigned int uint32_T; |
| 55 | typedef long long int64_T; |
| 56 | typedef unsigned long long uint64_T; |
| 57 | typedef float real32_T; |
| 58 | typedef double real64_T; |
| 59 | |
| 60 | /*===========================================================================* |
| 61 | * Generic type definitions: boolean_T, char_T, byte_T, int_T, uint_T, * |
| 62 | * real_T, time_T, ulong_T, ulonglong_T. * |
| 63 | *===========================================================================*/ |
| 64 | typedef double real_T; |
| 65 | typedef double time_T; |
| 66 | typedef unsigned char boolean_T; |
| 67 | typedef int int_T; |
| 68 | typedef unsigned int uint_T; |
| 69 | typedef unsigned long ulong_T; |
| 70 | typedef unsigned long long ulonglong_T; |
| 71 | typedef char char_T; |
| 72 | typedef unsigned char uchar_T; |
| 73 | typedef char_T byte_T; |
| 74 | |
| 75 | /*=======================================================================* |
| 76 | * Min and Max: * |
| 77 | * int8_T, int16_T, int32_T - signed 8, 16, or 32 bit integers * |
| 78 | * uint8_T, uint16_T, uint32_T - unsigned 8, 16, or 32 bit integers * |
| 79 | *=======================================================================*/ |
| 80 | #define MAX_int8_T ((int8_T)(127)) |
| 81 | #define MIN_int8_T ((int8_T)(-128)) |
| 82 | #define MAX_uint8_T ((uint8_T)(255U)) |
| 83 | #define MAX_int16_T ((int16_T)(32767)) |
| 84 | #define MIN_int16_T ((int16_T)(-32768)) |
| 85 | #define MAX_uint16_T ((uint16_T)(65535U)) |
| 86 | #define MAX_int32_T ((int32_T)(2147483647)) |
| 87 | #define MIN_int32_T ((int32_T)(-2147483647-1)) |
| 88 | #define MAX_uint32_T ((uint32_T)(0xFFFFFFFFU)) |
| 89 | #define MAX_int64_T ((int64_T)(9223372036854775807LL)) |
| 90 | #define MIN_int64_T ((int64_T)(-9223372036854775807LL-1LL)) |
| 91 | #define MAX_uint64_T ((uint64_T)(0xFFFFFFFFFFFFFFFFULL)) |
| 92 | |
| 93 | /* Block D-Work pointer type */ |
| 94 | typedef void * pointer_T; |
| 95 | |
| 96 | #endif /* RTWTYPES_H */ |
| 97 | |
| 98 | /* |
| 99 | * File trailer for generated code. |
| 100 | * |
| 101 | * [EOF] |
| 102 | */ |
| 103 | |