diff --git a/include/ad9915.h b/include/ad9915.h index e092a11..569dcdc 100644 --- a/include/ad9915.h +++ b/include/ad9915.h @@ -36,15 +36,15 @@ static const char PA0Address = 0x0c; //profile 0 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 -void Send_Reset(int f_dds); -void Send_IO_Update (int f_dds); //Send the update to set the control registers -void write_register (int fd, unsigned char addr, unsigned char d3, unsigned char d2, unsigned char d1, unsigned char d0); -void read_register (int fd, unsigned char addr, uint32_t *readword); -void read_register_ini (int fd,unsigned char addr); -void Initialize_DDS (int fd, int f_dds); -void Calibrate_DAC(int fd, int f_dds); -void basic_setup(int fd, int f_dds, uint16_t ampWord, uint16_t phaseWord); -void modulus_setup(int fd, int f_dds); +void sendReset(int f_dds); +void sendIOUpdate (int f_dds); //Send the update to set the control registers +void writeRegister (int fd, unsigned char addr, unsigned char d3, unsigned char d2, unsigned char d1, unsigned char d0); +void readRegister (int fd, unsigned char addr, uint32_t *readword); +void readRegister_ini (int fd,unsigned char addr); +void initializeDDS (int fd, int f_dds); +void calibrateDAC(int fd, int f_dds); +void basicSetup(int fd, int f_dds, uint16_t ampWord, uint16_t phaseWord); +void modulusSetup(int fd, int f_dds); void setFreqMM(int fd, int f_dds, unsigned int ftw, unsigned int A, unsigned int B); void setAmpPhaseWord(int fd, int f_dds,unsigned int phaseAmpWord); void checkSize(void);