mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-20 16:48:01 +02:00
format slsdetectorservers
This commit is contained in:
8
slsDetectorServers/slsDetectorServer/include/programFpgaBlackfin.h
Executable file → Normal file
8
slsDetectorServers/slsDetectorServer/include/programFpgaBlackfin.h
Executable file → Normal file
@ -1,7 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
|
||||
/**
|
||||
* Define GPIO pins if not defined
|
||||
@ -34,14 +34,14 @@ void eraseFlash();
|
||||
* @param filefp pointer to flash
|
||||
* @return 0 for success, 1 for fail (cannot open file for writing program)
|
||||
*/
|
||||
int startWritingFPGAprogram(FILE** filefp);
|
||||
int startWritingFPGAprogram(FILE **filefp);
|
||||
|
||||
/**
|
||||
* When done writing the program, close file pointer and
|
||||
* notify FPGA to pick up the program from flash
|
||||
* @param filefp pointer to flash
|
||||
*/
|
||||
void stopWritingFPGAprogram(FILE* filefp);
|
||||
void stopWritingFPGAprogram(FILE *filefp);
|
||||
|
||||
/**
|
||||
* Write FPGA Program to flash
|
||||
@ -50,4 +50,4 @@ void stopWritingFPGAprogram(FILE* filefp);
|
||||
* @param filefp pointer to flash
|
||||
* @return 0 for success, 1 for fail (cannot write)
|
||||
*/
|
||||
int writeFPGAProgram(char* fpgasrc, uint64_t fsize, FILE* filefp);
|
||||
int writeFPGAProgram(char *fpgasrc, uint64_t fsize, FILE *filefp);
|
||||
|
Reference in New Issue
Block a user