⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 demo1103_io_ad_pwm3_v7_private_h.html

📁 代码由matlab自动生成
💻 HTML
字号:
<HTML>
<HEAD>
<TITLE>RTW Report - Demo1103_IO_AD_PWM3_V7_private.h </TITLE>
<STYLE> .LineNumber { font-style: italic; color: #888888 } </STYLE>
<STYLE> .Comment { font-style: italic; color: #117755 } </STYLE>
<STYLE> .PreProcessor { font-style: bold;   color: #992211 } </STYLE>
<STYLE> .Keyword { font-style: bold;   color: #112266 } </STYLE>
<STYLE> .Datatype { font-style: bold;   color: #112266 } </STYLE>
</HEAD>
<BODY BGCOLOR="#eeeeee" TEXT=#1122aa>
<P>
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="6" WIDTH="100%" HEIGHT="100%"><TR><TD WIDTH="100%" VALIGN="top" BGCOLOR="#ffffff">
<H4>File: <A HREF="file:///D:\MATLAB\R2007a\work\Demo1103_IO_AD_PWM3_V7_ccslink\Demo1103_IO_AD_PWM3_V7_private.h" TARGET="rtwreport_document_frame">D:\MATLAB\R2007a\work\Demo1103_IO_AD_PWM3_V7_ccslink\Demo1103_IO_AD_PWM3_V7_private.h</A></H4>
<PRE>
<SPAN class="LineNumber">    1   </SPAN><SPAN class="Comment">/*
<SPAN class="LineNumber">    2   </SPAN> * File: Demo1103_IO_AD_PWM3_V7_private.h
<SPAN class="LineNumber">    3   </SPAN> *
<SPAN class="LineNumber">    4   </SPAN> * Real-Time Workshop code generated for Simulink model Demo1103_IO_AD_PWM3_V7.
<SPAN class="LineNumber">    5   </SPAN> *
<SPAN class="LineNumber">    6   </SPAN> * Model version                        : 1.103
<SPAN class="LineNumber">    7   </SPAN> * Real-Time Workshop file version      : 6.6  (R2007a)  01-Feb-2007
<SPAN class="LineNumber">    8   </SPAN> * Real-Time Workshop file generated on : Thu Apr 10 19:48:30 2008
<SPAN class="LineNumber">    9   </SPAN> * TLC version                          : 6.6 (Jan 16 2007)
<SPAN class="LineNumber">   10   </SPAN> * C source code generated on           : Thu Apr 10 19:48:31 2008
<SPAN class="LineNumber">   11   </SPAN> */</SPAN>
<SPAN class="LineNumber">   12   </SPAN>
<SPAN class="LineNumber">   13   </SPAN><FONT COLOR=#992211>#</FONT><SPAN class="PreProcessor">ifndef</SPAN> _RTW_HEADER_Demo1103_IO_AD_PWM3_V7_private_h_
<SPAN class="LineNumber">   14   </SPAN><FONT COLOR=#992211>#</FONT><SPAN class="PreProcessor">define</SPAN> _RTW_HEADER_Demo1103_IO_AD_PWM3_V7_private_h_
<SPAN class="LineNumber">   15   </SPAN><FONT COLOR=#992211>#</FONT><SPAN class="PreProcessor">include</SPAN> <FONT COLOR=#992211>&quot;rtwtypes.h&quot;</FONT>
<SPAN class="LineNumber">   16   </SPAN><FONT COLOR=#992211>#</FONT><SPAN class="PreProcessor">ifndef</SPAN> UCHAR_MAX
<SPAN class="LineNumber">   17   </SPAN><FONT COLOR=#992211>#</FONT><SPAN class="PreProcessor">include</SPAN> <FONT COLOR=#992211>&lt;limits.h&gt;</FONT>
<SPAN class="LineNumber">   18   </SPAN><FONT COLOR=#992211>#</FONT><SPAN class="PreProcessor">endif</SPAN>
<SPAN class="LineNumber">   19   </SPAN>
<SPAN class="LineNumber">   20   </SPAN><FONT COLOR=#992211>#</FONT><SPAN class="PreProcessor">if</SPAN> ( UCHAR_MAX != (0xFFFFU) ) || ( SCHAR_MAX != (0x7FFF) )
<SPAN class="LineNumber">   21   </SPAN><FONT COLOR=#992211>#</FONT><SPAN class="PreProcessor">error</SPAN> Code was generated for compiler with different sized uchar/char. Consider adjusting Emulation Hardware word size settings on the Hardware Implementation pane to match your compiler word sizes as <SPAN class="PreProcessor">defined</SPAN> in the compilers limits.h header file. Alternatively, you can select <FONT COLOR=#1122ff>'None'</FONT> for Emulation Hardware and select the <FONT COLOR=#1122ff>'Enable portable word sizes'</FONT> option for ERT based targets, this will disable the preprocessor word size checks.
<SPAN class="LineNumber">   22   </SPAN><FONT COLOR=#992211>#</FONT><SPAN class="PreProcessor">endif</SPAN>
<SPAN class="LineNumber">   23   </SPAN>
<SPAN class="LineNumber">   24   </SPAN><FONT COLOR=#992211>#</FONT><SPAN class="PreProcessor">if</SPAN> ( USHRT_MAX != (0xFFFFU) ) || ( SHRT_MAX != (0x7FFF) )
<SPAN class="LineNumber">   25   </SPAN><FONT COLOR=#992211>#</FONT><SPAN class="PreProcessor">error</SPAN> Code was generated for compiler with different sized ushort/short. Consider adjusting Emulation Hardware word size settings on the Hardware Implementation pane to match your compiler word sizes as <SPAN class="PreProcessor">defined</SPAN> in the compilers limits.h header file. Alternatively, you can select <FONT COLOR=#1122ff>'None'</FONT> for Emulation Hardware and select the <FONT COLOR=#1122ff>'Enable portable word sizes'</FONT> option for ERT based targets, this will disable the preprocessor word size checks.
<SPAN class="LineNumber">   26   </SPAN><FONT COLOR=#992211>#</FONT><SPAN class="PreProcessor">endif</SPAN>
<SPAN class="LineNumber">   27   </SPAN>
<SPAN class="LineNumber">   28   </SPAN><FONT COLOR=#992211>#</FONT><SPAN class="PreProcessor">if</SPAN> ( UINT_MAX != (0xFFFFU) ) || ( INT_MAX != (0x7FFF) )
<SPAN class="LineNumber">   29   </SPAN><FONT COLOR=#992211>#</FONT><SPAN class="PreProcessor">error</SPAN> Code was generated for compiler with different sized uint/int. Consider adjusting Emulation Hardware word size settings on the Hardware Implementation pane to match your compiler word sizes as <SPAN class="PreProcessor">defined</SPAN> in the compilers limits.h header file. Alternatively, you can select <FONT COLOR=#1122ff>'None'</FONT> for Emulation Hardware and select the <FONT COLOR=#1122ff>'Enable portable word sizes'</FONT> option for ERT based targets, this will disable the preprocessor word size checks.
<SPAN class="LineNumber">   30   </SPAN><FONT COLOR=#992211>#</FONT><SPAN class="PreProcessor">endif</SPAN>
<SPAN class="LineNumber">   31   </SPAN>
<SPAN class="LineNumber">   32   </SPAN><FONT COLOR=#992211>#</FONT><SPAN class="PreProcessor">if</SPAN> ( ULONG_MAX != (0xFFFFFFFFUL) ) || ( LONG_MAX != (0x7FFFFFFFL) )
<SPAN class="LineNumber">   33   </SPAN><FONT COLOR=#992211>#</FONT><SPAN class="PreProcessor">error</SPAN> Code was generated for compiler with different sized ulong/long. Consider adjusting Emulation Hardware word size settings on the Hardware Implementation pane to match your compiler word sizes as <SPAN class="PreProcessor">defined</SPAN> in the compilers limits.h header file. Alternatively, you can select <FONT COLOR=#1122ff>'None'</FONT> for Emulation Hardware and select the <FONT COLOR=#1122ff>'Enable portable word sizes'</FONT> option for ERT based targets, this will disable the preprocessor word size checks.
<SPAN class="LineNumber">   34   </SPAN><FONT COLOR=#992211>#</FONT><SPAN class="PreProcessor">endif</SPAN>
<SPAN class="LineNumber">   35   </SPAN>
<SPAN class="LineNumber">   36   </SPAN><SPAN class="Datatype">void</SPAN> <A HREF=MW_c28xx_csl_c.html#fcn_config_PWM_A TARGET="rtwreport_document_frame"><FONT COLOR="#1122aa">config_PWM_A</FONT></A>(<A HREF=rtwtypes_h.html#type_uint16_T TARGET="rtwreport_document_frame"><FONT COLOR="#1122aa">uint16_T</FONT></A> timerPeriod, <A HREF=rtwtypes_h.html#type_uint16_T TARGET="rtwreport_document_frame"><FONT COLOR="#1122aa">uint16_T</FONT></A> waveformType,
<SPAN class="LineNumber">   37   </SPAN>                  <A HREF=rtwtypes_h.html#type_uint16_T TARGET="rtwreport_document_frame"><FONT COLOR="#1122aa">uint16_T</FONT></A> unit1Status, <SPAN class="Datatype">char</SPAN>* unit1Source, <A HREF=rtwtypes_h.html#type_uint16_T TARGET="rtwreport_document_frame"><FONT COLOR="#1122aa">uint16_T</FONT></A> unit1Value,
<SPAN class="LineNumber">   38   </SPAN>                  <A HREF=rtwtypes_h.html#type_uint16_T TARGET="rtwreport_document_frame"><FONT COLOR="#1122aa">uint16_T</FONT></A> unit2Status, <SPAN class="Datatype">char</SPAN>* unit2Source, <A HREF=rtwtypes_h.html#type_uint16_T TARGET="rtwreport_document_frame"><FONT COLOR="#1122aa">uint16_T</FONT></A> unit2Value,
<SPAN class="LineNumber">   39   </SPAN>                  <A HREF=rtwtypes_h.html#type_uint16_T TARGET="rtwreport_document_frame"><FONT COLOR="#1122aa">uint16_T</FONT></A> unit3Status, <SPAN class="Datatype">char</SPAN>* unit3Source, <A HREF=rtwtypes_h.html#type_uint16_T TARGET="rtwreport_document_frame"><FONT COLOR="#1122aa">uint16_T</FONT></A> unit3Value,
<SPAN class="LineNumber">   40   </SPAN>                  <A HREF=rtwtypes_h.html#type_uint16_T TARGET="rtwreport_document_frame"><FONT COLOR="#1122aa">uint16_T</FONT></A> controlLogic,
<SPAN class="LineNumber">   41   </SPAN>                  <A HREF=rtwtypes_h.html#type_uint16_T TARGET="rtwreport_document_frame"><FONT COLOR="#1122aa">uint16_T</FONT></A> enableDeadband1, <A HREF=rtwtypes_h.html#type_uint16_T TARGET="rtwreport_document_frame"><FONT COLOR="#1122aa">uint16_T</FONT></A> enableDeadband2, <A HREF=rtwtypes_h.html#type_uint16_T TARGET="rtwreport_document_frame"><FONT COLOR="#1122aa">uint16_T</FONT></A>
<SPAN class="LineNumber">   42   </SPAN>                  enableDeadband3,
<SPAN class="LineNumber">   43   </SPAN>                  <A HREF=rtwtypes_h.html#type_uint16_T TARGET="rtwreport_document_frame"><FONT COLOR="#1122aa">uint16_T</FONT></A> deadbandPrescaler, <A HREF=rtwtypes_h.html#type_uint16_T TARGET="rtwreport_document_frame"><FONT COLOR="#1122aa">uint16_T</FONT></A> deadbandPeriod, <A HREF=rtwtypes_h.html#type_uint16_T TARGET="rtwreport_document_frame"><FONT COLOR="#1122aa">uint16_T</FONT></A>
<SPAN class="LineNumber">   44   </SPAN>                  timerToADC);
<SPAN class="LineNumber">   45   </SPAN><SPAN class="Datatype">void</SPAN> <A HREF=MW_c28xx_csl_c.html#fcn_config_ADC_A TARGET="rtwreport_document_frame"><FONT COLOR="#1122aa">config_ADC_A</FONT></A>(<A HREF=rtwtypes_h.html#type_uint16_T TARGET="rtwreport_document_frame"><FONT COLOR="#1122aa">uint16_T</FONT></A> maxconvReg , <A HREF=rtwtypes_h.html#type_uint16_T TARGET="rtwreport_document_frame"><FONT COLOR="#1122aa">uint16_T</FONT></A> adcChselSEQ1Reg, <A HREF=rtwtypes_h.html#type_uint16_T TARGET="rtwreport_document_frame"><FONT COLOR="#1122aa">uint16_T</FONT></A>
<SPAN class="LineNumber">   46   </SPAN>                  adcChselSEQ2Reg, <A HREF=rtwtypes_h.html#type_uint16_T TARGET="rtwreport_document_frame"><FONT COLOR="#1122aa">uint16_T</FONT></A> adcChselSEQ3Reg, <A HREF=rtwtypes_h.html#type_uint16_T TARGET="rtwreport_document_frame"><FONT COLOR="#1122aa">uint16_T</FONT></A>
<SPAN class="LineNumber">   47   </SPAN>                  adcChselSEQ4Reg);
<SPAN class="LineNumber">   48   </SPAN>
<SPAN class="LineNumber">   49   </SPAN><FONT COLOR=#992211>#</FONT><SPAN class="PreProcessor">ifndef</SPAN> __RTWTYPES_H__
<SPAN class="LineNumber">   50   </SPAN><FONT COLOR=#992211>#</FONT><SPAN class="PreProcessor">error</SPAN> This file requires rtwtypes.h to be included
<SPAN class="LineNumber">   51   </SPAN><FONT COLOR=#992211>#</FONT><SPAN class="PreProcessor">else</SPAN>
<SPAN class="LineNumber">   52   </SPAN><FONT COLOR=#992211>#</FONT><SPAN class="PreProcessor">ifdef</SPAN> TMWTYPES_PREVIOUSLY_INCLUDED
<SPAN class="LineNumber">   53   </SPAN><FONT COLOR=#992211>#</FONT><SPAN class="PreProcessor">error</SPAN> This file requires rtwtypes.h to be included before tmwtypes.h
<SPAN class="LineNumber">   54   </SPAN><FONT COLOR=#992211>#</FONT><SPAN class="PreProcessor">else</SPAN>
<SPAN class="LineNumber">   55   </SPAN>
<SPAN class="LineNumber">   56   </SPAN><SPAN class="Comment">/* Check for inclusion of an incorrect version of rtwtypes.h */</SPAN>
<SPAN class="LineNumber">   57   </SPAN><FONT COLOR=#992211>#</FONT><SPAN class="PreProcessor">ifndef</SPAN> RTWTYPES_ID_C16S16I16L32N16F1
<SPAN class="LineNumber">   58   </SPAN><FONT COLOR=#992211>#</FONT><SPAN class="PreProcessor">error</SPAN> This code was generated with a different <FONT COLOR=#992211>&quot;rtwtypes.h&quot;</FONT> than the file included
<SPAN class="LineNumber">   59   </SPAN><FONT COLOR=#992211>#</FONT><SPAN class="PreProcessor">endif</SPAN>                                 <SPAN class="Comment">/* RTWTYPES_ID_C16S16I16L32N16F1 */</SPAN>
<SPAN class="LineNumber">   60   </SPAN><FONT COLOR=#992211>#</FONT><SPAN class="PreProcessor">endif</SPAN>                                 <SPAN class="Comment">/* TMWTYPES_PREVIOUSLY_INCLUDED */</SPAN>
<SPAN class="LineNumber">   61   </SPAN><FONT COLOR=#992211>#</FONT><SPAN class="PreProcessor">endif</SPAN>                                 <SPAN class="Comment">/* __RTWTYPES_H__ */</SPAN>
<SPAN class="LineNumber">   62   </SPAN><FONT COLOR=#992211>#</FONT><SPAN class="PreProcessor">endif</SPAN>                                 <SPAN class="Comment">/* _RTW_HEADER_Demo1103_IO_AD_PWM3_V7_private_h_ */</SPAN>
<SPAN class="LineNumber">   63   </SPAN>
<SPAN class="LineNumber">   64   </SPAN><SPAN class="Comment">/* File trailer for Real-Time Workshop generated code.
<SPAN class="LineNumber">   65   </SPAN> *
<SPAN class="LineNumber">   66   </SPAN> * [EOF]
<SPAN class="LineNumber">   67   </SPAN> */</SPAN>
</PRE>
</TD></TR></TABLE>
<P>
</BODY>
</HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -