Closed nkpro2000sr closed 3 years ago
![I2C](https://yuml.me/diagram/plain;dir:TB;scale:120/class/%5BI2C_Primitive%5D%5E%5BI2C_Master%5D%2C%20%5BI2C_Primitive%5D%5E%5BI2C_Slave%5D%2C%20%5BI2C_Primitive%7C-_device%3A%20SerialHandler%7C%2B__init__(device%3A%20SerialHandler)%3B-_start(address%3A%20int%2C%20mode%3A%20int)%3A%20int%3B-_restart(address%3A%20int%2C%20mode%3A%20int)%3A%20int%3B-_stop()%3B-_wait()%3B-_status()%3A%20int%3B-_configure(brgval%3A%20int)%3B-_send_byte(data%3A%20int)%3A%20int%3B-_send_byte_burst(data%3A%20int)%3B-_send(bytes_to_write%3A%20bytearray)%3B-_write_bulk(address%3A%20int%2C%20bytes_to_write%3A%20bytearray)%3B-_read_more()%3A%20int%3B-_read_end()%3A%20int%3B-_read(bytes_to_read%3A%20int)%3A%20bytearray%3B-_read_bulk(address%3A%20int%2C%20bytes_to_read%3A%20int%2Cregister_address%3A%20int)%3A%20bytearray%5D%2C%20%5BI2C_Master%7C%2B__init__(device%3A%20SerialHandler)%3B%2Bconfigure(frequency%3A%20float)%3B%2Bscan()%3A%20list_of_int%5D%2C%20%5BI2C_Slave%7C-_device%3A%20SerialHandler%7C%2B__init__(address%3A%20int%2Cdevice%3A%20SerialHandler)%3B%2Bping()%3A%20bool%3B%2Bread(bytes_to_read%3A%20int%2C%20reg_addr%3A%20int)%3A%20bytearray%3B%2Bread_byte(reg_addr%3A%20int)%3A%20int%3B%2Bread_int(reg_addr%3A%20int)%3A%20int%3B%2Bread_long(reg_addr%3A%20int)%3A%20int%3B%2Bwrite(bytes_to_write%3A%20bytearray%2C%20reg_addr%3A%20int)%3B%2Bwrite_byte(data%3A%20int%2C%20reg_addr%3A%20int)%3B%2Bwrite_int(data%3A%20int%2C%20reg_addr%3A%20int)%3B%2Bwrite_long(data%3A%20int%2C%20reg_addr%3A%20int)%5D)
![I2C](https://yuml.me/diagram/plain;dir:TB;scale:120/class/%5BI2C_Primitive%5D%5E%5BI2C_Master%5D%2C%20%5BI2C_Primitive%5D%5E%5BI2C_Slave%5D%2C%20%5BI2C_Primitive%7C-_device%3A%20SerialHandler%7C%2B__init__(device%3A%20SerialHandler)%3B-_start(address%3A%20int%2C%20mode%3A%20int)%3A%20int%3B-_restart(address%3A%20int%2C%20mode%3A%20int)%3A%20int%3B-_stop()%3B-_wait()%3B-_status()%3A%20int%3B-_configure(brgval%3A%20int)%3B-_send_byte(data%3A%20int)%3A%20int%3B-_send_byte_burst(data%3A%20int)%3B-_send(bytes_to_write%3A%20bytearray)%3B-_write_bulk(address%3A%20int%2C%20bytes_to_write%3A%20bytearray)%3B-_read_more()%3A%20int%3B-_read_end()%3A%20int%3B-_read(bytes_to_read%3A%20int)%3A%20bytearray%3B-_read_bulk(address%3A%20int%2C%20bytes_to_read%3A%20int%2Cregister_address%3A%20int)%3A%20bytearray%5D%2C%20%5BI2C_Master%7C%2B__init__(device%3A%20SerialHandler)%3B%2Bconfigure(frequency%3A%20float)%3B%2Bscan()%3A%20list_of_int%5D%2C%20%5BI2C_Slave%7C-_device%3A%20SerialHandler%7C%2B__init__(address%3A%20int%2Cdevice%3A%20SerialHandler)%3B%2Bping()%3A%20bool%3B%2Bread(bytes_to_read%3A%20int%2C%20reg_addr%3A%20int)%3A%20bytearray%3B%2Bread_byte(reg_addr%3A%20int)%3A%20int%3B%2Bread_int(reg_addr%3A%20int)%3A%20int%3B%2Bread_long(reg_addr%3A%20int)%3A%20int%3B%2Bwrite(bytes_to_write%3A%20bytearray%2C%20reg_addr%3A%20int)%3B%2Bwrite_byte(data%3A%20int%2C%20reg_addr%3A%20int)%3B%2Bwrite_int(data%3A%20int%2C%20reg_addr%3A%20int)%3B%2Bwrite_long(data%3A%20int%2C%20reg_addr%3A%20int)%5D)