po_hi_driver_xc4v_fpga.h 804 Bytes
Newer Older
jhugues's avatar
jhugues committed
1 2 3 4 5
/*
 * This is a part of PolyORB-HI-C distribution, a minimal
 * middleware written for generated code from AADL models.
 * You should use it with the Ocarina toolsuite.
 *
yoogx's avatar
yoogx committed
6
 * For more informations, please visit http://taste.tuxfamily.org/wiki
jhugues's avatar
jhugues committed
7
 *
yoogx's avatar
yoogx committed
8
 * Copyright (C) 2012-2014 ESA & ISAE.
jhugues's avatar
jhugues committed
9 10
 */

11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
#include <deployment.h>

#ifdef __PO_HI_NEED_DRIVER_XC4V_FPGA

int __po_hi_driver_xc4v_fpga_initialize ();
/*
 * Return 1 if success, 0 otherwise
 */

unsigned __po_hi_driver_xc4v_fpga_read_register (unsigned offset);
/*
 * Read a register in the FPGA at offset position.
 * Returns the value of the register.
 */

void __po_hi_driver_xc4v_fpga_write_register (unsigned offset, unsigned value);
/*
 * Write the register at offset with the value value in parameters.
 */

#endif /* __PO_HI_NEED_DRIVER_XC4V_FPGA */