基本信息
源码名称:LAN9252 EtherCAT DEMO TestEasyCATPro V2.0
源码大小:0.05M
文件格式:.zip
开发语言:C/C++
更新时间:2022-01-30
   友情提示:(无需注册或充值,赞助后即可获取资源下载链接)

     嘿,亲!知识可是无价之宝呢,但咱这精心整理的资料也耗费了不少心血呀。小小地破费一下,绝对物超所值哦!如有下载和支付问题,请联系我们QQ(微信同号):813200300

本次赞助数额为: 2 元 
   源码介绍

LAN9252 EtherCAT DEMO TestEasyCATPro V2.0

//********************************************************************************************
//                                                                                         *
// EasyCAT PRO custom example for Microchip PIC18F26K22                                   *  
//  VERSION 2.0    16-09-18                                                               *
//                                                                                         *  
//********************************************************************************************


  TempLong.Long = SPIReadRegisterIndirect (WDOG_STATUS, 1); // read the watchdog status
  if ((TempLong.Byte[0] & 0x01) == 0x01)                    //
    WatchDog = 0;                                           // set/reset the corrisponding flag
  else                                                      //
    WatchDog = 1;                                           //
    
  TempLong.Long = SPIReadRegisterIndirect (AL_STATUS, 1);   // read the EtherCAT State Machine status
  Status = TempLong.Byte[0] & 0x0F;                         // to see if we are in operational state
  if (Status == ESM_OP)                                     // 
    Operational = 1;                                        //
  else                                                      // set/reset the corrisponding flag
    Operational = 0;                                        //    

.
├── TestEasyCATPro_Custom_V2_0
│   ├── TestEasyCATPro_Custom_V2_0.cof
│   ├── TestEasyCATPro_Custom_V2_0.hex
│   ├── TestEasyCATPro_Custom_V2_0.map
│   ├── TestEasyCATPro_Custom_V2_0.mcp
│   ├── TestEasyCATPro_Custom_V2_0.mcs
│   ├── TestEasyCATPro_Custom_V2_0.mcw
│   ├── TestEasyCAT_Custom.h
│   ├── easycat.c
│   ├── easycat.h
│   ├── easycat.o
│   ├── main.c
│   ├── main.h
│   └── main.o
├── Win32Project6.v12.suo
└── 好例子网_TestEasyCATPro_Custom_V2_0.zip

1 directory, 15 files