//===================================================================================
//瑞佑科技
//http://www.raio.com.tw
//2011/xx/xx
//RA8875
//Mountain
//===================================================================================
Active window also dominates the drawing area for geometric input function. Only the part of the
active window will be drawn.
Draw circle
RA8875 supports hardware circle drawing function on the DDRAM. User can largely reduce the
effort of MCU by the function. By setting the center of a circle REG[99h~9Ch] ,the radius of a
circle REG[9Dh] and the color of circle REG[63h~65h], and then setting start draw REG[90h]
Bit6 = 1, RA8875 will implements a corresponding circle on the DDRAM automatically. Moreover,
user can decide whether to fill the circle by setting REG[90h] Bit5 as 0(not fill) or 1(fill).
Draw ellipse
RA8875 supports draw ellipse drawing function makes user to draw ellipse on the DDRAM only
use by few MCU cycles. By setting the center of a ellipse REG[A5h~A8h] ,the long and short
axis of a ellipse REG[A1h~A4], the color of ellipse REG[63h~65h], the draw ellipse condition
REG[A0h] Bit5=0 and Bit4=0, and then setting start draw REG[A0h] Bit7 = 1, RA8875 will draw
a corresponding Ellipse on the DDRAM. Moreover, user can fill the circle by setting REG[A0h]
Bit6 = 1.
RA8875 supports curve drawing function for user to draw curve on the DDRAM only by few
MCU cycles. By setting the center of a curve REG[A5h~A8h] ,the long and short axis of a curve
REG[A1h~A4], the color of curve REG[63h~65h], the draw curve condition REG[A0h] Bit5=0
and Bit4=1, the curve part of the ellipse REG[A0h] Bit[1:0], and then setting start draw REG[A0h]
Bit7 = 1, RA8875 will draw a corresponding curve on the DDRAM. Moreover, user can fill the
curve by setting REG[A0h] Bit6 = 1.
RA8875 supports square drawing function for user to draw square on the DDRAM only by few
MCU cycles. By setting the start point of a square REG[91h~94h] ,the end point of a square
REG[95h~98h] and the color of a square REG[63h~65h], then setting draw a square REG[90h]
Bit4=1, Bit0=0 and start draw REG[90h] Bit7 = 1, RA8875 will draw a corresponding square on
the DDRAM. Moreover, user can fill the square by setting REG[90h] Bit5 = 1.
RA8875 supports line drawing function for user to draw line on the DDRAM only by few MCU
cycles. By setting the start point of a line REG[91h~94h] ,the end point of a line REG[95h~98h]
and the color of a line REG[63h~65h], then setting draw a line REG[90h] Bit4 = 0, Bit0=0 and
start draw REG[90h] Bit7 = 1, RA8875 will draw a corresponding line on the DDRAM.
RA8875 supports triangle drawing function for user to draw line on the DDRAM only by few
MCU cycles. By setting the point0 of a triangle REG[91h~94h], the point1 of a triangle
REG[95h~98h], the point2 of a triangle REG[A9h~ACh] and the color of a triangle
REG[63h~65h], then setting draw a triangle REG[90h] Bit0 = 1 and start draw REG[90h] Bit7 = 1,
RA8875 will draw a corresponding triangle on the DDRAM. Moreover, user can fill the triangle
by setting REG[90h] Bit5 = 1
RA8875 supports circle-square drawing function for user to draw circle square on the DDRAM
by few MCU cycles. By setting the start point of a square REG[91h~94h] ,the end point of a
square REG[95h~98h], circle corner REG[A1h~A4h] and the color of a circle square
REG[63h~65h], then setting draw a circle square REG[A0h] Bit5=1 and start draw REG[A0h]
Bit7 = 1, RA8875 will draw a corresponding circle square on the DDRAM. Moreover, user can fill
the square by setting REG[A0h] Bit6 = 1.
- 1
- 2
- 3
前往页