    1/*

    2 * rtwtypes.h

    3 *

    4 * Code generation for model "PWM_sf".

    5 *

    6 * Model version              : 1.825

    7 * Simulink Coder version : 9.4 (R2020b) 29-Jul-2020

    8 * C source code generated on : Fri Apr 14 12:53:29 2023

    9 *

    10 * Target selection: rtwsfcn.tlc

    11 * Note: GRT includes extra infrastructure and instrumentation for prototyping

    12 * Embedded hardware selection: ARM Compatible->ARM Cortex-M

    13 * Emulation hardware selection:

    14 *    Differs from embedded hardware (MATLAB Host)

    15 * Code generation objectives:

    16 *    1. Execution efficiency

    17 *    2. RAM efficiency

    18 * Validation result: Not run

    19 */

    20

    21#ifndef RTWTYPES_H

    22#define RTWTYPES_H

    23#include "tmwtypes.h"

    24#include "simstruc_types.h"

    25#ifndef POINTER_T

    26#define POINTER_T

    27

    28typedef void * pointer_T;

    29

    30#endif

    31

    32/* Logical type definitions */

    33#if (!defined(__cplusplus))

    34#ifndef false

    35#define false                          (0U)

    36#endif

    37

    38#ifndef true

    39#define true                           (1U)

    40#endif

    41#endif

    42

    43#ifndef INT64_T

    44#define INT64_T

    45

    46typedef long long int64_T;

    47

    48#endif

    49

    50#ifndef UINT64_T

    51#define UINT64_T

    52

    53typedef unsigned long long uint64_T;

    54

    55#endif

    56

    57/*===========================================================================*

    58 * Additional complex number type definitions                                           *

    59 *===========================================================================*/

    60#ifndef CINT64_T

    61#define CINT64_T

    62

    63typedef struct {

    64  int64_T re;

    65  int64_T im;

    66} cint64_T;

    67

    68#endif

    69

    70#ifndef CUINT64_T

    71#define CUINT64_T

    72

    73typedef struct {

    74  uint64_T re;

    75  uint64_T im;

    76} cuint64_T;

    77

    78#endif

    79#endif                                 /* RTWTYPES_H */

    80