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: integ_Accel_and_Gyro_private.h
7 *
8 * Code generated for Simulink model 'integ_Accel_and_Gyro'.
9 *
10 * Model version : 1.7
11 * Simulink Coder version : 8.12 (R2017a) 16-Feb-2017
12 * C/C++ source code generated on : Tue Dec 05 15:47:02 2017
13 *
14 * Target selection: ert.tlc
15 * Embedded hardware selection: ARM Compatible->ARM Cortex
16 * Code generation objectives: Unspecified
17 * Validation result: Not run
18 */
19
20#ifndef RTW_HEADER_integ_Accel_and_Gyro_private_h_
21#define RTW_HEADER_integ_Accel_and_Gyro_private_h_
22#include "rtwtypes.h"
23#include "multiword_types.h"
24#include "integ_Accel_and_Gyro.h"
25
26/* Private macros used by the generated code to access rtModel */
27#ifndef rtmIsMajorTimeStep
28# define rtmIsMajorTimeStep(rtm) (((rtm)->Timing.simTimeStep) == MAJOR_TIME_STEP)
29#endif
30
31#ifndef rtmIsMinorTimeStep
32# define rtmIsMinorTimeStep(rtm) (((rtm)->Timing.simTimeStep) == MINOR_TIME_STEP)
33#endif
34
35#ifndef rtmSetTFinal
36# define rtmSetTFinal(rtm, val) ((rtm)->Timing.tFinal = (val))
37#endif
38
39#ifndef rtmGetTPtr
40# define rtmGetTPtr(rtm) ((rtm)->Timing.t)
41#endif
42
43#ifndef rtmSetTPtr
44# define rtmSetTPtr(rtm, val) ((rtm)->Timing.t = (val))
45#endif
46
47#ifndef UCHAR_MAX
48#include <limits.h>
49#endif
50
51#if ( UCHAR_MAX != (0xFFU) ) || ( SCHAR_MAX != (0x7F) )
52#error Code was generated for compiler with different sized uchar/char. \
53Consider adjusting Test hardware word size settings on the \
54Hardware Implementation pane to match your compiler word sizes as \
55defined in limits.h of the compiler. Alternatively, you can \
56select the Test hardware is the same as production hardware option and \
57select the Enable portable word sizes option on the Code Generation > \
58Verification pane for ERT based targets, which will disable the \
59preprocessor word size checks.
60#endif
61
62#if ( USHRT_MAX != (0xFFFFU) ) || ( SHRT_MAX != (0x7FFF) )
63#error Code was generated for compiler with different sized ushort/short. \
64Consider adjusting Test hardware word size settings on the \
65Hardware Implementation pane to match your compiler word sizes as \
66defined in limits.h of the compiler. Alternatively, you can \
67select the Test hardware is the same as production hardware option and \
68select the Enable portable word sizes option on the Code Generation > \
69Verification pane for ERT based targets, which will disable the \
70preprocessor word size checks.
71#endif
72
73#if ( UINT_MAX != (0xFFFFFFFFU) ) || ( INT_MAX != (0x7FFFFFFF) )
74#error Code was generated for compiler with different sized uint/int. \
75Consider adjusting Test hardware word size settings on the \
76Hardware Implementation pane to match your compiler word sizes as \
77defined in limits.h of the compiler. Alternatively, you can \
78select the Test hardware is the same as production hardware option and \
79select the Enable portable word sizes option on the Code Generation > \
80Verification pane for ERT based targets, which will disable the \
81preprocessor word size checks.
82#endif
83
84#if ( ULONG_MAX != (0xFFFFFFFFU) ) || ( LONG_MAX != (0x7FFFFFFF) )
85#error Code was generated for compiler with different sized ulong/long. \
86Consider adjusting Test hardware word size settings on the \
87Hardware Implementation pane to match your compiler word sizes as \
88defined in limits.h of the compiler. Alternatively, you can \
89select the Test hardware is the same as production hardware option and \
90select the Enable portable word sizes option on the Code Generation > \
91Verification pane for ERT based targets, which will disable the \
92preprocessor word size checks.
93#endif
94
95extern void LDLf_int32_Treal32_T(real32_T out[], real32_T vArray[], int32_T
96 nRows, const real32_T in[]);
97extern void integ_Accel_and_Gyr_i2cWr_Start(DW_i2cWr_integ_Accel_and_Gyro_T
98 *localDW);
99extern void integ_Accel_and_Gyro_i2cWr(uint16_T rtu_dataw,
100 DW_i2cWr_integ_Accel_and_Gyro_T *localDW);
101extern void integ_Accel_and_Gyro_i2cWr_Term(DW_i2cWr_integ_Accel_and_Gyro_T
102 *localDW);
103
104#endif /* RTW_HEADER_integ_Accel_and_Gyro_private_h_ */
105
106/*
107 * File trailer for generated code.
108 *
109 * [EOF]
110 */
111