How to subscribe "Parallel(iic or spi) bus"?

how to subscribe “Parallel(iic or spi) bus” ?
can give me any examples?please!!