Chameleon-AVR Nurve Networks, Chameleon-AVR Datasheet - Page 189

MCU, MPU & DSP Development Tools AVR8 & PROPELLER DEV SYSTEM (SBC)

Chameleon-AVR

Manufacturer Part Number
Chameleon-AVR
Description
MCU, MPU & DSP Development Tools AVR8 & PROPELLER DEV SYSTEM (SBC)
Manufacturer
Nurve Networks
Datasheet

Specifications of Chameleon-AVR

Processor To Be Evaluated
AVR 328P
Data Bus Width
8 bit
Interface Type
USB, VGA, PS/2, I2C, ISP, SPI
Operating Supply Voltage
3.3 V, 5 V
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Function Prototype:
Description:
Example(s):
_________________________________________________________________________________________________
Function Prototype:
Description:
Example(s):
_________________________________________________________________________________________________
Function Prototype:
Description:
Example(s):
_________________________________________________________________________________________________
Function Prototype:
unsigned int GFX_Write_Bitmap_Ptr(unsigned int bitmap_ptr);
int GFX_Get_VScroll(void);
int GFX_Set_VScroll(int vscroll);
Adjust the bitmap pointer down by 16 bitmap tiles (16 * 16 = 256 bytes).
Read the vertical scroll register.
Fine scroll 8 times in about a second from 0..7, a tile height.
indexed by tile 0. Each bitmap is 8x8 pixels, 2-bits per pixel, 16-bytes each. The pointer must be a valid
address and within open memory or part of memory declared for the driver itself, otherwise you could
crash the Propeller, so watch out. Typically, you will adjust the bitmap pointer by one or more bitmaps to
create animation effects of the tiles on screen or to swap out character sets on the fly. Returns 1.
smooth vertical scrolling via the vertical fine scroll register. This function reads that register.
function and register to control smooth scrolling. Each tile is 8 pixels high, thus you can scroll the tilemap
up and down a single pixel at a time with this register/call. To perform continuous smooth scrolling, first
fine scroll 0..7 then reset to 0, and course scroll a single row. Returns 1.
GFX_Write_Bitmap_Ptr(…) writes the 16-bit bitmap pointer bitmap_ptr that points to the first bitmap
GFX_Get_VScroll() returns the current fine vertical scroll value from 0..7. The tile engine supports
GFX_Set_VScroll(…) sets the vertical fine scroll register with the sent value vscroll (0..7). Use this
© 2009 NURVE NETWORKS LLC “Exploring the Chameleon AVR 8-Bit”
189

Related parts for Chameleon-AVR