• 大小: 4.25MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-11-14
  • 语言: 其他
  • 标签: profibus  

资源简介

profibus开源代码、SPC4.pdf、PROFIBUS-DP从站编程开发-从入门到精通.pdf

资源截图

代码片段和文件信息

/**********************  Filename: dp_debug.c  *******************************/
/* ========================================================================= */
/*                                                                           */
/* 0000  000   000  00000 0  000  0   0 0 0000                               */
/* 0   0 0  0 0   0 0     0 0   0 0   0 0 0   0                              */
/* 0   0 0  0 0   0 0     0 0     0   0 0 0   0      Einsteinstra遝 6        */
/* 0000  000  0   0 000   0 0     00000 0 0000       91074 Herzogenaurach    */
/* 0     00   0   0 0     0 0     0   0 0 0                                  */
/* 0     0 0  0   0 0     0 0   0 0   0 0 0          Tel: ++49-9132-744-200  */
/* 0     0  0  000  0     0  000  0   0 0 0    GmbH  Fax: ++49-9132-744-204  */
/*                                                                           */
/* ========================================================================= */
/*                                                                           */
/* Description: Print routines for serio.c.                                  */
/*                                                                           */
/* ------------------------------------------------------------------------- */
/*                                                                           */
/* Technical support:       P. Fredehorst                                    */
/*                          Tel. : ++49-9132/744-214                         */
/*                          Fax. :              -204                         */
/*                          eMail: pfredehorst@profichip.com                 */
/*                                                                           */
/*****************************************************************************/


/*****************************************************************************/
/* contents:

  - function prototypes
  - data structures
  - internal functions

*/
/*****************************************************************************/
/* include hierarchy */

#include “dp_inc.h“

/*---------------------------------------------------------------------------*/
/* function prototypes                                                       */
/*---------------------------------------------------------------------------*/
extern UBYTE user_demo_diagnostic( UBYTE diag_nr UBYTE module_nr );

/*---------------------------------------------------------------------------*/
/* function: wait                                                            */
/*---------------------------------------------------------------------------*/
void wait( void )
{
    do
    {
        // wait!
        // C501 Watchdog
        TOGGLE_WATCHDOG__();
        // toggle user watchdog
        VPC3_RESET_USER_WD();   // toggle user watchdog
    }
    while( snd_counter > 50);
}

/*--------------------------

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件    4544340  2018-03-25 20:03  profibus\PROFIBUS-DP从站编程开发-从入门到精通.pdf

     文件     988406  2018-03-17 07:54  profibus\SPC4.pdf

     文件      41641  2001-06-08 14:02  profibus\Src\Cstart.asm

     文件      20015  2004-09-24 07:26  profibus\Src\dpl_list.h

     文件      21033  2014-07-25 17:34  profibus\Src\dp_cfg.h

     文件      14002  2004-09-24 09:46  profibus\Src\dp_debug.c

     文件       3221  2004-09-24 07:33  profibus\Src\dp_debug.h

     文件      49077  2004-09-24 07:34  profibus\Src\dp_fdl.c

     文件      61605  2004-09-24 07:44  profibus\Src\dp_if.c

     文件     101555  2004-09-24 07:37  profibus\Src\dp_if.h

     文件      15288  2004-09-24 07:38  profibus\Src\dp_inc.h

     文件      15558  2004-09-24 07:38  profibus\Src\dp_isr.c

     文件      12407  2004-09-24 11:20  profibus\Src\dp_main.c

     文件      50006  2004-09-24 09:44  profibus\Src\dp_msac1.c

     文件      80420  2004-09-24 07:42  profibus\Src\dp_msac2.c

     文件      70540  2014-07-25 14:46  profibus\Src\dp_user.c

     文件      11136  2004-09-24 07:30  profibus\Src\dp_user.h

     文件      13771  2004-09-24 07:25  profibus\Src\serio.c

     文件       4803  2004-09-24 07:25  profibus\Src\serio.h

     文件       4600  2001-02-15 14:25  profibus\Src\STARTUP.ASM

     目录          0  2014-07-09 14:57  profibus\Src

     目录          0  2018-03-25 23:51  profibus

----------- ---------  ---------- -----  ----

              6123424                    22


评论

共有 条评论