Propeller Manual

Table Of Contents
2: Spin Language Reference – VCFG
Propeller Manual v1.1 · Page 215
VGroup
The VGroup (video output pin group) field selects which group of eight I/O pins to output
video on.
Table 2-20: The VGroup Field
VGroup Pin Group
000 Group 0: P7..P0
001 Group 1: P15..P8
010 Group 2: P23..P16
011 Group 3: P31..P24
100-111 <reserved for future use>
VPins
The VPins (video output pins) field is a mask applied to the pins of VGroup that indicates
which pins to output video signals on.
Table 2-21: The VPins Field
VPins Effect
00001111 Drive Video on lower 4 pins only; composite
11110000 Drive Video on upper 4 pins only; composite
11111111 Drive video on all 8 pins; VGA
Using VCFG
VCFG can be read/written like other registers or pre-defined variables. For example:
VCFG := %0_10_1_0_1_000_00000000000_001_0_00001111
This sets the video configuration register to enable video in composite mode 1 with 4 colors,
baseband chroma (color) enabled, on pin group 1, lower 4 pins (which is pins P11:8).