Microchip® Advanced Software Framework

2/src/user_interface.c File Reference
#include "tal.h"
#include "asf.h"
#include "app_init.h"
#include "user_interface.h"

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

bool button_pressed (void)
 Determine if button is pressed. More...
 
PRINT EVENTS
bool app_debounce_button (void)
 Button debounce routine. More...
 
void app_led_event (led_event_t ev)
 Turns LEDs on / off to indicate specific events. More...
 
PRINT EVENTS
void print_event (trx_id_t trx, 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...