Go to the source code of this file.
◆ get_voltage_code()
static uint16_t get_voltage_code |
( |
float |
vRef | ) |
|
|
static |
◆ get_voltage_float()
static float get_voltage_float |
( |
| ) |
|
|
static |
◆ loop()
static void loop |
( |
void |
| ) |
|
|
static |
◆ menu_10_set_gain()
static uint8_t menu_10_set_gain |
( |
| ) |
|
|
static |
◆ menu_11_assert_soft_reset()
static uint8_t menu_11_assert_soft_reset |
( |
| ) |
|
|
static |
◆ menu_12_assert_hard_reset()
static uint8_t menu_12_assert_hard_reset |
( |
| ) |
|
|
static |
◆ menu_1_select_dac()
static uint8_t menu_1_select_dac |
( |
uint8_t * |
selected_dac | ) |
|
|
static |
◆ menu_2_write_to_input_register()
static uint8_t menu_2_write_to_input_register |
( |
uint8_t |
selected_dac, |
|
|
float |
vref |
|
) |
| |
|
static |
Menu 2: Write to input register only.
Does not update the output voltage.
- Returns
- Returns the state of the acknowledge bit after the I2C address write. 0=acknowledge, 1=no acknowledge.
- Parameters
-
vref | DAC to be updated. 0=A, 1=B, 2=All |
Definition at line 294 of file EVAL-AD5696R.ino.
◆ menu_3_update_dac()
static uint8_t menu_3_update_dac |
( |
uint8_t |
selected_dac | ) |
|
|
static |
◆ menu_4_write_and_update_dac()
static uint8_t menu_4_write_and_update_dac |
( |
uint8_t |
selected_dac, |
|
|
float |
vref |
|
) |
| |
|
static |
- Parameters
-
vref | DAC to be updated. 0=A, 1=B, 2=All |
Definition at line 316 of file EVAL-AD5696R.ino.
◆ menu_5_set_DAC_power_mode()
static uint8_t menu_5_set_DAC_power_mode |
( |
uint8_t |
selected_dac | ) |
|
|
static |
◆ menu_6_select_ref_voltage()
static uint8_t menu_6_select_ref_voltage |
( |
float * |
vref | ) |
|
|
static |
◆ menu_7_read_back_dac_input_registers()
static uint8_t menu_7_read_back_dac_input_registers |
( |
| ) |
|
|
static |
◆ menu_8_set_ldac_mask()
static uint8_t menu_8_set_ldac_mask |
( |
| ) |
|
|
static |
◆ menu_9_assert_ldac()
static uint8_t menu_9_assert_ldac |
( |
| ) |
|
|
static |
◆ print_prompt()
static void print_prompt |
( |
uint8_t |
selected_dac, |
|
|
float |
ref_voltage |
|
) |
| |
|
static |
- Parameters
-
ref_voltage | this parameter is passed so that it can be printed at the bottom of the menu. |
Definition at line 231 of file EVAL-AD5696R.ino.
◆ print_title()
static void print_title |
( |
void |
| ) |
|
|
static |
◆ setup()
static void setup |
( |
void |
| ) |
|
|
static |
◆ voltage_to_code()
static uint16_t voltage_to_code |
( |
float |
voltage, |
|
|
float |
vRef |
|
) |
| |
|
static |
◆ connected
◆ dac_selection
const String dac_selection[4] |
◆ device
◆ gpio_gain
◆ i2c_params
◆ init_params
ad5686_init_param init_params |
Initial value:=
{
4,
5,
ID_AD5696R,
}
spi_init_param spi_params
i2c_init_param i2c_params
Definition at line 82 of file EVAL-AD5696R.ino.
◆ spi_params