libdragon
Data Fields
VI_regs_s Struct Reference

Register definition for the VI interface. More...

#include <regsinternal.h>

Data Fields

uint32_t control
 VI control register. Sets up various rasterization modes.
void * framebuffer
 Pointer to uncached buffer in memory to rasterize.
uint32_t width
 Width of the buffer in pixels.
uint32_t v_int
 Vertical interrupt control register. Controls which horizontal line must be hit to generate a VI interrupt.
uint32_t cur_line
 Current vertical line counter.
uint32_t timing
 Timing generation register for PAL/NTSC signals.
uint32_t v_sync
 Number of lines per frame.
uint32_t h_sync
 Number of pixels in line and leap pattern.
uint32_t h_sync2
 Number of pixels in line, set identically to h_sync.
uint32_t h_limits
 Beginning and end of video horizontally.
uint32_t v_limits
 Beginning and end of video vertically.
uint32_t color_burst
 Beginning and end of color burst in vertical lines.
uint32_t h_scale
 Horizontal scaling factor from buffer to screen.
uint32_t v_scale
 Vertical scaling factor from buffer to screen.

Detailed Description

Register definition for the VI interface.


The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines