Contiki-NG
|
Wrapper around the nRF SDK USB CDC-ACM implementation. More...
#include "contiki.h"
#include "nrf_drv_power.h"
#include "nrf_drv_usbd.h"
#include "app_usbd.h"
#include "app_usbd_core.h"
#include "app_usbd_string_desc.h"
#include "app_usbd_cdc_acm.h"
#include "app_usbd_serial_num.h"
#include <stdint.h>
Go to the source code of this file.
Functions | |
void | usb_serial_init (void) |
Initialise the Serial-over-USB driver. | |
void | usb_serial_flush (void) |
Immediately transmit the content of Serial-over-USB TX buffers. | |
void | usb_serial_writeb (uint8_t b) |
Write a byte over USB. | |
void | usb_serial_set_input (int(*input)(unsigned char c)) |
Set an input hook for bytes received over USB. | |
Wrapper around the nRF SDK USB CDC-ACM implementation.
Implements a UART-like functionality over the nRF52840's USB hardware.
This exposes a similar interface to cpu/cc2538/usb
Definition in file usb-serial.c.