add synchronous data output interface for gpio