checkpoint
[slipway.git] / src / com / atmel / fpslic / Chip.java
1 package com.atmel.fpslic;
2
3 import com.ftdi.usb.*;
4 import java.io.*;
5
6 public interface Chip {
7     
8     public void    doReset() throws IOException;
9     public void    reset(boolean on) throws IOException;
10     public void    avrrst(boolean on) throws IOException;
11     public void    config(boolean bit) throws IOException;
12     public void    config(int data, int numbits) throws IOException;
13     public boolean initErr() throws IOException;
14
15     public void    con(boolean b) throws IOException;
16     public boolean con() throws IOException;
17     public boolean rcon() throws IOException;
18
19     //remove
20     public void    flush() throws IOException;
21     public InputStream getInputStream();
22     public OutputStream getOutputStream();
23     public void selfTest() throws Exception;
24     public OutputStream getConfigStream() throws IOException;
25
26 }