Possible, but it does not make any difference. The undefined is introduced for a simple reason: When you decide not to use any GPIOs and set `GPIO_NUMOF` to `0` in you *periph_conf*, the GPIO implementation won't compile anymore. So having the UNDEFINED field in the enum will prevent this.