1.1 --- a/examples/vga-dual/main.h Tue Oct 23 23:25:47 2018 +0200
1.2 +++ b/examples/vga-dual/main.h Wed Oct 24 00:50:48 2018 +0200
1.3 @@ -20,16 +20,22 @@
1.4 #ifndef __MAIN_H__
1.5 #define __MAIN_H__
1.6
1.7 +#include "vga_display.h"
1.8 +
1.9 /* Peripheral pin configuration. */
1.10
1.11 void config_oc(void);
1.12 void config_uart(void);
1.13
1.14 -/* Display state handlers. */
1.15 +/* Display operations. */
1.16
1.17 -void vbp_active(void);
1.18 -void visible_active(void);
1.19 -void vfp_active(void);
1.20 -void vsync_active(void);
1.21 +void start_visible(vga_display_t *vga_display);
1.22 +void update_visible(vga_display_t *vga_display);
1.23 +void stop_visible(vga_display_t *vga_display);
1.24 +
1.25 +/* Vertical sync operations. */
1.26 +
1.27 +void vsync_high(void);
1.28 +void vsync_low(void);
1.29
1.30 #endif /* __MAIN_H__ */