diff options
author | Karl Palsson <karlp@tweak.net.au> | 2014-05-25 23:53:19 +0400 |
---|---|---|
committer | Karl Palsson <karlp@tweak.net.au> | 2014-05-25 23:54:06 +0400 |
commit | 67b538a5407bc517fa788249fe1a1c0cfd186cbf (patch) | |
tree | 368255182ca116948f078a4fa4e7f37728ee1b51 | |
parent | c07a1291f43fb1fb05d1b9f126fbc70e976e587f (diff) |
usb/stm32: Add top level commentary for scope
Remove some unncessary commentary and fixed bit fields introduced earlier via
insufficient review.
-rw-r--r-- | include/libopencm3/stm32/otg_fs.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/include/libopencm3/stm32/otg_fs.h b/include/libopencm3/stm32/otg_fs.h index 93b451c5..29a5a3fa 100644 --- a/include/libopencm3/stm32/otg_fs.h +++ b/include/libopencm3/stm32/otg_fs.h @@ -17,6 +17,11 @@ * along with this library. If not, see <http://www.gnu.org/licenses/>. */ +/* + * This file covers definitions for the USB OTG FS peripheral. + * This is the USB core included in the F105, F107, F2, F4 devices + */ + #ifndef LIBOPENCM3_OTG_FS_H #define LIBOPENCM3_OTG_FS_H @@ -213,9 +218,7 @@ #define OTG_FS_GRXSTSP_EPNUM_MASK (0xf << 0) /* OTG_FS general core configuration register (OTG_FS_GCCFG) */ -/* This register exists on F4 and F1, not on F3. - F1 lacks the NOVBUSSENS bit */ -/* Bits 31:21 - Reserved */ +/* Bits 31:22 - Reserved */ #define OTG_FS_GCCFG_NOVBUSSENS (1 << 21) #define OTG_FS_GCCFG_SOFOUTEN (1 << 20) #define OTG_FS_GCCFG_VBUSBSEN (1 << 19) |