High-level GPIO interface