Microchip® Advanced Software Framework

Todo List
Global app_widget_launch (void)

Add code to set up button here.

Add code to set up basic frame here.

Global app_widget_launch (void)

Add code to set up button here.

Add code to set up basic frame here.

Global font_data_type
Add support for fonts in regular ram
Global ISR (func, int_grp, int_lvl)
Update to use IRQ numbers when these are made available in the device header files of both IAR and GCC.
Global sub_frame_draw_handler (struct win_window *win, struct win_clip_region const *clip)
Add code here to draw text on screen using the gfx_draw_string() function.
Global sysclk_get_cpu_hz (void)
This function assumes that the CPU always runs at the system clock frequency. We want to support at least two more scenarios: Fixed CPU/bus clock dividers (config symbols) and dynamic CPU/bus clock dividers (which may change at run time). Ditto for all the bus clocks.
Global sysclk_get_main_hz (void)
This function assumes that the main clock source never changes once it's been set up, and that PLL0 always runs at the compile-time configured default rate. While this is probably the most common configuration, which we want to support as a special case for performance reasons, we will at some point need to support more dynamic setups as well.
Group TWI Master connections to GPIO
The TWIM pins that are mapped here should correspond with the TWIM interfaces selected in the conf_board.h file. In addition, the default values below map TWIM the pins on the Xplaned J1 block. Modify the mappings or add appropriate conditional compilation as needed.
Group TWI Master connections to GPIO
The TWIM pins that are mapped here should correspond with the TWIM interfaces selected in the conf_board.h file. In addition, the default values below map TWIM the pins on the Xplaned J1 block. Modify the mappings or add appropriate conditional compilation as needed.
Global widget_frame_command_handler (struct wtk_basic_frame *frame, win_command_t command_data)
Add code here to handle button press.