Sc551A_Reg_Write; Sc551A_Reg_Read; Sc5511A_Set_Frequency - SIGNALCORE SC5511A Operating & Programming Manual

100 mhz to 20 ghz rf signal source
Table of Contents

Advertisement

Function:
sc5511a_reg_write
Definition:
int
sc5511a_reg_write
Input:
sc5511a_device_handle_t
unsigned char
unsigned long long int
Description:
sc5511a_reg_write writes the instruct_word data to the register specified by the
reg_byte. See the register maps for more information.
Example:
To set the power level to 2.00 dBm:
int
status = sc5511a_reg_write(dev_handle, RF_POWER, 200);
Function:
sc5511a_reg_read
Definition:
int
sc5511a_reg_read
Input:
sc5511a_device_handle_t
unsigned char
unsigned long long int
unsigned long long int
Description:
sc5511a_reg_read reads the data requested by the instruct_word data to the register
specified by the reg_byte. Data is returned on received_word See the register maps for
more information.
Example:
To read the status of the device:
unsigned long long int
int
status = sc5511a_reg_read(dev_handle, GET_DEVICE_STATUS, 0x00, &frequency);
Function:
sc5511a_set_freq
Definition:
int

sc5511a_set_frequency

Input:
sc5511a_device_handle_t
unsigned long long int
Description:
sc5511a_set_frequency sets RF1 frequency.
SC5511A User Manual
(sc5511a_device_handle_t
dev_handle
*
reg_byte
instruct_word
(sc5511a_device_handle_t
unsigned long long int
*dev_handle
reg_byte
instruct_word
*received_word
frequency;
(sc5511a_device_handle_t
*dev_handle
frequency
Rev 1.7.0
dev_handle,
*
unsigned char
unsigned long long int
(handle to the opened device)
(the data for the register)
dev_handle,
*
unsigned char
instruct_word,
unsigned int
(handle to the opened device)
(The address byte of the register to write to)
(the data for the register)
dev_handle,
*
unsigned long long int
(handle to the opened device)
reg_byte,
instruct_word)
(register address)
reg_byte,
*receivedWord)
(data to be received)
freq)
(frequency in Hz)
30

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SC5511A and is the answer not in the manual?

Table of Contents