+ mode = GPIO_PIN_INTR_HILEVEL; + }else{ + return luaL_error( L, "wrong arg type" ); + } + + gpio_pin_wakeup_enable(pin, mode); + return 0; +} + +static int node_wakeup_disable( lua_State* L ) +{ + gpio_pin_wak