Modular GPIO interface