
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 () |
| 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.
Definition at line 322 of file pic_serial.c.
| uns8 serial_tx_empty | ( | ) |
Tests to see if the serial transmit fifo is empty.
Definition at line 323 of file pic_serial.c.
| void usb_cdc_handle_tx | ( | ) |
Definition at line 200 of file usb_cdc_class.c.
References _buffer_descriptor::addr, BC8, BC9, BSTALL, cdc_tx_buffer, cdc_tx_end, cdc_tx_start, _buffer_descriptor::count, DTS, DTSEN, end_crit_sec, ep_in_bd_location, ep_in_buffer_location, ep_in_buffer_size, INCDIS, KEN, start_crit_sec, _buffer_descriptor::stat, uns16, uns8, and UOWN.
Referenced by usb_ep_data_in_callback(), and usb_SOF_callback().

| void usb_cdc_print_str | ( | char * | str | ) |
Definition at line 253 of file usb_cdc_class.c.
References uns8, and usb_cdc_putc().

| void usb_cdc_putc | ( | uns8 | c | ) |
Definition at line 172 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().

| void usb_cdc_setup | ( | ) |
Definition at line 277 of file usb_cdc_class.c.
References _long_union::as_long, class_data, _line_coding::data_bits, _line_coding::dte_rate, _line_coding::parity, and _line_coding::stop_bits.
1.5.7.1