This file is indexed.

/usr/include/lime/FPGA_common.h is in liblimesuite-dev 17.12.0+dfsg-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/**
@file FPGA_common.h
@author Lime Microsystems
@brief Common functions used to work with FPGA
*/

#ifndef FPGA_COMMON_H
#define FPGA_COMMON_H
#include "IConnection.h"
#include <stdint.h>
#include "dataTypes.h"

namespace lime
{
namespace fpga
{
    int StartStreaming(IConnection* serPort);
    int StopStreaming(IConnection* serPort);
    int ResetTimestamp(IConnection* serPort);

struct FPGA_PLL_clock
{
    FPGA_PLL_clock()
    {
       findPhase = false;
       bypass = false;
       phaseShift_deg = 0;
       index = 0;
    }
    double outFrequency;
    double phaseShift_deg;
    uint8_t index;
    bool bypass;
    bool findPhase;
    double rd_actualFrequency;
};

int SetPllFrequency(IConnection* serPort, const uint8_t pllIndex, const double inputFreq, FPGA_PLL_clock* outputs, const uint8_t clockCount);
int SetDirectClocking(IConnection* serPort, uint8_t clockIndex, const double inputFreq, const double phaseShift_deg);

int FPGAPacketPayload2Samples(const uint8_t* buffer, int bufLen, bool mimo, bool compressed, complex16_t** samples);
int Samples2FPGAPacketPayload(const complex16_t* const* samples, int samplesCount, bool mimo, bool compressed, uint8_t* buffer);
}

}
#endif // FPGA_COMMON_H