initpdos.h

来自「CanOpen的源代码」· C头文件 代码 · 共 18 行

H
18
字号
// PDO Initialization
// Generated by CANopen Architect EDS 1.31 on Wed Jan 17 09:50:09 2007
// Use with MicroCANopen Plus CANopen stack
// For more information visit www.esacademy.com and www.microcanopen.com

// Check for warnings below before using this file

#ifndef _INITPDOSH_
#define _INITPDOSH_

#define INITPDOS_CALLS \
MCO_InitRPDO(1, 0x00000000, 4, P620001_DIGOUTPUT8_); \
MCO_InitRPDO(2, 0x00000000, 4, P641101_ANALOGOUTPUT16_); \
MCO_InitTPDO(1, 0x00000000, 200, 50, 4, P600001_DIGINPUT8_); \
MCO_InitTPDO(2, 0x00000000, 300, 20, 4, P640101_ANALOGINPUT16_); \

#endif

⌨️ 快捷键说明

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