6 #define MAX_CAPTURE_SIZE 65535
7 #define SERIAL_SPEED 921600
8 #define SERIAL_TIMEOUT 50
9 #define MAX_FREQ 2940052
10 #define MAX_FREQ_THRESHOLD 869900
12 #define PIN_COUNT sizeof(PinBitArray)*8
13 #define DESCRIPTION "Arduino-ESP32"
16 namespace logic_analyzer {
20 typedef uint8_t PinBitArray;
30 PinReader(
int startPin){
31 this->start_pin = startPin;
36 uint32_t input = REG_READ(GPIO_IN_REG) >> start_pin;
PinBitArray readAll()
reads all pins and provides the result as bitmask
Definition: config_esp32.h:35