Explorar el Código

upd: update readme.
upd: fix some typos.

Dmitry hace 8 años
padre
commit
bcb03afef3
Se han modificado 2 ficheros con 11 adiciones y 6 borrados
  1. 4 4
      inc/usbd_core.h
  2. 7 2
      readme.md

+ 4 - 4
inc/usbd_core.h

@@ -65,8 +65,8 @@
 #define USBD_HW_ADDRFST     (1 << 0)    /**<\brief Set address before STATUS_OUT.*/
 #define USBD_HW_BC          (1 << 1)    /**<\brief Battery charging detection supported.*/
 #define USND_HW_HS          (1 << 2)    /**<\brief High speed supported.*/
-#define USBD_HW_ENABLED     (1 << 3)    /**<\brief USB device emabled. */
-#define USBD_HW_ENUMSPEED   (2 << 4)    /**<\brief USB device enumerated speed*/
+#define USBD_HW_ENABLED     (1 << 3)    /**<\brief USB device enabled. */
+#define USBD_HW_ENUMSPEED   (2 << 4)    /**<\brief USB device enumeration speed mask.*/
 #define USBD_HW_SPEED_NC    (0 << 4)    /**<\brief Not connected */
 #define USBD_HW_SPEED_LS    (1 << 4)    /**<\brief Low speed */
 #define USBD_HW_SPEED_FS    (2 << 4)    /**<\brief Full speed */
@@ -465,8 +465,8 @@ inline static uint8_t usbd_connect(usbd_device *dev, bool connect) {
     return dev->driver->connect(connect);
 }
 
-/**<\brief Retrieves status and capabilities.
- * \return current HW status, enumeration speed and capabilities /ref USBD_HW_CAPS */
+/**\brief Retrieves status and capabilities.
+ * \return current HW status, enumeration speed and capabilities \ref USBD_HW_CAPS */
 inline static uint32_t usbd_getinfo(usbd_device *dev) {
     return dev->driver->getinfo();
 }

+ 7 - 2
readme.md

@@ -51,7 +51,12 @@
         <td>usbd_otgfs</td>
         <td>usbd_stm32l476_otgfs.c</td>
     </tr>
-
+    <tr>
+        <td>STM32F4x5 STM32F4x7 STM32F4x9</td>
+        <td nowrap>Doublebuffered<br/>6 endpoints<br/>VBUS detection<br/>SOF output</td>
+        <td>usbd_otgfs</td>
+        <td>usbd_stm32l429_otgfs.c</td>
+    </tr>
 </table>
 
 1. Single physical endpoint can be used to implement
@@ -61,7 +66,7 @@
 
 2. At this moment BULK IN endpoint can use both buffers, but it is not **real** doublebuffered.
 
-3. Tested with STM32L052K8, STM32L100RC, STM32L476RG, STM32F072C8, STM32F103C8, STM32F103CB, STM32F303CC, STM32F303RE
+3. Tested with STM32L052K8, STM32L100RC, STM32L476RG, STM32F072C8, STM32F103C8, STM32F103CB, STM32F303CC, STM32F303RE, STM32F429ZI
 
 ### Implemented definitions for classes ###
 1. USB HID based on [Device Class Definition for Human Interface Devices (HID) Version 1.11](http://www.usb.org/developers/hidpage/HID1_11.pdf)