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

📄 c2812adcpwmtest_private.h

📁 由MATLAB生成的AD的源代码
💻 H
字号:
/*
 * File: c2812adcpwmtest_private.h
 *
 * Real-Time Workshop code generated for Simulink model c2812adcpwmtest.
 *
 * Model version                        : 1.138
 * Real-Time Workshop file version      : 6.3  (R14SP3)  26-Jul-2005
 * Real-Time Workshop file generated on : Thu Dec 11 22:05:31 2008
 * TLC version                          : 6.3 (Aug  5 2005)
 * C source code generated on           : Thu Dec 11 22:05:34 2008
 */

#ifndef _RTW_HEADER_c2812adcpwmtest_private_h_
#define _RTW_HEADER_c2812adcpwmtest_private_h_

#include "rtwtypes.h"

/* Private macros used by the generated code to access rtModel */

#include "dsp_rt.h"                     /* Signal Processing Blockset general run time support functions */
void config_PWM_A(uint16_T timerPeriod, uint16_T waveformType,
 uint16_T unit1Status, char* unit1Source, uint16_T unit1Value,
 uint16_T unit2Status, char* unit2Source, uint16_T unit2Value,
 uint16_T unit3Status, char* unit3Source, uint16_T unit3Value, uint16_T
 controlLogic,
 uint16_T enableDeadband1, uint16_T enableDeadband2, uint16_T enableDeadband3,
 uint16_T deadbandPrescaler, uint16_T deadbandPeriod, uint16_T timerToADC);
void config_ADC_A(uint16_T maxconvReg , uint16_T adcChselSEQ1Reg, uint16_T
 adcChselSEQ2Reg, uint16_T adcChselSEQ3Reg, uint16_T adcChselSEQ4Reg);
#ifndef __RTWTYPES_H__
#error This file requires rtwtypes.h to be included
#else
#ifdef TMWTYPES_PREVIOUSLY_INCLUDED
#error This file requires rtwtypes.h to be included before tmwtypes.h
#else
/* Check for inclusion of an incorrect version of rtwtypes.h */
#ifndef RTWTYPES_ID_C16S16I16L32N16F1
#error This code was generated with a different "rtwtypes.h" than the file included
#endif                                  /* RTWTYPES_ID_C16S16I16L32N16F1 */
#endif                                  /* TMWTYPES_PREVIOUSLY_INCLUDED */
#endif                                  /* __RTWTYPES_H__ */

#endif                                  /* _RTW_HEADER_c2812adcpwmtest_private_h_ */

/* File trailer for Real-Time Workshop generated code.
 *
 * [EOF]
 */

⌨️ 快捷键说明

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