Da Vinci Firmware 1
Firmware for the DaVinci-M rocket avionics board.
Loading...
Searching...
No Matches
rtwtypes.h File Reference

Defines standard data types for code generated by MATLAB Coder. More...

#include <stdbool.h>
Include dependency graph for rtwtypes.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  creal32_T
 
struct  creal64_T
 
struct  creal_T
 
struct  cint8_T
 
struct  cuint8_T
 
struct  cint16_T
 
struct  cuint16_T
 
struct  cint32_T
 
struct  cuint32_T
 

Macros

#define CREAL_T
 
#define MAX_int8_T   ((int8_T)(127))
 
#define MIN_int8_T   ((int8_T)(-128))
 
#define MAX_uint8_T   ((uint8_T)(255))
 
#define MIN_uint8_T   ((uint8_T)(0))
 
#define MAX_int16_T   ((int16_T)(32767))
 
#define MIN_int16_T   ((int16_T)(-32768))
 
#define MAX_uint16_T   ((uint16_T)(65535))
 
#define MIN_uint16_T   ((uint16_T)(0))
 
#define MAX_int32_T   ((int32_T)(2147483647))
 
#define MIN_int32_T   ((int32_T)(-2147483647 - 1))
 
#define MAX_uint32_T   ((uint32_T)(0xFFFFFFFFU))
 
#define MIN_uint32_T   ((uint32_T)(0))
 
#define false   0U
 
#define true   1U
 

Typedefs

typedef signed char int8_T
 8-bit signed integer.
 
typedef unsigned char uint8_T
 8-bit unsigned integer.
 
typedef short int16_T
 16-bit signed integer.
 
typedef unsigned short uint16_T
 16-bit unsigned integer.
 
typedef int int32_T
 32-bit signed integer.
 
typedef unsigned int uint32_T
 32-bit unsigned integer.
 
typedef float real32_T
 32-bit single-precision float.
 
typedef double real64_T
 64-bit double-precision float.
 
typedef double real_T
 Generic real type (aliased to double).
 
typedef double time_T
 Generic time type (aliased to double).
 
typedef bool boolean_T
 Generic boolean type.
 
typedef int int_T
 Generic signed integer type.
 
typedef unsigned int uint_T
 Generic unsigned integer type.
 
typedef unsigned long ulong_T
 Generic unsigned long type.
 
typedef char char_T
 Generic character type.
 
typedef char_T byte_T
 Generic byte type (aliased to char_T).
 

Detailed Description

Defines standard data types for code generated by MATLAB Coder.

Author
MATLAB Coder
Version
23.2 (MATLAB Coder version)
Date
2025-03-04

This is a standard, auto-generated header file from MATLAB Coder that provides a portable set of data type definitions. Its main purpose is to ensure that the generated C/C++ code behaves consistently across different target hardware and compilers.

It defines fixed-width integers, floating-point types, generic types like boolean_T, and complex number structures. It should be included by all files generated by MATLAB Coder.

Definition in file rtwtypes.h.

Macro Definition Documentation

◆ false

#define false   0U

Definition at line 178 of file rtwtypes.h.

◆ true

#define true   1U

Definition at line 181 of file rtwtypes.h.