po_hi_driver_xc4v_fpga.h 515 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#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 */