Contiki-NG
|
Files | |
file | usb-arch.c |
USB implementation for the nRF. | |
file | usb.c |
USB driver for the nRF. | |
file | usb.h |
USB header file for the nRF. | |
file | usb_descriptors.h |
USB descriptors header file for the nRF. | |
Functions | |
void | usb_interrupt_handler (void) |
Handles the interrupt. More... | |
void | usb_set_input (int(*input)(unsigned char c)) |
Sets the input handler called in the event handler. More... | |
void | usb_init (void) |
Initialize the USB driver. | |
void | usb_write (uint8_t *buffer, uint32_t buffer_size) |
Writes to the USB driver. More... | |
void | usb_flush (void) |
Flush USB buffer. More... | |
void | usb_arch_init (void) |
Initialize the architecture specific USB driver. | |
void | usb_descriptor_set_manufacturer (char *manufacturer) |
Set the manufactorer. More... | |
void | usb_descriptor_set_product (char *product) |
Set the product. More... | |
void | usb_descriptor_set_serial (char *serial) |
Set the serial. More... | |
void | usb_descriptor_set_cdc_interface (char *cdc_interface) |
Set the cdc interface. More... | |
void usb_descriptor_set_cdc_interface | ( | char * | cdc_interface | ) |
Set the cdc interface.
cdc_interface | pointer to cdc interface string |
Definition at line 181 of file usb_descriptors.c.
void usb_descriptor_set_manufacturer | ( | char * | manufacturer | ) |
Set the manufactorer.
manufacturer | pointer to manufactorer string |
Definition at line 166 of file usb_descriptors.c.
Referenced by usb_init().
void usb_descriptor_set_product | ( | char * | product | ) |
Set the product.
product | pointer to product string |
Definition at line 171 of file usb_descriptors.c.
void usb_descriptor_set_serial | ( | char * | serial | ) |
Set the serial.
serial | pointer to serial string |
Definition at line 176 of file usb_descriptors.c.
void usb_flush | ( | void | ) |
void usb_interrupt_handler | ( | void | ) |
Handles the interrupt.
Definition at line 64 of file usb.c.
References process_poll().
void usb_set_input | ( | int(*)(unsigned char c) | input | ) |