Contiki 3.x
|
Platform process which implements a UART-like functionality over the cc2531 dongle's USB hardware.More...
#include "contiki.h"
#include "sys/process.h"
#include "usb/common/usb-api.h"
#include "usb/common/cdc-acm/cdc-acm.h"
#include "usb/common/usb.h"
#include "usb/common/usb-arch.h"
Go to the source code of this file.
Functions | |
void | usb_serial_writeb (uint8_t b) |
Write a byte over USB. More... | |
void | usb_serial_set_input (int(*input)(unsigned char c)) |
Set an input hook for bytes received over USB. More... | |
void | usb_serial_init () |
Initialise the Serial-over-USB process. | |
Platform process which implements a UART-like functionality over the cc2531 dongle's USB hardware.
With it in place, putchar can be redirected to the USB and USB incoming traffic can be handled as input
Definition in file usb-serial.c.