Microchip® Advanced Software Framework

ui.h File Reference

Common User Interface for PHDC application.

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)
 

void ui_association ( bool  state)

Calls to display the new association state.

Parameters
statePHDC association is done, if true

References associated.

Referenced by main().

void ui_init ( void  )

References LED_0_PIN, and LED_Off.

Referenced by main().

void ui_powerdown ( void  )

References LED_0_PIN, and LED_Off.

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.

Parameters
framenumberCurrent frame number

References associated, BUTTON_0_PIN, ieee11073_skeleton_send_measure_1(), LED_0_PIN, LED_Off, LED_On, and port_pin_get_input_level().

Referenced by main_sof_action().

void ui_wakeup ( void  )

References LED_0_PIN, and LED_On.

Referenced by main_resume_action().