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

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
_____________________________________________________________________________________________
Function Prototype:
Parameters:
Return:
Description:
Example(s):
// headers and globals go here…
int main (void)
{
}
_____________________________________________________________________________________________
Function Prototype:
Parameters:
Return:
Description:
Example(s):
// headers and globals go here…
int main (void)
{
unsigned char ReadValue;
// Always call SYS_ConfigureClock first after main() begins
SYS_ConfigureClock(MAX_FCY_RATE);
// initialization code goes here…
UART_Init(115200);
While(1)
{
}
unsigned char ReadValue;
// Always call SYS_ConfigureClock first after main() begins
SYS_ConfigureClock(MAX_FCY_RATE);
// initialization code goes here…
UART_Init(115200);
While(1)
{
// Echo back any characters received
if(UART_getchar(&ReadValue))
UART_puts(“Enter a letter:”);
// Wait until they enter a letter
int UART_putchar(int ch);
void UART_Newline();
UART_putchar(ReadValue);
ch
Returns 1 if the data was added to the send buffer to be sent. If the output buffer is full and the #define
STALL_UART was not defined, this function returns 0 for failure.
UART_putchar(…) adds a single byte to the send buffer. If the send buffer is full and stalling is not
enabled, the function returns immediately with failure.
This example shows a simple usage scenario.
None.
UART_Newline(…) adds a single byte to the send buffer. If the send buffer is full and stalling is not
enabled, the function returns immediately with failure.
This example shows a simple usage scenario.
A single character to write out of the UART.
None.
// Echo it back
// Configure clock for max
// Configure clock for max
© 2009 NURVE NETWORKS LLC “Exploring the Chameleon PIC 16-Bit”
151

Related parts for Chameleon-PIC