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

📄 srvnlc.h

📁 本程序为ST公司开发的源代码
💻 H
字号:
/*******************************************************************************
 *                    CONFIDENTIAL - PHILIPS APM
 *
 *  This is unpublished work is a trade secret. Philips APM owns all rights
 *  to this work and intends to maintain it in confidence to preserve its
 *  trade secret status. Philips Automotive Playback Modules reserves the
 *  right to protect this work as an unpublished copyrighted work in the
 *  event of an inadvertent Automotive Systems also reserves its right.
 *  Those having access to this work mayor deliberate unauthorized publication.
 *  Do not copy it, use it, or disclose the information contained in it
 *  without the written authorization of Philips Automotive Playback Modules.
 ******************************************************************************/
/******************************************************************************/
/*! \file
 *
 *  Project Scope:  CDM M8
 *
 *  Organization:   Philips APM
 *
 *  Version Control:
 *    \source       sources\servo\srvnlc.h
 *    \version      0.1
 *    \author       Marcel Rieck
 *    \date         26.03.2004
 *
 *  Target Hardware:    Accordo
 *******************************************************************************
 *  \brief        Nonlinear control
 *
 *  \par          Change History:
 *
 ***************************************************
 *
 * STM CVS Log:
 *
 * $Log: srvnlc.h,v $ * Revision 1.7  2006/10/09 15:13:57  dellorto * no message *
 * Revision 1.6  2006/09/18 09:55:25  belardi
 * Corrected CVS keyword usage
 *
 * Revision 1.5  2006/09/18 09:25:38  belardi
 * AddeLogg$ CVS keyword into file header
 *
 *
 ******************************************************************************/

#ifndef __NONLIN_H
#define __NONLIN_H

#define NLC_PHI_ALPHA_ON    0x6000
#define NLC_PHI_ALPHA_OFF   0x0000
#define NLC_PHI_DELTA       0x0bfd

#if (1 == OPTIMIZED_DEADZONE)
  #define NLC_PHI_DELTA_ON    (0x7fff - NLC_PHI_DELTA)
  #define NLC_PHI_DELTA_OFF   (0x7fff)
#else
  #define NLC_PHI_DELTA_ON    (NLC_PHI_DELTA)
  #define NLC_PHI_DELTA_OFF   (0x0000)
#endif


void nlc_init(void);
void nlc_on(void);
void nlc_off(void);
void nlc_set_alpha(uint16 alpha);
void nlc_set_delta(uint16 delta);

#endif /* __NONLIN_H */

⌨️ 快捷键说明

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