SAM9263 Atmel Corporation, SAM9263 Datasheet - Page 968

no-image

SAM9263

Manufacturer Part Number
SAM9263
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of SAM9263

Flash (kbytes)
0 Kbytes
Pin Count
324
Max. Operating Frequency
240 MHz
Cpu
ARM926
Hardware Qtouch Acquisition
No
Max I/o Pins
160
Ext Interrupts
160
Usb Transceiver
3
Usb Speed
Full Speed
Usb Interface
Host, Device
Spi
2
Twi (i2c)
1
Uart
4
Can
1
Ssc
2
Ethernet
1
Sd / Emmc
2
Graphic Lcd
Yes
Video Decoder
No
Camera Interface
Yes
Resistive Touch Screen
No
Temp. Sensor
No
Crypto Engine
No
Sram (kbytes)
96
Self Program Memory
NO
External Bus Interface
2
Dram Memory
sdram
Nand Interface
Yes
Picopower
No
Temp. Range (deg C)
-40 to 85
I/o Supply Class
1.8/3.3
Fpu
No
Mpu / Mmu
No / Yes
Timers
3
Output Compare Channels
3
Input Capture Channels
3
Pwm Channels
4
32khz Rtc
Yes
Calibrated Rc Oscillator
No
45.4.2
45.4.3
968
AT91SAM9263
Block Transfer
Clipped Line Draw
This function OR’s source data (startx, starty) of size (sizex, sizey) with destination data (endx,
endy) and writes it to the destination memory area. sizex, sizey, startx, starty, endx, endy should
be in pixel units.
This function draws a thick (2 pixels wide) patterned (pixel ON,OFF, ON, OFF…) black line from
start point (startx, starty) to end point (endx, endy). Only the pixels that fall on or within the clip
rectangle boundary are drawn. startx, starty, endx, endy should be in pixel units.
Void line_draw(unsigned short startx, unsigned short starty,
{
while(graphics_control.TDGC_GSR & 3);
graphics_control.TDGC_SBXR = startx;
graphics_control.TDGC_SBYR = starty;
graphics_control.TDGC_TEXR = endx;
graphics_control.TDGC_TEYR = endy;
graphics_control.TDGC_LOR = 0x00; // Select logic operation MOV
graphics_control.TDGC_CSR = 0x00; // Colour black
graphics_control.TDGC_LWR = 0x02; // 2 pixels wide
graphics_control.TDGC_LPR = 0xFFFF; // Solid line
graphics_control.TDGC_GOR = 0xD5; // Line draw, absolute, no update, 1D
pattern
while(graphics_control.TDGC_GSR & 1);
}
Void block_transfer(unsigned short startx, unsigned short starty, unsigned
short endx,
{
while(graphics_control.TDGC_GSR & 3);
graphics_control.TDGC_TDGC_BTSXR = sizex;
graphics_control.TDGC_TDGC_BTSYR = sizey;
graphics_control.TDGC_SBXR = startx;
graphics_control.TDGC_SBYR = starty;
graphics_control.TDGC_TEXR = endx;
graphics_control.TDGC_TEYR = endy;
graphics_control.TDGC_LOR = 0x01; // Select logic operation OR
graphics_control.TDGC_GOR = 0xB4; // Selects block transfer, absolute, no
update
while(graphics_control.TDGC_GSR & 2);
}
Void clipped_line_draw(signed long int startx, signed long int starty,
{
while(graphics_control.TDGC_GSR & 3);
unsigned short endx, unsigned short endy)
unsigned short endy, unsigned short sizex, unsigned short sizey)
signed long int endx, signed long int endy)
6249I–ATARM–3-Oct-11

Related parts for SAM9263