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

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
21.1 Header File Contents Overview
The VGA API module header CHAM_PIC_VGA_DRV_V010.h has no globals or defines as of yet, nothing more than the
function prototypes.
21.2 API Listing Reference
The API listing for the “VGA” module CHAM_PIC_VGA_DRV_V010.c is listed in Table 21.1 categorized by functionality.
Function Name
Initialization
int VGA_ClearScreen(void);
Positioning
int VGA_GetXY(int *x, int *y);
int VGA_SetXY(int x, int y);
Printing
int VGA_Term_Char(char ch);
int VGA_Term_Print(char *string);
int VGA_Color(int col);
21.3 API Functional Declarations
The following lists each function, a description, comments, and example usage of the function.
________________________________________________________________________________________________
Function Prototype:
Example(s):
VGA_ClearScreen();
_________________________________________________________________________________________________
Function Prototype:
Example(s): Retrieve the current cursor position.
int VGA_ClearScreen(void);
int VGA_GetXY(int *x, int *y);
Description:
pointers to the integer variables you want to receive the values. Returns 1.
Clear the screen.
Description:
VGA_GetXY(…) returns the position (column, row) of the virtual cursor. The function takes two
VGA_ClearScreen() simply clears the VGA terminal screen and fills the screen with
spaces. Returns 1.
Table 21.1 – “VGA” module API functions listing.
Description
Clears the VGA screen.
Gets the current cursor position on the terminal.
Sets the current position on the terminal.
Prints a single character to the terminal at the current cursor position.
Prints a NULL terminated string to the terminal.
Sets the color of the text.
© 2009 NURVE NETWORKS LLC “Exploring the Chameleon PIC 16-Bit”
174

Related parts for Chameleon-PIC