Add several SPI module configuration methods. see #25