Microchip® Advanced Software Framework

ui.c File Reference

User Interface.

Copyright (c) 2015-2018 Microchip Technology Inc. and its subsidiaries.

#include <asf.h>
#include "ui.h"
#include "ieee11073_skeleton.h"

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

Referenced by main().

void ui_init ( void  )

References LED_Off.

Referenced by main().

void ui_powerdown ( void  )

References 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 GPIO_PUSH_BUTTON_1, ieee11073_skeleton_send_measure_1(), ioport_get_pin_level(), LED_Off, and LED_On.

Referenced by main_sof_action().

void ui_wakeup ( void  )

References LED_On.

Referenced by main_resume_action().