![]() |
Petaluma (MAXREFDES30#) Code Documentation
V01.00
16-Bit, 8-Ch, +/-10V input, Simultaneous-Sampling Analog Front End
|
#include <stdio.h>#include "platform.h"#include "xparameters.h"#include "utilities.h"#include "string.h"#include "MAXREFDES30.h"#include "maximDeviceSpecificUtilities.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. | |
| u8 | menu_retrieve_keypress (u32 nUartAddress) |
| Get a single keypress via Hyperterminal. | |
| void | menu_print_main_menu () |
| Print the main menu listing choice of module to test. | |
| void | menu_print_channel_menu () |
| void | menu_print_sample_rate_menu () |
| Print a menu listing sample speed choices. | |
| void | menu_print_sample_size_menu () |
| Print a menu listing sample size choices. | |
Project: Petaluma (MAXREFDES30#)
Filename: menu.c
Description: This module contains all the functions used to
generate the menus and menu options used to run the
MAXREFDES30# example firmware.
Revision History:
09-20-13 Rev 01.00 GL 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 | ( | ) |
| void menu_print_line | ( | ) |
| void menu_print_main_menu | ( | ) |
| void menu_print_maxim_banner | ( | ) |
| void menu_print_maxim_banner_big | ( | ) |
| void menu_print_prompt | ( | ) |
| void menu_print_sample_rate_menu | ( | ) |
| void menu_print_sample_size_menu | ( | ) |
| u8 menu_retrieve_keypress | ( | u32 | nUartAddress | ) |
Get a single keypress via Hyperterminal.
| [in] | nUartAddress | - address of the UART peripheral in MicroBlaze memory map |
| Character,partially | decoded. |