SRA Board Components
ESP-IDF component for SRA Board
Macros
pin_defs.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define CHECK(x)
 
#define CHECK_LOGE(err, x, tag, msg, ...)
 
#define MPU6050_INT   23
 
#define MPU6050_SDA   22
 
#define MPU6050_SCL   21
 
#define BG_LED_1   12
 
#define BG_LED_2   13
 
#define BG_LED_3   25
 
#define BG_LED_4   26
 
#define BG_LED_5   15
 
#define BG_LED_6   5
 
#define BG_LED_7   18
 
#define BG_LED_8   19
 
#define SWITCH_1   4
 
#define SWITCH_2   2
 
#define SWITCH_3   27
 
#define SWITCH_4   14
 
#define LSA_A0   32
 
#define LSA_A1   35
 
#define LSA_A2   34
 
#define LSA_A3   39
 
#define LSA_A4   36
 
#define BATTERY   33
 
#define MDA_NORMAL_IN_1   12
 
#define MDA_NORMAL_IN_2   13
 
#define MDA_NORMAL_IN_3   25
 
#define MDA_NORMAL_IN_4   26
 
#define MDA_PARALLEL_IN_1_2   25
 
#define MDA_PARALLEL_IN_3_4   26
 
#define SERVO_A   15
 
#define SERVO_B   5
 
#define SERVO_C   19
 
#define SERVO_D   18
 

Macro Definition Documentation

◆ BATTERY

#define BATTERY   33

◆ BG_LED_1

#define BG_LED_1   12

◆ BG_LED_2

#define BG_LED_2   13

◆ BG_LED_3

#define BG_LED_3   25

◆ BG_LED_4

#define BG_LED_4   26

◆ BG_LED_5

#define BG_LED_5   15

◆ BG_LED_6

#define BG_LED_6   5

◆ BG_LED_7

#define BG_LED_7   18

◆ BG_LED_8

#define BG_LED_8   19

◆ CHECK

#define CHECK (   x)
Value:
do \
{ \
esp_err_t __; \
if ((__ = x) != ESP_OK) \
return __; \
} while (0)

◆ CHECK_LOGE

#define CHECK_LOGE (   err,
  x,
  tag,
  msg,
  ... 
)
Value:
do \
{ \
if ((err = x) != ESP_OK) \
{ \
ESP_LOGE(tag, msg, ##__VA_ARGS__); \
return err; \
} \
} while (0)

◆ LSA_A0

#define LSA_A0   32

◆ LSA_A1

#define LSA_A1   35

◆ LSA_A2

#define LSA_A2   34

◆ LSA_A3

#define LSA_A3   39

◆ LSA_A4

#define LSA_A4   36

◆ MDA_NORMAL_IN_1

#define MDA_NORMAL_IN_1   12

◆ MDA_NORMAL_IN_2

#define MDA_NORMAL_IN_2   13

◆ MDA_NORMAL_IN_3

#define MDA_NORMAL_IN_3   25

◆ MDA_NORMAL_IN_4

#define MDA_NORMAL_IN_4   26

◆ MDA_PARALLEL_IN_1_2

#define MDA_PARALLEL_IN_1_2   25

◆ MDA_PARALLEL_IN_3_4

#define MDA_PARALLEL_IN_3_4   26

◆ MPU6050_INT

#define MPU6050_INT   23

◆ MPU6050_SCL

#define MPU6050_SCL   21

◆ MPU6050_SDA

#define MPU6050_SDA   22

◆ SERVO_A

#define SERVO_A   15

◆ SERVO_B

#define SERVO_B   5

◆ SERVO_C

#define SERVO_C   19

◆ SERVO_D

#define SERVO_D   18

◆ SWITCH_1

#define SWITCH_1   4

◆ SWITCH_2

#define SWITCH_2   2

◆ SWITCH_3

#define SWITCH_3   27

◆ SWITCH_4

#define SWITCH_4   14