ezLCD+103 Driver  0.1
Driver code for the ezLCD+103
 All Files Functions Typedefs Enumerations Groups Pages
ezLCD_103_buttons.h
Go to the documentation of this file.
1 
83 #ifndef EZLCD_BUTTONS_H
84 #define EZLCD_BUTTONS_H
85 /*----------------------------------------------------------------------------*/
86 /* INCLUDES */
87 /*----------------------------------------------------------------------------*/
88 #include "ezLCD_103_common.h"
89 
90 /*----------------------------------------------------------------------------*/
91 /* TYPEDEFS */
92 /*----------------------------------------------------------------------------*/
96 typedef enum { EZLCD_BUTTON_UP = 1,
97  EZLCD_BUTTON_DOWN,
98  EZLCD_BUTTON_DISABLED,
99  EZLCD_BUTTON_INVISIBLE } ezLCD_button_state_t;
100 
104 typedef enum { ezButton = 1,
105  cuButton = 2,
106  calibratedXY = 64} ezLCD_touch_protocol_t;
107 
108 /*----------------------------------------------------------------------------*/
109 /* FUNCTIONS */
110 /*----------------------------------------------------------------------------*/
188  ezLCD_button_state_t state,
189  uint16_t index_up,
190  uint16_t index_down,
191  uint16_t index_disabled,
192  uint16_t x,
193  uint16_t y,
194  uint8_t width,
195  uint8_t height);
196 
216 
237 
254 
270 
285 void ezLCD_all_buttons_up();
286 
315 
316 #endif /* EZLCD_BUTTONS_H */ /* ezLCD_103_buttons */
void ezLCD_set_touch_protocol(ezLCD_touch_protocol_t protocol)
Definition: ezLCD_103_buttons.c:61
void ezLCD_calibrate_screen()
Definition: ezLCD_103_buttons.c:74
uint8_t ezLCD_wait_for_event()
Definition: ezLCD_103_buttons.c:97
unsigned int uint16_t
Definition: ezLCD_103_common.h:92
void ezLCD_all_buttons_up()
Definition: ezLCD_103_buttons.c:86
void ezLCD_set_button_state(uint8_t id, ezLCD_button_state_t state)
Definition: ezLCD_103_buttons.c:67
ezLCD_button_state_t
Definition: ezLCD_103_buttons.h:96
unsigned char uint8_t
Definition: ezLCD_103_common.h:90
void ezLCD_deactivate_all_buttons()
Definition: ezLCD_103_buttons.c:92
void ezLCD_button_define_long(uint8_t id, ezLCD_button_state_t state, uint16_t index_up, uint16_t index_down, uint16_t index_disabled, uint16_t x, uint16_t y, uint8_t width, uint8_t height)
Definition: ezLCD_103_buttons.c:24
Common header file needed by all child headers in this library.
ezLCD_touch_protocol_t
Definition: ezLCD_103_buttons.h:104