Paparazzi UAS v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
Loading...
Searching...
No Matches
sts3032_regs.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define INST_PING   0x01
#define INST_READ   0x02
#define INST_WRITE   0x03
#define INST_REG_WRITE   0x04
#define INST_REG_ACTION   0x05
#define INST_SYNC_READ   0x82
#define INST_SYNC_WRITE   0x83
#define SMS_STS_1M   0
#define SMS_STS_0_5M   1
#define SMS_STS_250K   2
#define SMS_STS_128K   3
#define SMS_STS_115200   4
#define SMS_STS_76800   5
#define SMS_STS_57600   6
#define SMS_STS_38400   7
#define SMS_STS_MODEL_L   3
#define SMS_STS_MODEL_H   4
#define SMS_STS_ID   5
#define SMS_STS_BAUD_RATE   6
#define SMS_STS_RESPONSE_LEVEL   8
#define SMS_STS_MIN_ANGLE_LIMIT_L   9
#define SMS_STS_MIN_ANGLE_LIMIT_H   10
#define SMS_STS_MAX_ANGLE_LIMIT_L   11
#define SMS_STS_MAX_ANGLE_LIMIT_H   12
#define SMS_STS_CW_DEAD   26
#define SMS_STS_CCW_DEAD   27
#define SMS_STS_OFS_L   31
#define SMS_STS_OFS_H   32
#define SMS_STS_MODE   33
#define SMS_STS_TORQUE_ENABLE   40
#define SMS_STS_ACC   41
#define SMS_STS_GOAL_POSITION_L   42
#define SMS_STS_GOAL_POSITION_H   43
#define SMS_STS_GOAL_TIME_L   44
#define SMS_STS_GOAL_TIME_H   45
#define SMS_STS_GOAL_SPEED_L   46
#define SMS_STS_GOAL_SPEED_H   47
#define SMS_STS_LOCK   55
#define SMS_STS_PRESENT_POSITION_L   56
#define SMS_STS_PRESENT_POSITION_H   57
#define SMS_STS_PRESENT_SPEED_L   58
#define SMS_STS_PRESENT_SPEED_H   59
#define SMS_STS_PRESENT_LOAD_L   60
#define SMS_STS_PRESENT_LOAD_H   61
#define SMS_STS_PRESENT_VOLTAGE   62
#define SMS_STS_PRESENT_TEMPERATURE   63
#define SMS_STS_MOVING   66
#define SMS_STS_PRESENT_CURRENT_L   69
#define SMS_STS_PRESENT_CURRENT_H   70

Macro Definition Documentation

◆ INST_PING

#define INST_PING   0x01

Definition at line 4 of file sts3032_regs.h.

◆ INST_READ

#define INST_READ   0x02

Definition at line 5 of file sts3032_regs.h.

Referenced by sts3032_read_mem().

◆ INST_REG_ACTION

#define INST_REG_ACTION   0x05

Definition at line 8 of file sts3032_regs.h.

◆ INST_REG_WRITE

#define INST_REG_WRITE   0x04

Definition at line 7 of file sts3032_regs.h.

◆ INST_SYNC_READ

#define INST_SYNC_READ   0x82

Definition at line 9 of file sts3032_regs.h.

◆ INST_SYNC_WRITE

#define INST_SYNC_WRITE   0x83

Definition at line 10 of file sts3032_regs.h.

◆ INST_WRITE

#define INST_WRITE   0x03

◆ SMS_STS_0_5M

#define SMS_STS_0_5M   1

Definition at line 14 of file sts3032_regs.h.

◆ SMS_STS_115200

#define SMS_STS_115200   4

Definition at line 17 of file sts3032_regs.h.

◆ SMS_STS_128K

#define SMS_STS_128K   3

Definition at line 16 of file sts3032_regs.h.

◆ SMS_STS_1M

#define SMS_STS_1M   0

Definition at line 13 of file sts3032_regs.h.

◆ SMS_STS_250K

#define SMS_STS_250K   2

Definition at line 15 of file sts3032_regs.h.

◆ SMS_STS_38400

#define SMS_STS_38400   7

Definition at line 20 of file sts3032_regs.h.

◆ SMS_STS_57600

#define SMS_STS_57600   6

Definition at line 19 of file sts3032_regs.h.

◆ SMS_STS_76800

#define SMS_STS_76800   5

Definition at line 18 of file sts3032_regs.h.

◆ SMS_STS_ACC

#define SMS_STS_ACC   41

Definition at line 43 of file sts3032_regs.h.

◆ SMS_STS_BAUD_RATE

#define SMS_STS_BAUD_RATE   6

Definition at line 29 of file sts3032_regs.h.

◆ SMS_STS_CCW_DEAD

#define SMS_STS_CCW_DEAD   27

Definition at line 36 of file sts3032_regs.h.

◆ SMS_STS_CW_DEAD

#define SMS_STS_CW_DEAD   26

Definition at line 35 of file sts3032_regs.h.

◆ SMS_STS_GOAL_POSITION_H

#define SMS_STS_GOAL_POSITION_H   43

Definition at line 45 of file sts3032_regs.h.

◆ SMS_STS_GOAL_POSITION_L

#define SMS_STS_GOAL_POSITION_L   42

Definition at line 44 of file sts3032_regs.h.

Referenced by sts3032_write_pos().

◆ SMS_STS_GOAL_SPEED_H

#define SMS_STS_GOAL_SPEED_H   47

Definition at line 49 of file sts3032_regs.h.

◆ SMS_STS_GOAL_SPEED_L

#define SMS_STS_GOAL_SPEED_L   46

Definition at line 48 of file sts3032_regs.h.

◆ SMS_STS_GOAL_TIME_H

#define SMS_STS_GOAL_TIME_H   45

Definition at line 47 of file sts3032_regs.h.

◆ SMS_STS_GOAL_TIME_L

#define SMS_STS_GOAL_TIME_L   44

Definition at line 46 of file sts3032_regs.h.

◆ SMS_STS_ID

#define SMS_STS_ID   5

Definition at line 28 of file sts3032_regs.h.

Referenced by sts3032_set_id().

◆ SMS_STS_LOCK

#define SMS_STS_LOCK   55

Definition at line 50 of file sts3032_regs.h.

Referenced by sts3032_lock_eeprom().

◆ SMS_STS_MAX_ANGLE_LIMIT_H

#define SMS_STS_MAX_ANGLE_LIMIT_H   12

Definition at line 34 of file sts3032_regs.h.

◆ SMS_STS_MAX_ANGLE_LIMIT_L

#define SMS_STS_MAX_ANGLE_LIMIT_L   11

Definition at line 33 of file sts3032_regs.h.

◆ SMS_STS_MIN_ANGLE_LIMIT_H

#define SMS_STS_MIN_ANGLE_LIMIT_H   10

Definition at line 32 of file sts3032_regs.h.

◆ SMS_STS_MIN_ANGLE_LIMIT_L

#define SMS_STS_MIN_ANGLE_LIMIT_L   9

Definition at line 31 of file sts3032_regs.h.

◆ SMS_STS_MODE

#define SMS_STS_MODE   33

Definition at line 39 of file sts3032_regs.h.

◆ SMS_STS_MODEL_H

#define SMS_STS_MODEL_H   4

Definition at line 25 of file sts3032_regs.h.

◆ SMS_STS_MODEL_L

#define SMS_STS_MODEL_L   3

Definition at line 24 of file sts3032_regs.h.

◆ SMS_STS_MOVING

#define SMS_STS_MOVING   66

Definition at line 61 of file sts3032_regs.h.

◆ SMS_STS_OFS_H

#define SMS_STS_OFS_H   32

Definition at line 38 of file sts3032_regs.h.

◆ SMS_STS_OFS_L

#define SMS_STS_OFS_L   31

Definition at line 37 of file sts3032_regs.h.

◆ SMS_STS_PRESENT_CURRENT_H

#define SMS_STS_PRESENT_CURRENT_H   70

Definition at line 63 of file sts3032_regs.h.

◆ SMS_STS_PRESENT_CURRENT_L

#define SMS_STS_PRESENT_CURRENT_L   69

Definition at line 62 of file sts3032_regs.h.

◆ SMS_STS_PRESENT_LOAD_H

#define SMS_STS_PRESENT_LOAD_H   61

Definition at line 58 of file sts3032_regs.h.

◆ SMS_STS_PRESENT_LOAD_L

#define SMS_STS_PRESENT_LOAD_L   60

Definition at line 57 of file sts3032_regs.h.

◆ SMS_STS_PRESENT_POSITION_H

#define SMS_STS_PRESENT_POSITION_H   57

Definition at line 54 of file sts3032_regs.h.

◆ SMS_STS_PRESENT_POSITION_L

#define SMS_STS_PRESENT_POSITION_L   56

Definition at line 53 of file sts3032_regs.h.

Referenced by handle_reply(), and sts3032_read_pos().

◆ SMS_STS_PRESENT_SPEED_H

#define SMS_STS_PRESENT_SPEED_H   59

Definition at line 56 of file sts3032_regs.h.

◆ SMS_STS_PRESENT_SPEED_L

#define SMS_STS_PRESENT_SPEED_L   58

Definition at line 55 of file sts3032_regs.h.

◆ SMS_STS_PRESENT_TEMPERATURE

#define SMS_STS_PRESENT_TEMPERATURE   63

Definition at line 60 of file sts3032_regs.h.

◆ SMS_STS_PRESENT_VOLTAGE

#define SMS_STS_PRESENT_VOLTAGE   62

Definition at line 59 of file sts3032_regs.h.

◆ SMS_STS_RESPONSE_LEVEL

#define SMS_STS_RESPONSE_LEVEL   8

Definition at line 30 of file sts3032_regs.h.

Referenced by sts3032_set_response_level().

◆ SMS_STS_TORQUE_ENABLE

#define SMS_STS_TORQUE_ENABLE   40

Definition at line 42 of file sts3032_regs.h.

Referenced by sts3032_enable_torque().