/* Enables specific module modes for a set of pins.  */
uint32_t gpio_enable_module(const gpio_map_t gpiomap, uint32_t size)
/* Enables specific module modes for a set of pins.  */
uint32_t gpio_enable_module(const gpio_map_t gpiomap, uint32_t size)
{
	uint32_t status = GPIO_SUCCESS;
	uint32_t i;
	for (i = 0; i < size; i++) {
		status |= gpio_enable_module_pin(gpiomap->pin, gpiomap->function);
		gpiomap++;
	}
	return status;
}