Go to the source code of this file.
◆ VSF_FBCON_CFG_FONT_WIDTH
| #define VSF_FBCON_CFG_FONT_WIDTH 8 |
◆ VSF_FBCON_CFG_FONT_HEIGHT
| #define VSF_FBCON_CFG_FONT_HEIGHT 16 |
◆ VSF_FBCON_CFG_TAB_WIDTH
| #define VSF_FBCON_CFG_TAB_WIDTH 8 |
◆ VSF_FBCON_MAX_ROWS
| #define VSF_FBCON_MAX_ROWS 32 |
◆ vsf_fbcon_init()
vsf_fbcon_init - initialize the framebuffer console
- Parameters
-
| fbcon | pointer to a vsf_fbcon_t instance whose public members (disp, stream) have been set by the caller. |
- Returns
- VSF_ERR_NONE on success.
Typical usage: vsf_fbcon_t con; con.disp = &my_display.use_as__vk_disp_t; con.stream = &my_fifo_stream.use_as__vsf_stream_t; vsf_fbcon_init(&con);
◆ vsf_fbcon_fini()
vsf_fbcon_fini - finalize and release fbcon resources
- Parameters
-
| fbcon | pointer to a previously initialized vsf_fbcon_t instance. |
Disconnects the stream rx subscription, frees the internal pixel buffer and character grid. The caller-owned disp and stream are NOT touched.