Closed nkpro2000sr closed 3 years ago
![Class Diagram](https://yuml.me/diagram/plain;dir:TB;scale:120/class/%5BSPI_Primitive%5D%5E%5BSPI_Master%5D%2C%20%5BSPI_Primitive%5D%5E%5BSPI_Slave%5D%2C%20%5BSPI_Primitive%7C-_PPRE_MAP%3A%20list%20of%20int%3B-_SPRE_MAP%3A%20list%20of%20int%3B-_primary_prescaler%3A%20int%3B-_secondary_prescaler%3A%20int%3B-_clock_polarity%3A%20int%3B-_clock_edge%3A%20int%3B-_smp%3A%20int%3B-_device%3A%20SerialHandler%7C%2B__init__(device%3A%20SerialHandler)%3B-_frequency()%3A%20float%3B-_clock_phase()%3A%20int%3B-_save_config()%3B-_set_parameters()%3B-_start(channel%3A%20int)%3B-_stop(channel%3A%20int)%3B-_set_cs(channel%3A%20int%2C%20state%3A%20int)%3B-_transfer8(data%3A%20int)%3A%20int%3B-_transfer16(data%3A%20int)%3A%20int%3B-_transfer_bulk8(bytes_to_write%3A%20bytearray)%3A%20bytearray%3B-_transfer_bulk16(bytes_to_write%3A%20bytearray)%3A%20bytearray%3B-_read8()%3A%20int%3B-_read_bulk8(bytes_to_read%3A%20int)%3A%20bytearray%3B-_read16()%3A%20int%3B-_read_bulk16(bytes_to_read%3A%20int)%3A%20bytearray%5D%2C%20%5BSPI_Master%7C-_device%3A%20SerialHandler%7C%2B__init__(device%3A%20SerialHandler)%3B%2Bset_parameters()%5D%2C%20%5BSPI_Slave%7C-_device%3A%20SerialHandler%7C%2B__init__(device%3A%20SerialHandler)%3B%2Btransfer8(data%3A%20int)%3A%20int%3B%2Btransfer16(data%3A%20int)%3A%20int%3B%2Btransfer_bulk8(bytes_to_write%3A%20bytearray)%3A%20bytearray%3B%2Btransfer_bulk16(bytes_to_write%3A%20bytearray)%3A%20bytearray%3B%2Bread8()%3A%20int%3B%2Bread_bulk8(bytes_to_read%3A%20int)%3A%20bytearray%3B%2Bread16()%3A%20int%3B%2Bread_bulk16(bytes_to_read%3A%20int)%3A%20bytearray%5D)
![Class Diagram](https://yuml.me/diagram/plain;dir:TB;scale:120/class/%5BSPI_Primitive%5D%5E%5BSPI_Master%5D%2C%20%5BSPI_Primitive%5D%5E%5BSPI_Slave%5D%2C%20%5BSPI_Primitive%7C-_PPRE_MAP%3A%20list%20of%20int%3B-_SPRE_MAP%3A%20list%20of%20int%3B-_primary_prescaler%3A%20int%3B-_secondary_prescaler%3A%20int%3B-_clock_polarity%3A%20int%3B-_clock_edge%3A%20int%3B-_smp%3A%20int%3B-_device%3A%20SerialHandler%7C%2B__init__(device%3A%20SerialHandler)%3B-_frequency()%3A%20float%3B-_clock_phase()%3A%20int%3B-_save_config()%3B-_set_parameters()%3B-_start(channel%3A%20int)%3B-_stop(channel%3A%20int)%3B-_set_cs(channel%3A%20int%2C%20state%3A%20int)%3B-_transfer8(data%3A%20int)%3A%20int%3B-_transfer16(data%3A%20int)%3A%20int%3B-_transfer_bulk8(bytes_to_write%3A%20bytearray)%3A%20bytearray%3B-_transfer_bulk16(bytes_to_write%3A%20bytearray)%3A%20bytearray%3B-_read8()%3A%20int%3B-_read_bulk8(bytes_to_read%3A%20int)%3A%20bytearray%3B-_read16()%3A%20int%3B-_read_bulk16(bytes_to_read%3A%20int)%3A%20bytearray%5D%2C%20%5BSPI_Master%7C-_device%3A%20SerialHandler%7C%2B__init__(device%3A%20SerialHandler)%3B%2Bset_parameters()%5D%2C%20%5BSPI_Slave%7C-_device%3A%20SerialHandler%7C%2B__init__(device%3A%20SerialHandler)%3B%2Btransfer8(data%3A%20int)%3A%20int%3B%2Btransfer16(data%3A%20int)%3A%20int%3B%2Btransfer_bulk8(bytes_to_write%3A%20bytearray)%3A%20bytearray%3B%2Btransfer_bulk16(bytes_to_write%3A%20bytearray)%3A%20bytearray%3B%2Bread8()%3A%20int%3B%2Bread_bulk8(bytes_to_read%3A%20int)%3A%20bytearray%3B%2Bread16()%3A%20int%3B%2Bread_bulk16(bytes_to_read%3A%20int)%3A%20bytearray%5D)