write()# I2CInterface.write( peripheral: str, register_alias: str, value: int, field: str = '', **kwargs, ) → Command[source]# Write a register (or one of its named fields) on peripheral. With field, performs a thread-safe read-modify-write of just that field (mask, insert, write). Raises ValueError if peripheral is not a register-based device.