Commit ee270822dd986af5a31aaff3d1e029792eaedca1

Authored by bmarechal
1 parent 2fb9efd6c6
Exists in master

move to fpga_lib repo

Showing 1 changed file with 0 additions and 34 deletions Inline Diff

redpitaya/server/liboscimp_fpga.py
import ctypes 1 File was deleted
lib = ctypes.CDLL('/usr/lib/liboscimp_fpga.so') 2
3
def add_const_set_offset(device, offset): 4
lib.add_const_set_offset(device, offset) 5
6
def nco_counter_send_conf(device, freq_ref, freq_dds, acc_size, offset, pinc_sw, poff_sw): 7
lib.nco_counter_send_conf(device, freq_ref, freq_dds, acc_size, offset, pinc_sw, poff_sw) 8
9
def fir16bits_send_conf(device, fileCoeff, coeffSize): 10
lib.fir16bits_send_conf(device, fileCoeff, coeffSize) 11
12
'''~ 13
def fpga_send(fpga_dev, registre, value): 14
lib.fpga_send(fpga_dev, registre, value) 15
16
def fpga_read(fpga_dev, registre): 17
lib.fpga_read(fpga_dev, registre) 18
19
def fpga_read32(fpga_dev, registre): 20
lib.fpga_read32(fpga_dev, registre) 21
22
def fpga_close(fpga_device): 23
lib.fpga_close(fpga_dev) 24
25