blob: 62921fe49190376d02dd51f06100bbb6f1ad9c6d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
/* Copyright 2014 The ChromiumOS Authors
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*
* STM32F3 Family specific USB functionality
*/
/*
* A device that uses an STM32F3 part will need to define these two functions
* which are used to connect and disconnect the device from the USB bus. This
* is usually accomplished by enabling a pullup on the DP USB line. The pullup
* should be enabled by default so that the STM32 will enumerate correctly in
* DFU mode (which doesn't know how to enable the DP pullup, so it assumes that
* the pullup is always there).
*/
void usb_board_connect(void);
void usb_board_disconnect(void);
|