]> sigrok.org Git - sigrok-firmware-fx2lafw.git/blobdiff - include/gpif-acquisition.h
Set PA7 to high, to select analog mode.
[sigrok-firmware-fx2lafw.git] / include / gpif-acquisition.h
index 6ccdc616b322781a7271f2d886e83d392028b37c..7b55b83b068ad94c749a5d7e39c9bdb11a5c36d7 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * This file is part of the fx2lafw project.
+ * This file is part of the sigrok-firmware-fx2lafw project.
  *
  * Copyright (C) 2012 Joel Holdsworth <joel@airwebreathe.org.uk>
  *
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 
+#ifndef FX2LAFW_INCLUDE_GPIF_ACQUISITION_H
+#define FX2LAFW_INCLUDE_GPIF_ACQUISITION_H
+
+#include <stdbool.h>
+#include <command.h>
+
 void gpif_init_la(void);
+bool gpif_acquisition_start(const struct cmd_start_acquisition *cmd);
+void gpif_poll(void);
 
-void gpif_acquisition_start(void);
+#endif