LED, Button and terminal print functions - Performance Analyzer application.
Copyright (c) 2013-2018 Microchip Technology Inc. and its subsidiaries.
Macros | |
#define | COUNT_FOR_VALID_KEY_PRESS (20) |
This defines the count to detect a valid key press. More... | |
#define | LED_ON_DURAION_MICRO_SEC (100000) |
This defines the LED on duration. More... | |
Functions | |
static void | app_switch_off_rx_led_cb (void *parameter) |
Callback function switching off the RX_LED. More... | |
static void | app_switch_off_tx_led_cb (void *parameter) |
Callback function switching off the TX_LED. More... | |
PRINT EVENTS | |
bool | app_debounce_button (void) |
Button debounce routine. More... | |
bool | button_pressed (void) |
Determine if button is pressed. More... | |
void | app_led_event (led_event_t ev) |
Turns LEDs on / off to indicate specific events. More... | |
void | print_event (print_event_t ev) |
Print various messages from the table as per the event notified. More... | |
Variables | |
print_event_msg_t | print_event_table [NUM_MAX_PRINT_EVENTS] |
This table holds the Messages to be printed on the UART Terminal at each event. More... | |