Datasheet

SAM9263 [DATASHEET]
Atmel-6249N-ATARM-SAM9263-Datasheet_14-Mar-16
952
44.3.1.3 Relative Line Draw with Update XY Option
First pixel position is loaded into source/begin x and source/begin y registers and last pixel position is loaded into
target/end x target/end y registers. After the necessary color and pattern are loaded into appropriate registers,
respectively TDGC_CSR and TDGC_LPR, line draw is initiated with a write to TR register. If the line needs to be
extended, then a single write to the TDGC_GOR with update XY option set initiates line draw (extension).
Figure 44-4. Line Draw From (0,0) to (1,0) and Update XY Four Times
44.3.1.4 1D Line Draw with Broken Pattern 0xAAAA
The first pixel drawn is based on the least significant bit of the pattern register. In this example the first pixel is not
drawn. After rendering each pixel, the pattern register is rotated to the right by one bit.
Figure 44-5. 1D Line Draw From (0,0) to (5,0) with Broken Pattern 0xAAAA
2,0 3,0 4,0 5,0
X
Y
DISPLAY
(0,0) (9,0)
(0,4) (9,4)
0,0 1,0
1,0 3,0 5,0
X
Y
DISPLAY
(0,0) (9,0)
(0,4) (9,4)
0,0 2,0 4,0
Pixel not drawn