esp_idf_sys

Constant CONFIG_SOC_GPIO_PIN_COUNT

Source
pub const CONFIG_SOC_GPIO_PIN_COUNT: u32 = 22;