GPIO_MODE_INTERRUPT
case GPIO_MODE_INTERRUPT:
if (ptr->mode == GPIO_MODE_INTERRUPT) {
dal_gpio_open(enc_init_data.hpd_gpio, GPIO_MODE_INTERRUPT);