![]() |
Linduino
1.3.0
Linear Technology Arduino-Compatible Demonstration Board
|
Library for LTC5566: Dual Programmable Gain Downconverting Mixer. More...
Library for LTC5566: Dual Programmable Gain Downconverting Mixer.
Definition in file LTC5566.cpp.
Go to the source code of this file.
Functions | |
void | LTC5566_write (uint8_t cs, uint16_t tx, uint16_t *rx) |
Writes to the LTC5566 twice and reads back the last two bytes to make sure the LTC5566 was loaded properly. More... | |
uint8_t | LTC5566_dupl_settings () |
Function to duplicate settings for both LTC5566 channels. More... | |
uint16_t | LTC5566_diff_settings () |
Function to apply unique settings for each LTC5566 channel. More... | |
uint8_t | LTC5566_get_power_mode (char *prompt) |
Function to get data from user for power mode. More... | |
uint8_t | LTC5566_get_tune_mode (char *prompt) |
Function to get data from user for RF input tune mode. More... | |
uint8_t | LTC5566_get_att (char *prompt) |
Function to get data from user for IF attenuation. More... | |
void | LTC5566_decode_output (uint8_t output_register) |
Decode the register value read from the LTC5555. More... | |
Variables | |
uint8_t | mixer_1_value |
uint8_t | mixer_2_value |
uint16_t | whole_register |
uint16_t | full_output |
uint8_t | mixer_1_output |
uint8_t | mixer_2_output |
void LTC5566_decode_output | ( | uint8_t | output | ) |
Decode the register value read from the LTC5555.
output_register | Raw output from the LTC5566 to decode |
Definition at line 372 of file LTC5566.cpp.
uint16_t LTC5566_diff_settings | ( | ) |
Function to apply unique settings for each LTC5566 channel.
Definition at line 143 of file LTC5566.cpp.
uint8_t LTC5566_dupl_settings | ( | ) |
Function to duplicate settings for both LTC5566 channels.
Definition at line 95 of file LTC5566.cpp.
uint8_t LTC5566_get_att | ( | char * | prompt | ) |
Function to get data from user for IF attenuation.
prompt | Prompt to ask for the desired attenuation |
Definition at line 319 of file LTC5566.cpp.
uint8_t LTC5566_get_power_mode | ( | char * | prompt | ) |
Function to get data from user for power mode.
prompt | Prompt to ask for the desired power mode |
Definition at line 221 of file LTC5566.cpp.
uint8_t LTC5566_get_tune_mode | ( | char * | prompt | ) |
Function to get data from user for RF input tune mode.
prompt | Prompt to ask for the desired RF tune mode |
Definition at line 265 of file LTC5566.cpp.
void LTC5566_write | ( | uint8_t | cs, |
uint16_t | tx, | ||
uint16_t * | rx | ||
) |
Writes to the LTC5566 twice and reads back the last two bytes to make sure the LTC5566 was loaded properly.
tx | Chip Select pin |
rx | Word to be transmitted Output pointer |
Definition at line 88 of file LTC5566.cpp.
uint16_t full_output |
Definition at line 78 of file LTC5566.cpp.
uint8_t mixer_1_output |
Definition at line 81 of file LTC5566.cpp.
uint8_t mixer_1_value |
Definition at line 69 of file LTC5566.cpp.
uint8_t mixer_2_output |
Definition at line 84 of file LTC5566.cpp.
uint8_t mixer_2_value |
Definition at line 72 of file LTC5566.cpp.
uint16_t whole_register |
Definition at line 75 of file LTC5566.cpp.