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

◆ SDH__attribute__

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

Definition at line 57 of file sdh_command_codes.h.

◆ SDH_USE_VCC

#define SDH_USE_VCC   0

Definition at line 61 of file sdh_command_codes.h.

◆ USE_CMD_TEST

#define USE_CMD_TEST   0

Definition at line 51 of file sdh_command_codes.h.

Typedef Documentation

◆ eCommandCode

typedef for eCommandCodeEnum, see there

Definition at line 148 of file sdh_command_codes.h.

Enumeration Type Documentation

◆ eCommandCodeEnum

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

◆ SDH__attribute__()

enum eCommandCodeEnum SDH__attribute__ ( (packed)  )

Variable Documentation

◆ CMDC_A

CMDC_A

Definition at line 11 of file sdh_command_codes.h.

◆ CMDC_ALIM

CMDC_ALIM

Definition at line 22 of file sdh_command_codes.h.

◆ CMDC_CHANGE_CHANNEL

CMDC_CHANGE_CHANNEL

Definition at line 60 of file sdh_command_codes.h.

◆ CMDC_CHANGE_RS232

CMDC_CHANGE_RS232

Definition at line 59 of file sdh_command_codes.h.

◆ CMDC_CON

CMDC_CON

Definition at line 15 of file sdh_command_codes.h.

◆ CMDC_DEBUG

CMDC_DEBUG

Definition at line 56 of file sdh_command_codes.h.

◆ CMDC_DEMO

CMDC_DEMO

Definition at line 53 of file sdh_command_codes.h.

◆ CMDC_GET_DURATION

CMDC_GET_DURATION

Definition at line 37 of file sdh_command_codes.h.

◆ CMDC_GRIP

CMDC_GRIP

Definition at line 44 of file sdh_command_codes.h.

◆ CMDC_ID

CMDC_ID

Definition at line 26 of file sdh_command_codes.h.

◆ CMDC_IGRIP

CMDC_IGRIP

Definition at line 40 of file sdh_command_codes.h.

◆ CMDC_IHOLD

CMDC_IHOLD

Definition at line 41 of file sdh_command_codes.h.

◆ CMDC_ILIM

CMDC_ILIM

Definition at line 49 of file sdh_command_codes.h.

◆ CMDC_KV

CMDC_KV

Definition at line 48 of file sdh_command_codes.h.

◆ CMDC_M

CMDC_M

Definition at line 12 of file sdh_command_codes.h.

◆ CMDC_NUMAXIS

CMDC_NUMAXIS

Definition at line 33 of file sdh_command_codes.h.

◆ CMDC_P

CMDC_P

Definition at line 10 of file sdh_command_codes.h.

◆ CMDC_P_MAX

CMDC_P_MAX

Definition at line 35 of file sdh_command_codes.h.

◆ CMDC_P_MIN

CMDC_P_MIN

Definition at line 34 of file sdh_command_codes.h.

◆ CMDC_P_OFFSET

CMDC_P_OFFSET

Definition at line 36 of file sdh_command_codes.h.

◆ CMDC_PID

CMDC_PID

Definition at line 47 of file sdh_command_codes.h.

◆ CMDC_POS

CMDC_POS

Definition at line 8 of file sdh_command_codes.h.

◆ CMDC_POS_SAVE

CMDC_POS_SAVE

Definition at line 23 of file sdh_command_codes.h.

◆ CMDC_POWER

CMDC_POWER

Definition at line 50 of file sdh_command_codes.h.

◆ CMDC_REF

CMDC_REF

Definition at line 24 of file sdh_command_codes.h.

◆ CMDC_RVEL

CMDC_RVEL

Definition at line 7 of file sdh_command_codes.h.

◆ CMDC_SELGRIP

CMDC_SELGRIP

Definition at line 42 of file sdh_command_codes.h.

◆ CMDC_SN

CMDC_SN

Definition at line 27 of file sdh_command_codes.h.

◆ CMDC_SOC

CMDC_SOC

Definition at line 31 of file sdh_command_codes.h.

◆ CMDC_SOC_DATE

CMDC_SOC_DATE

Definition at line 32 of file sdh_command_codes.h.

◆ CMDC_STATE

CMDC_STATE

Definition at line 9 of file sdh_command_codes.h.

◆ CMDC_STOP

CMDC_STOP

Definition at line 13 of file sdh_command_codes.h.

◆ CMDC_TEMP

CMDC_TEMP

Definition at line 25 of file sdh_command_codes.h.

◆ CMDC_TERMINAL

CMDC_TERMINAL

Definition at line 55 of file sdh_command_codes.h.

◆ CMDC_TPAP

CMDC_TPAP

Definition at line 16 of file sdh_command_codes.h.

◆ CMDC_TVAV

CMDC_TVAV

Definition at line 18 of file sdh_command_codes.h.

◆ CMDC_USE_FIXED_LENGTH

CMDC_USE_FIXED_LENGTH

Definition at line 57 of file sdh_command_codes.h.

◆ CMDC_USER_ERRORS

CMDC_USER_ERRORS

Definition at line 54 of file sdh_command_codes.h.

◆ CMDC_V

CMDC_V = 128

Definition at line 3 of file sdh_command_codes.h.

◆ CMDC_VEL

CMDC_VEL

Definition at line 5 of file sdh_command_codes.h.

◆ CMDC_VER

CMDC_VER

Definition at line 28 of file sdh_command_codes.h.

◆ CMDC_VER_DATE

CMDC_VER_DATE

Definition at line 29 of file sdh_command_codes.h.

◆ CMDC_VLIM

CMDC_VLIM

Definition at line 21 of file sdh_command_codes.h.

◆ CMDC_VP

CMDC_VP

Definition at line 14 of file sdh_command_codes.h.



sdhlibrary_cpp
Author(s): Dirk Osswald
autogenerated on Wed Mar 2 2022 01:00:59