Carmel (MAXREFDES18#) Code Documentation
V01.00
High Accuracy Analog Current/Voltage Output
|
#include <stdio.h>
#include "platform.h"
#include "xgpio.h"
#include "xgpio_l.h"
#include "xparameters.h"
#include "xuartlite.h"
#include "xspi_l.h"
#include "xspi.h"
#include "xiic_l.h"
#include "utilities.h"
#include "string.h"
#include "MAXREFDES18.h"
#include "menu.h"
Go to the source code of this file.
Functions | |
void | menu_cls () |
Function to clear the screen via Hyperterminal. | |
void | menu_print_maxim_banner () |
Print standard Maxim banner at top of Hyperterminal screen. | |
void | menu_print_maxim_banner_big () |
Print large Maxim banner at top of Hyperterminal screen. | |
void | menu_print_prompt () |
Print a standard prompt for keyboard input ">> ". | |
void | menu_print_line () |
Print one line of dashes across the screen via Hyperterminal. | |
unsigned int | menu_get_direct_entry (u32 nUartAddress, int nNumberBits) |
Retrieve keyboard entry of a value via the Hyperterminal connected UART. | |
u8 | menu_retrieve_keypress (u32 nUartAddress) |
Get a single keypress via Hyperterminal. | |
void | menu_print_mode_menu () |
Print the mode menu. | |
void | menu_print_current_range_menu () |
Print the current range menu. | |
void | menu_print_voltage_range_menu () |
Print the voltage range menu. | |
Project: Carmel (MAXREFDES18#) Filename: menu.c Description: This module contains all the functions used to generate the menus and menu options used to run the MAXREFDES18# example firmware.
Revision History:
08-19-13 Rev 01.00 MG Initial Release
This code follows the following naming conventions:
char chPmodValue
char (array) sPmodString[16]
float fPmodValue
int nPmodValue
int (array) anPmodValue[16]
u16 uPmodValue
u16 (array) auPmodValue[16]
u8 uchPmodValue
u8 (array) auchPmodBuffer[16]
unsigned int unPmodValue
int * punPmodValue
Definition in file menu.c.
void menu_cls | ( | ) |
unsigned int menu_get_direct_entry | ( | u32 | nUartAddress, |
int | nNumberBits | ||
) |
Retrieve keyboard entry of a value via the Hyperterminal connected UART.
[in] | nUartAddress | - address of the UART peripheral in the memory map |
[in] | nNumberBits | - number of bits in register populate |
Value | entered |
void menu_print_current_range_menu | ( | ) |
void menu_print_line | ( | ) |
void menu_print_maxim_banner | ( | ) |
void menu_print_maxim_banner_big | ( | ) |
void menu_print_mode_menu | ( | ) |
void menu_print_prompt | ( | ) |
void menu_print_voltage_range_menu | ( | ) |
u8 menu_retrieve_keypress | ( | u32 | nUartAddress | ) |
Get a single keypress via Hyperterminal.
[in] | nUartAddress | - address of the UART peripheral in the memory map |
Character,partially | decoded. |