GlobLib
HAL and API libraries for MCUs and hardware.
stm32f103cb_usb.h File Reference

Header file for stm32f103cb USB. More...

#include <stdint.h>
#include "stm32f103cb_gpio.h"
#include "stm32f103cb_debug.h"
#include "stm32f103cb_power.h"
#include <libopencm3/usb/usbd.h>
#include <libopencm3/usb/cdc.h>
#include <libopencm3/stm32/f1/bkp.h>
#include <libopencm3/stm32/f1/pwr.h>

Go to the source code of this file.

Functions

void USB_setup (void)
 Initialize the USB device. More...
 
void USB_update (void)
 Update the USB peripheral. More...
 
void USB_put (uint8_t byte)
 Send a single byte on USB. More...
 
void USB_setGet (void(*data_available)(uint8_t))
 Set the function called when data is received on the USB. More...
 
void USB_disconnect (void)
 Dissconnect the USB device from the HOST. More...
 

Detailed Description

Header file for stm32f103cb USB.

Definition in file stm32f103cb_usb.h.