xyControl
0.1
Quadrotor Flight Controller on AVR Basis
|
UART Menu API Implementation. More...
#include <avr/io.h>
#include <stdint.h>
#include <stdlib.h>
#include <stdio.h>
#include <avr/pgmspace.h>
#include <xycontrol.h>
#include <xmem.h>
#include <tasks.h>
#include <serial.h>
#include <uartMenu.h>
Go to the source code of this file.
Functions | |
MenuEntry * | findEntry (uint8_t cmd) |
Search the uartMenu Linked List. More... | |
uint8_t | addMenuCommand (uint8_t cmd, PGM_P help, Task f) |
Add a command to the UART Menu. More... | |
MenuEntry * | reverseList (MenuEntry *root) |
Reverse the UART Menu List. More... | |
void | uartMenuPrintHelp (void) |
Print all registered commands. More... | |
void | uartMenuRegisterHandler (void(*handler)(char)) |
Register a Handler for unhandled menu commands. More... | |
void | uartMenuTask (void) |
Task to work the UART Menu. More... | |
Variables | |
MenuEntry * | uartMenu = NULL |
Single-Linked-List for commands. More... | |
void(* | unHandler )(char) = NULL |
Handler for unhandled commands. More... | |
UART Menu API Implementation.
Definition in file uartMenu.c.