user_cc01.c

来自「CanOpen的源代码」· C语言 代码 · 共 45 行

C
45
字号
/**************************************************************************
MODULE:    USER
CONTAINS:  MicroCANopen Object Dictionary and Process Image implementation
COPYRIGHT: Embedded Systems Academy, Inc. 2002-2007.
           All rights reserved. www.microcanopen.com
           This software was written in accordance to the guidelines at
           www.esacademy.com/software/softwarestyleguide.pdf
DISCLAIM:  Read and understand our disclaimer before using this code!
           www.esacademy.com/disclaim.htm
LICENSE:   THIS IS THE EDUCATIONAL VERSION OF MICROCANOPEN
           See file license_educational.txt or
           www.microcanopen.com/license_educational.txt
           A commercial MicroCANopen license is available at
           www.CANopenStore.com
VERSION:   3.30, ESA 30-JAN-07
           $LastChangedDate: 2007-01-30 20:50:41 -0800 (Tue, 30 Jan 2007) $
           $LastChangedRevision: 235 $
***************************************************************************/ 

#include "mco.h"
#include "rcc01io.h"
#include "string.h"
#ifdef __RC51__
#include "c51cc01.h" // For Raisonance
#else
#include <Reg51CC01.h> // For Keil
#endif
// Auto-generated files from CANopenArchitectEDS
#include "..\Utils\entriesandreplies.h"
#include "..\Utils\initpdos.h"
#include "..\Utils\pimg.h"

#if USE_MICROLSS == 1
#include "mlss.h"
#endif

// global variables

// This structure holds all node specific configuration
UNSIGNED8 MEM_NEAR gProcImg[PIMGEND+1] = PIMGDEFAULTS;

// Table with SDO Responses for read requests to OD
// Each Row has 8 Bytes:
// Command Specifier for SDO Response (1 byte)
//   bits 2+3 contain: '4' 

⌨️ 快捷键说明

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