@@ -72,10 +72,14 @@ int8_t gpioNumberToDigitalPin(int8_t gpioNumber);
7272#define pinMatrixOutDetach (pin , invertOut , invertEnable ) pinMatrixOutDetach(digitalPinToGPIONumber(pin), invertOut, invertEnable)
7373
7474// cores/esp32/esp32-hal-periman.h
75- #define perimanSetPinBus (pin , type , bus ) perimanSetPinBus(digitalPinToGPIONumber(pin), type, bus)
76- #define perimanGetPinBus (pin , type ) perimanGetPinBus(digitalPinToGPIONumber(pin), type)
77- #define perimanGetPinBusType (pin ) perimanGetPinBusType(digitalPinToGPIONumber(pin))
78- #define perimanPinIsValid (pin ) perimanPinIsValid(digitalPinToGPIONumber(pin))
75+ #define perimanSetPinBus (pin , type , bus , bus_num , bus_channel ) perimanSetPinBus(digitalPinToGPIONumber(pin), type, bus, bus_num, bus_channel)
76+ #define perimanGetPinBus (pin , type ) perimanGetPinBus(digitalPinToGPIONumber(pin), type)
77+ #define perimanGetPinBusType (pin ) perimanGetPinBusType(digitalPinToGPIONumber(pin))
78+ #define perimanGetPinBusNum (pin ) perimanGetPinBusNum(digitalPinToGPIONumber(pin))
79+ #define perimanGetPinBusChannel (pin ) perimanGetPinBusChannel(digitalPinToGPIONumber(pin))
80+ #define perimanPinIsValid (pin ) perimanPinIsValid(digitalPinToGPIONumber(pin))
81+ #define perimanSetPinBusExtraType (pin , extra_type ) perimanSetPinBusExtraType(digitalPinToGPIONumber(pin), extra_type)
82+ #define perimanGetPinBusExtraType (pin ) perimanGetPinBusExtraType(digitalPinToGPIONumber(pin))
7983
8084// cores/esp32/esp32-hal-rgb-led.h
8185#define neopixelWrite (pin , red_val , green_val , blue_val ) neopixelWrite(digitalPinToGPIONumber(pin), red_val, green_val, blue_val)
0 commit comments