Macros | Typedefs | Enumerations | Functions | Variables
sdh_command_codes.h File Reference

This file contains the binary command codes of the SDH. To use this from a non gcc compiler you might have to define SDH__attribute__ to nothing and SDH_USE_VCC to 1. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define SDH__attribute__(...)   __attribute__(__VA_ARGS__)
 
#define SDH_USE_VCC   0
 
#define USE_CMD_TEST   0
 

Typedefs

typedef enum eCommandCodeEnum eCommandCode
 typedef for eCommandCodeEnum, see there More...
 

Enumerations

enum  eCommandCodeEnum
 

Functions

enum eCommandCodeEnum SDH__attribute__ ((packed))
 

Variables

 CMDC_A
 
 CMDC_ALIM
 
 CMDC_CHANGE_CHANNEL
 
 CMDC_CHANGE_RS232
 
 CMDC_CON
 
 CMDC_DEBUG
 
 CMDC_DEMO
 
 CMDC_GET_DURATION
 
 CMDC_GRIP
 
 CMDC_ID
 
 CMDC_IGRIP
 
 CMDC_IHOLD
 
 CMDC_ILIM
 
 CMDC_KV
 
 CMDC_M
 
 CMDC_NUMAXIS
 
 CMDC_P
 
 CMDC_P_MAX
 
 CMDC_P_MIN
 
 CMDC_P_OFFSET
 
 CMDC_PID
 
 CMDC_POS
 
 CMDC_POS_SAVE
 
 CMDC_POWER
 
 CMDC_REF
 
 CMDC_RVEL
 
 CMDC_SELGRIP
 
 CMDC_SN
 
 CMDC_SOC
 
 CMDC_SOC_DATE
 
 CMDC_STATE
 
 CMDC_STOP
 
 CMDC_TEMP
 
 CMDC_TERMINAL
 
 CMDC_TPAP
 
 CMDC_TVAV
 
 CMDC_USE_FIXED_LENGTH
 
 CMDC_USER_ERRORS
 
 CMDC_V = 128
 
 CMDC_VEL
 
 CMDC_VER
 
 CMDC_VER_DATE
 
 CMDC_VLIM
 
 CMDC_VP
 

Detailed Description

This file contains the binary command codes of the SDH. To use this from a non gcc compiler you might have to define SDH__attribute__ to nothing and SDH_USE_VCC to 1.

General file information

Author
Ilshat Mamaev, Dirk Osswald
Date
2011-02-01

Copyright


Definition in file sdh_command_codes.h.

Macro Definition Documentation

#define SDH__attribute__ (   ...)    __attribute__(__VA_ARGS__)

Definition at line 57 of file sdh_command_codes.h.

#define SDH_USE_VCC   0

Definition at line 61 of file sdh_command_codes.h.

#define USE_CMD_TEST   0

Definition at line 51 of file sdh_command_codes.h.

Typedef Documentation

typedef for eCommandCodeEnum, see there

Definition at line 148 of file sdh_command_codes.h.

Enumeration Type Documentation

Packed (1 Byte) enum with binary command codes used to indicate the command sent in the binary communiation request or response.

Remarks
  • Not all commands are implemented as binary commands
  • To make this definition work with both C (nios-gcc) and C++ (std gcc/VCC) we have to separate the enum definition from the typedef.
  • You may use the corresponding typedef eCommandCode

Definition at line 79 of file sdh_command_codes.h.

Function Documentation

enum eCommandCodeEnum SDH__attribute__ ( (packed)  )

Variable Documentation

CMDC_A

Definition at line 75 of file sdh_command_codes.h.

CMDC_ALIM

Definition at line 75 of file sdh_command_codes.h.

CMDC_CHANGE_CHANNEL

Definition at line 75 of file sdh_command_codes.h.

CMDC_CHANGE_RS232

Definition at line 75 of file sdh_command_codes.h.

CMDC_CON

Definition at line 75 of file sdh_command_codes.h.

CMDC_DEBUG

Definition at line 75 of file sdh_command_codes.h.

CMDC_DEMO

Definition at line 75 of file sdh_command_codes.h.

CMDC_GET_DURATION

Definition at line 75 of file sdh_command_codes.h.

CMDC_GRIP

Definition at line 75 of file sdh_command_codes.h.

CMDC_ID

Definition at line 75 of file sdh_command_codes.h.

CMDC_IGRIP

Definition at line 75 of file sdh_command_codes.h.

CMDC_IHOLD

Definition at line 75 of file sdh_command_codes.h.

CMDC_ILIM

Definition at line 75 of file sdh_command_codes.h.

CMDC_KV

Definition at line 75 of file sdh_command_codes.h.

CMDC_M

Definition at line 75 of file sdh_command_codes.h.

CMDC_NUMAXIS

Definition at line 75 of file sdh_command_codes.h.

CMDC_P

Definition at line 75 of file sdh_command_codes.h.

CMDC_P_MAX

Definition at line 75 of file sdh_command_codes.h.

CMDC_P_MIN

Definition at line 75 of file sdh_command_codes.h.

CMDC_P_OFFSET

Definition at line 75 of file sdh_command_codes.h.

CMDC_PID

Definition at line 75 of file sdh_command_codes.h.

CMDC_POS

Definition at line 75 of file sdh_command_codes.h.

CMDC_POS_SAVE

Definition at line 75 of file sdh_command_codes.h.

CMDC_POWER

Definition at line 75 of file sdh_command_codes.h.

CMDC_REF

Definition at line 75 of file sdh_command_codes.h.

CMDC_RVEL

Definition at line 75 of file sdh_command_codes.h.

CMDC_SELGRIP

Definition at line 75 of file sdh_command_codes.h.

CMDC_SN

Definition at line 75 of file sdh_command_codes.h.

CMDC_SOC

Definition at line 75 of file sdh_command_codes.h.

CMDC_SOC_DATE

Definition at line 75 of file sdh_command_codes.h.

CMDC_STATE

Definition at line 75 of file sdh_command_codes.h.

CMDC_STOP

Definition at line 75 of file sdh_command_codes.h.

CMDC_TEMP

Definition at line 75 of file sdh_command_codes.h.

CMDC_TERMINAL

Definition at line 75 of file sdh_command_codes.h.

CMDC_TPAP

Definition at line 75 of file sdh_command_codes.h.

CMDC_TVAV

Definition at line 75 of file sdh_command_codes.h.

CMDC_USE_FIXED_LENGTH

Definition at line 75 of file sdh_command_codes.h.

CMDC_USER_ERRORS

Definition at line 75 of file sdh_command_codes.h.

CMDC_V = 128

Definition at line 75 of file sdh_command_codes.h.

CMDC_VEL

Definition at line 75 of file sdh_command_codes.h.

CMDC_VER

Definition at line 75 of file sdh_command_codes.h.

CMDC_VER_DATE

Definition at line 75 of file sdh_command_codes.h.

CMDC_VLIM

Definition at line 75 of file sdh_command_codes.h.

CMDC_VP

Definition at line 75 of file sdh_command_codes.h.



sdhlibrary_cpp
Author(s): Dirk Osswald
autogenerated on Sun Aug 18 2019 03:42:20