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

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
Example(s):
_________________________________________________________________________________________________
Function Prototype:
Description:
Example(s):
_________________________________________________________________________________________________
Function Prototype:
Description:
Example(s):
_________________________________________________________________________________________________
Function Prototype:
Description:
int UART_Shutdown(void);
int UART_putc(unsigned char ch);
void UART_Transmit(unsigned char ch);
Initialize the serial communication system to a baudrate of 115200 with setting N81.
Shutdown the UART interrupts.
Send an ASCIIZ encoded string out to the UART.
parameter is the baud rate in bits per second and should be one of the following values; 1200, 2400,
4800, 9600, 19200, 38400, 57600…115200. If you send any other values then a mathematical
computation is performed to estimate the baud rate register settings and its not very accurate.
Additionally, the initialization function enables serial settings of “N81”, that is, no parity, 8-data bits, 1-
stop bit. You must set your PC or serial device to the same settings as well. Finally, the initialization
function enables the interrupt handlers which are hidden in the C source file. This function must be called
before any other API functions. The function returns 1 always.
the UART. Note that you can still use the manual transmit and receive functionality of the UART, but the
interrupt driven system is disabled after this call. Returns 1 always.
continue to process the characters and send them out the UART as the transmitter buffer empties. This
function is non-blocking and returns immediately. Returns the character sent if successful, else 0 if fails.
character to send, and the function blocks until the transmitter is free. Use this function is you don’t care
about using the transmitter interrupt and can wait for the characters to transmit before the function
returns. Function returns nothing.
UART_Shutdown() shuts down USART0’s interrupts. Call it when you are done with
UART_putc(…) places a character into the outgoing transmit circular buffer from there the ISR will
UART_Transmit(…) sends a single character out the UART. The function takes as a parameter the
© 2009 NURVE NETWORKS LLC “Exploring the Chameleon AVR 8-Bit”
149

Related parts for Chameleon-AVR