11 #ifdef ARDUINO_ARCH_RP2040
16 #define MAX_CAPTURE_SIZE 65535
17 #define SERIAL_SPEED 921600
18 #define SERIAL_TIMEOUT 50
19 #define MAX_FREQ 2203225
20 #define MAX_FREQ_THRESHOLD 661400
22 #define PIN_COUNT sizeof(PinBitArray)*8
23 #define DESCRIPTION "Arduino-Pico"
25 namespace logic_analyzer {
28 typedef uint8_t PinBitArray;
37 PinReader(
int startPin){
38 this->start_pin = startPin;
43 return gpio_get_all()>>start_pin;
PinBitArray readAll()
reads all pins and provides the result as bitmask
Definition: config_pico.h:42