1 //
2 // Copyright (c) 2010-2020 Antmicro
3 // Copyright (c) 2011-2015 Realtime Embedded
4 //
5 // This file is licensed under the MIT License.
6 // Full license text is available in 'licenses/MIT.txt'.
7 //
8 using System;
9 
10 namespace Antmicro.Renode.Peripherals.I2C
11 {
12     public interface II2CPeripheral : IPeripheral
13     {
Write(byte[] data)14         void Write(byte[] data);
Read(int count = 1)15         byte[] Read(int count = 1);
FinishTransmission()16         void FinishTransmission();
17     }
18 }
19 
20