MAX_PIN_FUNC
for (pin_func = 0; pin_func < MAX_PIN_FUNC; pin_func++)
if (pin_func == MAX_PIN_FUNC)
const char *functions[MAX_PIN_FUNC];