usb_cdc_class.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

uns8 serial_rx_avail ()
 Tests if the serial rx fifo has a character available.
uns8 serial_tx_empty ()
 Tests if the serial tx fifo is empty.
void usb_cdc_handle_tx ()
void usb_cdc_print_str (char *str)
void usb_cdc_putc (uns8 c)
void usb_cdc_setup ()


Function Documentation

uns8 serial_rx_avail (  ) 

Tests to see if the serial receive fifo has a character available. Useful to call before getc() if interrupts are not enabled in that section of code.

Returns:
true (non zero) if there are one or more characters waiting in the fifo queue, false (zero) otherwise

Definition at line 322 of file pic_serial.c.

References rx_end, and rx_start.

uns8 serial_tx_empty (  ) 

Tests to see if the serial transmit fifo is empty.

Returns:
true (non zero) if tx fifo is empty, false (zero) otherwise

Definition at line 323 of file pic_serial.c.

References tx_end, and tx_start.

void usb_cdc_handle_tx (  ) 

void usb_cdc_print_str ( char *  str  ) 

Definition at line 250 of file usb_cdc_class.c.

References uns8, and usb_cdc_putc().

Here is the call graph for this function:

void usb_cdc_putc ( uns8  c  ) 

Definition at line 169 of file usb_cdc_class.c.

References cdc_tx_buffer, cdc_tx_end, cdc_tx_start, kill_interrupts, and uns8.

Referenced by usb_cdc_print_str().

Here is the caller graph for this function:

void usb_cdc_setup (  ) 


Generated on Tue Jul 22 09:32:59 2008 for Pic Pack by  doxygen 1.5.5