<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def SPI_config(self,config):
        'Configure SPI interface parameters.'
        self.bus.write_byte_data(self.address, 0xF0, config)
        return self.bus.read_byte_data(self.address, 0xF0)