HWL:A simple SPI-like serial I/O controller