precision-converters-firmware
Functions | Variables
ltc268x_console_app.c File Reference

ltc268x console application interfaces More...

#include <stdio.h>
#include <string.h>
#include <stdbool.h>
#include "app_config.h"
#include "ltc268x_console_app.h"
#include "ltc268x_user_config.h"
#include "ltc268x.h"
#include "no_os_error.h"
Include dependency graph for ltc268x_console_app.c:

Functions

int32_t ltc268x_app_initialize (void)
 Initialize the ltc268x device and user configurations. More...
 

Variables

console_menu ltc268x_channel_select_menu
 
console_menu ltc268x_power_select_menu
 
console_menu ltc268x_dither_toggle_set_menu
 
console_menu ltc268x_span_select_menu
 
console_menu ltc268x_dither_phase_select_menu
 
console_menu ltc268x_dither_period_select_menu
 
console_menu ltc268x_dither_clock_select_menu
 
console_menu ltc268x_dac_configurations_menu
 
console_menu ltc268x_dac_data_operations_menu
 
console_menu ltc268x_set_input_register_menu
 
console_menu ltc268x_clock_select_menu
 
console_menu ltc268x_main_menu
 

Detailed Description

ltc268x console application interfaces

This file is specific to ltc268x console menu application handle. The functions defined in this file performs the action based on user selected console menu.

Copyright (c) 2022 Analog Devices, Inc.

All rights reserved.

This software is proprietary to Analog Devices, Inc. and its licensor's. By using this software you agree to the terms of the associated Analog Devices Software License Agreement.

Function Documentation

◆ ltc268x_app_initialize()

int32_t ltc268x_app_initialize ( void  )

Initialize the ltc268x device and user configurations.

Returns
ltc268x device initialization status
Here is the caller graph for this function:

Variable Documentation

◆ ltc268x_channel_select_menu

console_menu ltc268x_channel_select_menu

◆ ltc268x_clock_select_menu

console_menu ltc268x_clock_select_menu
Initial value:
= {
.title = EOL "Command Summary : " EOL,
.items = ltc268x_clock_select_menu_items,
.itemCount = NO_OS_ARRAY_SIZE(ltc268x_clock_select_menu_items),
.headerItem = dac_settings_header,
.footerItem = error_status_footer,
.enableEscapeKey = false
}
#define EOL
Definition: app_config.h:47

◆ ltc268x_dac_configurations_menu

console_menu ltc268x_dac_configurations_menu
Initial value:
= {
.title = EOL "Command Summary : " EOL,
.items = ltc268x_dac_configurations_menu_item,
.itemCount = NO_OS_ARRAY_SIZE(ltc268x_dac_configurations_menu_item),
.headerItem = dac_settings_header,
.footerItem = NULL,
.enableEscapeKey = true
}

◆ ltc268x_dac_data_operations_menu

console_menu ltc268x_dac_data_operations_menu
Initial value:
= {
.title = EOL "Command Summary : " EOL,
.items = ltc268x_dac_data_operations_menu_items,
.itemCount = NO_OS_ARRAY_SIZE(ltc268x_dac_data_operations_menu_items),
.headerItem = dac_settings_header,
.footerItem = NULL,
.enableEscapeKey = true
}

◆ ltc268x_dither_clock_select_menu

console_menu ltc268x_dither_clock_select_menu

◆ ltc268x_dither_period_select_menu

console_menu ltc268x_dither_period_select_menu
Initial value:
= {
.title = EOL "Command Summary : " EOL,
.items = ltc268x_dither_period_select_menu_items,
.itemCount = NO_OS_ARRAY_SIZE(ltc268x_dither_period_select_menu_items),
.headerItem = dac_settings_header,
.footerItem = error_status_footer,
.enableEscapeKey = false
}

◆ ltc268x_dither_phase_select_menu

console_menu ltc268x_dither_phase_select_menu
Initial value:
= {
.title = EOL "Command Summary : " EOL,
.items = ltc268x_dither_phase_select_menu_items,
.itemCount = NO_OS_ARRAY_SIZE(ltc268x_dither_phase_select_menu_items),
.headerItem = dac_settings_header,
.footerItem = error_status_footer,
.enableEscapeKey = false
}

◆ ltc268x_dither_toggle_set_menu

console_menu ltc268x_dither_toggle_set_menu
Initial value:
= {
.title = EOL "Command Summary : " EOL,
.items = ltc268x_dither_toggle_set_menu_items,
.itemCount = NO_OS_ARRAY_SIZE(ltc268x_dither_toggle_set_menu_items),
.headerItem = dac_settings_header,
.footerItem = error_status_footer,
.enableEscapeKey = true
}

◆ ltc268x_main_menu

console_menu ltc268x_main_menu
Initial value:
= {
.title = EOL "Command Summary : " EOL,
.items = ltc268x_main_menu_items,
.itemCount = NO_OS_ARRAY_SIZE(ltc268x_main_menu_items),
.headerItem = print_title,
.footerItem = NULL,
.enableEscapeKey = false
}

◆ ltc268x_power_select_menu

console_menu ltc268x_power_select_menu
Initial value:
= {
.title = EOL "Command Summary : " EOL,
.items = ltc268x_power_select_menu_items,
.itemCount = NO_OS_ARRAY_SIZE(ltc268x_power_select_menu_items),
.headerItem = dac_settings_header,
.footerItem = error_status_footer,
.enableEscapeKey = true
}

◆ ltc268x_set_input_register_menu

console_menu ltc268x_set_input_register_menu
Initial value:
= {
.title = EOL "Command Summary : " EOL,
.items = ltc268x_set_input_register_menu_items,
.itemCount = NO_OS_ARRAY_SIZE(ltc268x_set_input_register_menu_items),
.headerItem = dac_settings_header,
.footerItem = error_status_footer,
.enableEscapeKey = true
}

◆ ltc268x_span_select_menu

console_menu ltc268x_span_select_menu
Initial value:
= {
.title = EOL "Command Summary : " EOL,
.items = ltc268x_span_select_menu_items,
.itemCount = NO_OS_ARRAY_SIZE(ltc268x_span_select_menu_items),
.headerItem = dac_settings_header,
.footerItem = error_status_footer,
.enableEscapeKey = true
}