Chameleon-PIC Nurve Networks, Chameleon-PIC Datasheet - Page 186

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

Chameleon-PIC

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

Specifications of Chameleon-PIC

Processor To Be Evaluated
PIC24
Data Bus Width
16 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
Bitmap pointer access functions
unsigned int GFX_Read_Bitmap_Ptr(void);
unsigned int GFX_Write_Bitmap_Ptr(unsigned int bitmap_ptr);
Scrolling functions
int GFX_Get_HScroll(void);
int GFX_Get_VScroll(void);
int GFX_Set_HScroll(void);
int GFX_Set_VScroll(int vscroll);
Memory port functions
unsigned int GFX_Read_Mem_Port8(void);
int GFX_Write_Mem_Port8(unsigned int data);
unsigned int GFX_Read_Mem_Port16(void);
unsigned int GFX_Write_Mem_Port16(unsigned int data);
Source and destination pointer access
unsigned int GFX_Get_Src_Ptr(void);
unsigned int GFX_Get_Dest_Ptr(void);
unsigned int GFX_Set_Src_Ptr(unsigned int src_ptr);
unsigned int GFX_Set_Dest_Ptr(unsigned int dest_ptr);
Tilemap width functions
int GFX_Get_Tilemap_Width(void);
int GFX_Set_Tilemap_Width(int width);
Top and bottom overscan control functions
int GFX_Get_Bottom_Overscan_Color(void);
int GFX_Get_Top_Overscan_Color(void);
int GFX_Set_Bottom_Overscan_Color(int col);
int GFX_Set_Top_Overscan_Color(int col);
22.4 API Functional Declarations
The following lists each function, a description, comments, and example usage of the function.
_________________________________________________________________________________________________
Function Prototype:
Description:
int GFX_GPU_Fill_Mem16(unsigned int dest_ptr,unsigned int value, unsigned int num_bytes);
GFX_GPU_Fill_Mem16(…) fills a number of bytes using value to destination in the GPU memory
space in WORD side chunks, or in other words in the Prop's local memory of 32K, you can use this to
overwrite SPIN code, so watch out! The parameters are the destination address of the fill dest_ptr, the
16-bit data value, and finally, the number of bytes (always a multiple of 2) num_bytes. Typically, you will
use this function to clear tile map, bitmap memory, and other repetitive operations that require the same
value to be written. Returns 1.
© 2009 NURVE NETWORKS LLC “Exploring the Chameleon PIC 16-Bit”
Retrieves the “source” GPU operation pointer.
Retrieves the “destination” GPU operation pointer.
Sets the “source” GPU operation pointer.
Sets the “destination” GPU operation pointer.
Retrieves the width of the tilemap in encoded format.
Sets the width of the tilemap in encoded format.
Retrieves the bottom overscan color.
Retrieves the top overscan color.
Sets the bottom overscan color.
Sets the top overscan color.
Reads the pointer to tile bitmaps.
Writes the pointer to the tile bitmaps.
Not implemented.
Retrieves the vertical smooth scroll value.
Not implemented yet.
Sets the vertical smooth scroll value.
Reads Propeller memory 8-bit port.
Writes to the Propeller memory 8-bit port.
Reads the Propeller memory 16-bit port.
Writes the Propeller memory 16-bit port.
186

Related parts for Chameleon-PIC