A variable-frequency parallel I/O interface with adaptive power-supply regulation