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: TEMP_SPI.h
7 *
8 * Code generated for Simulink model 'TEMP_SPI'.
9 *
10 * Model version : 1.3
11 * Simulink Coder version : 8.12 (R2017a) 16-Feb-2017
12 * C/C++ source code generated on : Mon Jan 08 21:01:45 2018
13 *
14 * Target selection: ert.tlc
15 * Embedded hardware selection: Atmel->AVR
16 * Code generation objectives: Unspecified
17 * Validation result: Not run
18 */
19
20#ifndef RTW_HEADER_TEMP_SPI_h_
21#define RTW_HEADER_TEMP_SPI_h_
22#include <stddef.h>
23#include <string.h>
24#ifndef TEMP_SPI_COMMON_INCLUDES_
25# define TEMP_SPI_COMMON_INCLUDES_
26#include "rtwtypes.h"
27#include "rtw_continuous.h"
28#include "rtw_solver.h"
29#endif /* TEMP_SPI_COMMON_INCLUDES_ */
30
31#include "TEMP_SPI_types.h"
32#include "MW_target_hardware_resources.h"
33
34/* Macros for accessing real-time model data structure */
35#ifndef rtmGetErrorStatus
36# define rtmGetErrorStatus(rtm) ((rtm)->errorStatus)
37#endif
38
39#ifndef rtmSetErrorStatus
40# define rtmSetErrorStatus(rtm, val) ((rtm)->errorStatus = (val))
41#endif
42
43/* Block signals (auto storage) */
44typedef struct {
45 real_T SFunctionBuilder; /* '<Root>/S-Function Builder' */
46} B_TEMP_SPI_T;
47
48/* Block states (auto storage) for system '<Root>' */
49typedef struct {
50 real_T SFunctionBuilder_DSTATE; /* '<Root>/S-Function Builder' */
51} DW_TEMP_SPI_T;
52
53/* Real-time Model Data Structure */
54struct tag_RTM_TEMP_SPI_T {
55 const char_T *errorStatus;
56};
57
58/* Block signals (auto storage) */
59extern B_TEMP_SPI_T TEMP_SPI_B;
60
61/* Block states (auto storage) */
62extern DW_TEMP_SPI_T TEMP_SPI_DW;
63
64/* Model entry point functions */
65extern void TEMP_SPI_initialize(void);
66extern void TEMP_SPI_step(void);
67extern void TEMP_SPI_terminate(void);
68
69/* Real-time Model object */
70extern RT_MODEL_TEMP_SPI_T *const TEMP_SPI_M;
71
72/*-
73 * The generated code includes comments that allow you to trace directly
74 * back to the appropriate location in the model. The basic format
75 * is <system>/block_name, where system is the system number (uniquely
76 * assigned by Simulink) and block_name is the name of the block.
77 *
78 * Use the MATLAB hilite_system command to trace the generated code back
79 * to the model. For example,
80 *
81 * hilite_system('<S3>') - opens system 3
82 * hilite_system('<S3>/Kp') - opens and selects block Kp which resides in S3
83 *
84 * Here is the system hierarchy for this model
85 *
86 * '<Root>' : 'TEMP_SPI'
87 */
88#endif /* RTW_HEADER_TEMP_SPI_h_ */
89
90/*
91 * File trailer for generated code.
92 *
93 * [EOF]
94 */
95