Searched refs:GPIO_PORTS (Results 1 – 2 of 2) sorted by relevance
21 static const struct port_info pin_ports[GPIO_PORTS] =89 if (port < GPIO_PORTS && (pin_ports[port].pin_mark & bitpos)) in _gpio_px_regbase()102 if (port < GPIO_PORTS && (pin_ports[port].pin_mark & bitpos)) in gpio_pin_mode()141 if (port < GPIO_PORTS && (pin_ports[port].pin_mark & bitpos)) in gpio_pin_write()159 if (port < GPIO_PORTS && (pin_ports[port].pin_mark & bitpos)) in gpio_pin_read()179 if (0 <= port && port < GPIO_PORTS && 0 <= pin && pin <= 9) in gpio_pin_get()
51 #define GPIO_PORTS 2 // 2 ports : PA & PB macro
Completed in 6 milliseconds