register_breakpoint serial_console_frontend
API Reference Manual  /  7 Simulator-to-Simulator Interfaces  / 

screenshot

Description
The screenshot interface facilitates storing screenshots. It is implemented by the graphics console.

All screenshots store current screen data, using 24-bit RGB pixel format.

SIM_INTERFACE(screenshot) {
        bool (*save_png)(conf_object_t *NOTNULL obj, const char *filename);
        bool (*save_bmp)(conf_object_t *NOTNULL obj, const char *filename);
};
#define SCREENSHOT_INTERFACE "screenshot"

Execution Context
Global Context for all methods

register_breakpoint serial_console_frontend