UartBus source documentation
UbbFlashFunctions.java
1 package eu.javaexperience.electronic.uartbus.rpc.client.device.fns.ubb;
2 
6 import eu.javaexperience.nativ.posix.PosixErrnoException;
7 
8 public interface UbbFlashFunctions extends UbDeviceNs
9 {
11  @UbIndex(ns=0)
12  public byte getFlashStage() throws PosixErrnoException;
13 
14  @UbIndex(ns=1)
15  public void getStartFlash() throws PosixErrnoException;
16 
18  @UbIndex(ns=2)
19  public short getNextAddress();
20 
21  @UbIndex(ns=3)
22  public short pushCode(short startAddress, byte[] data) throws PosixErrnoException;
23 
24  @UbIndex(ns=4)
25  public void commitFlash() throws PosixErrnoException;
26 }