PicoVGA  1.0-cmake
VGA/TV display on Raspberry Pico
sVgaCfg Struct Reference

Required configuration to initialize VGA output. More...

#include <vga_vmode.h>

Collaboration diagram for sVgaCfg:

Data Fields

u16 width
 Width in pixels.
 
u16 height
 Height in lines.
 
u16 wfull
 Width of full screen, corresponding to 'hfull' time (0=use 'width' parameter)
 
const sVideovideo
 Used video timings.
 
u32 freq
 Required minimal system frequency in kHz (real frequency can be higher)
 
u32 fmax
 Maximal system frequency in kHz (limit resolution if needed)
 
u8 mode [LAYERS_MAX]
 
bool dbly
 double in Y direction
 
bool lockfreq
 Lock required frequency, do not change it.
 

Detailed Description

Required configuration to initialize VGA output.

Field Documentation

◆ mode

u8 sVgaCfg::mode[LAYERS_MAX]

Modes of overlapped layers 0..3 LAYERMODE_* (LAYERMODE_BASE = layer is off)

  • mode of layer 0 is ignored (always use LAYERMODE_BASE)
  • all overlapped layers must use same layer program

The documentation for this struct was generated from the following file: