User Interface.
Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.
Functions | |
void | ui_association (bool state) |
Calls to display the new association state. More... | |
void | ui_init (void) |
void | ui_powerdown (void) |
void | ui_process (uint16_t framenumber) |
This process is called each 1ms It is called only if the USB interface is enabled. More... | |
void | ui_wakeup (void) |
Variables | |
static bool | associated = false |
void ui_association | ( | bool | state | ) |
Calls to display the new association state.
state | PHDC association is done, if true |
References associated.
Referenced by main().
void ui_powerdown | ( | void | ) |
Referenced by main(), and main_suspend_action().
void ui_process | ( | uint16_t | framenumber | ) |
This process is called each 1ms It is called only if the USB interface is enabled.
framenumber | Current frame number |
References associated, GPIO_PUSH_BUTTON_0, ieee11073_skeleton_send_measure_1(), ioport_get_pin_level(), LED0, LED_Off, and LED_On.
Referenced by main_sof_action().
void ui_wakeup | ( | void | ) |
Referenced by main_resume_action().
Referenced by ui_association(), and ui_process().