structsI2C_Primitive
I2C_Primitive
-_device: SerialHandler
+__init__(device: SerialHandler)
-_start(address: int, mode: int): int
-_restart(address: int, mode: int): int
-_stop()
-_wait()
-_status(): int
-_configure(brgval: int)
-_send_byte(value: byte): int
-_send_byte_burst(value: byte)
-_send(bytes_to_write: bytearray)
-_write_bulk(bytes_to_write: bytearray,register_address: int)
-_read_more(): byte
-_read_end(): byte
-_read(bytes_to_read: int): bytearray
-_read_bulk(bytes_to_read: int,register_address: int): bytearray
-_enable_SMBus()
-_disable_SMBus()
-_suspend(delay: int) # PULLDOWN_SCL
I2C_Master
I2C_Master
-_device: SerialHandler
+__init__(device: SerialHandler)
+configure(frequency: float)
+scan(): list_of_int
I2C_Primitive->I2C_Master
I2C_Slave
I2C_Slave
-_device: SerialHandler
+__init__(address: int,device: SerialHandler)
+ping(): bool
+read(bytes_to_read: int, reg_addr: int): bytearray
+read_byte(reg_addr: int): int
+read_int(reg_addr: int): int
+read_long(reg_addr: int): int
+write(bytes_to_write: bytearray, reg_addr: int)
+write_byte(data: int, reg_addr: int)
+write_int(data: int, reg_addr: int)
+write_long(data: int, reg_addr: int)
I2C_Primitive->I2C_Slave
CREATED WITH YUML