Commit 6ebbf4da4db915526ce2769ba22971f1c2c32455

Authored by bachi
1 parent 41fb442f69
Exists in master

ad9915.h : normalisation totales des noms de fonctions

Showing 1 changed file with 9 additions and 9 deletions Side-by-side Diff

... ... @@ -36,15 +36,15 @@
36 36 static const char DACCalEnable[] = {0x01, 0x05, 0x21, 0x20}; //Command to enable the DAC Cal, should be 0x01XXXXXX, where X is the last 6 digits of CFR4Start
37 37  
38 38  
39   -void Send_Reset(int f_dds);
40   -void Send_IO_Update (int f_dds); //Send the update to set the control registers
41   -void write_register (int fd, unsigned char addr, unsigned char d3, unsigned char d2, unsigned char d1, unsigned char d0);
42   -void read_register (int fd, unsigned char addr, uint32_t *readword);
43   -void read_register_ini (int fd,unsigned char addr);
44   -void Initialize_DDS (int fd, int f_dds);
45   -void Calibrate_DAC(int fd, int f_dds);
46   -void basic_setup(int fd, int f_dds, uint16_t ampWord, uint16_t phaseWord);
47   -void modulus_setup(int fd, int f_dds);
  39 +void sendReset(int f_dds);
  40 +void sendIOUpdate (int f_dds); //Send the update to set the control registers
  41 +void writeRegister (int fd, unsigned char addr, unsigned char d3, unsigned char d2, unsigned char d1, unsigned char d0);
  42 +void readRegister (int fd, unsigned char addr, uint32_t *readword);
  43 +void readRegister_ini (int fd,unsigned char addr);
  44 +void initializeDDS (int fd, int f_dds);
  45 +void calibrateDAC(int fd, int f_dds);
  46 +void basicSetup(int fd, int f_dds, uint16_t ampWord, uint16_t phaseWord);
  47 +void modulusSetup(int fd, int f_dds);
48 48 void setFreqMM(int fd, int f_dds, unsigned int ftw, unsigned int A, unsigned int B);
49 49 void setAmpPhaseWord(int fd, int f_dds,unsigned int phaseAmpWord);
50 50 void checkSize(void);