Microchip® Advanced Software Framework

adp_window.h File Reference

ADP window configuration.

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

Macros

#define DASHBOARD_CON_LABEL   "Control Dashboard"
 
#define DASHBOARD_DIS_LABEL   "Light Sensor Example Dashboard"
 
#define DASHBOARD_ID_CONTROL   0x01
 
#define DASHBOARD_ID_LIGHT_SENSOR   0x00
 Dashboard and elements defines. More...
 
#define GRAPH_LABEL   "Light Sensor Output"
 
#define STREAM_ID_HYST_HIGH   0x10
 
#define STREAM_ID_HYST_LOW   0x11
 
#define STREAM_ID_LED_TOGGLE   0x30
 
#define STREAM_ID_LIGHT_SENSOR   0x01
 
#define STREAM_ID_LIGHT_SENSOR_ADC   0x02
 
#define STREAM_ID_NIGHT_MODE   0x29
 
#define STREAM_ID_STATUS_MESSAGE   0x00
 Stream number defines. More...
 
#define TERMINAL_LABEL   "Status terminal"
 

Enumerations

enum  adp_example_element_id {
  ELEMENT_ID_LABEL_TITEL,
  ELEMENT_ID_LABEL_VALUE_VOL,
  ELEMENT_ID_LABEL_NIGHT_LIGHT,
  ELEMENT_ID_LABEL_LED_CONTROL,
  ELEMENT_ID_BAR,
  ELEMENT_ID_SIGNAL,
  ELEMENT_ID_BUTTON,
  ELEMENT_ID_GRAPH,
  ELEMENT_ID_LABEL_HYSTERESIS,
  ELEMENT_ID_LABEL_LOW,
  ELEMENT_ID_LABEL_HIGH,
  ELEMENT_ID_LABEL_VALUE_ADC,
  ELEMENT_ID_SLIDER_LOW,
  ELEMENT_ID_SLIDER_HIGH,
  ELEMENT_ID_SEGMENT
}
 

Functions

void adp_window_init (void)
 

Variables

struct adp_msg_conf_terminal terminal_config
 

#define DASHBOARD_CON_LABEL   "Control Dashboard"
#define DASHBOARD_DIS_LABEL   "Light Sensor Example Dashboard"
#define DASHBOARD_ID_LIGHT_SENSOR   0x00
#define GRAPH_LABEL   "Light Sensor Output"
#define STREAM_ID_HYST_HIGH   0x10
#define STREAM_ID_HYST_LOW   0x11
#define STREAM_ID_LED_TOGGLE   0x30
#define STREAM_ID_LIGHT_SENSOR   0x01
#define STREAM_ID_LIGHT_SENSOR_ADC   0x02
#define STREAM_ID_NIGHT_MODE   0x29
#define STREAM_ID_STATUS_MESSAGE   0x00

Stream number defines.

Referenced by adp_window_add_terminal(), and transceive_data().

#define TERMINAL_LABEL   "Status terminal"

Enumerator
ELEMENT_ID_LABEL_TITEL 
ELEMENT_ID_LABEL_VALUE_VOL 
ELEMENT_ID_LABEL_NIGHT_LIGHT 
ELEMENT_ID_LABEL_LED_CONTROL 
ELEMENT_ID_BAR 
ELEMENT_ID_SIGNAL 
ELEMENT_ID_BUTTON 
ELEMENT_ID_GRAPH 
ELEMENT_ID_LABEL_HYSTERESIS 
ELEMENT_ID_LABEL_LOW 
ELEMENT_ID_LABEL_HIGH 
ELEMENT_ID_LABEL_VALUE_ADC 
ELEMENT_ID_SLIDER_LOW 
ELEMENT_ID_SLIDER_HIGH 
ELEMENT_ID_SEGMENT 

struct adp_msg_conf_terminal terminal_config