summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/stm32/stm32_otgfshost.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-08-15 22:13:50 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-08-15 22:13:50 +0000
commitaafd9e1a14fcb857c9e843c78563a3a935510b9e (patch)
treecd77d7ff40ed0d637b3fc244ca75f959b353f579 /nuttx/arch/arm/src/stm32/stm32_otgfshost.c
parent165225fde2020b456e0f84e019eba21f6acb3129 (diff)
downloadpx4-nuttx-aafd9e1a14fcb857c9e843c78563a3a935510b9e.tar.gz
px4-nuttx-aafd9e1a14fcb857c9e843c78563a3a935510b9e.tar.bz2
px4-nuttx-aafd9e1a14fcb857c9e843c78563a3a935510b9e.zip
A little more STM32 USB host logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5029 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/arm/src/stm32/stm32_otgfshost.c')
-rw-r--r--nuttx/arch/arm/src/stm32/stm32_otgfshost.c22
1 files changed, 21 insertions, 1 deletions
diff --git a/nuttx/arch/arm/src/stm32/stm32_otgfshost.c b/nuttx/arch/arm/src/stm32/stm32_otgfshost.c
index 75283107e..57161088a 100644
--- a/nuttx/arch/arm/src/stm32/stm32_otgfshost.c
+++ b/nuttx/arch/arm/src/stm32/stm32_otgfshost.c
@@ -314,7 +314,8 @@ static void stm32_disconnect(FAR struct usbhost_driver_s *drvr);
/* Initialization **************************************************************/
-static inline void stm32_ep0init(struct stm32_usbhost_s *priv);
+static inline void stm32_ep0init(FAR struct stm32_usbhost_s *priv);
+static inline int stm32_hcdinitialize(FAR struct stm32_usbhost_s *priv);
/*******************************************************************************
* Private Data
@@ -2435,6 +2436,25 @@ static inline void stm32_ep0init(struct stm32_usbhost_s *priv)
}
/*******************************************************************************
+ * Name: stm32_hcdinitialize
+ *
+ * Description:
+ * Setup the host controller harware for normal operations.
+ *
+ * Input Parameters:
+ * priv -- USB host driver private data structure.
+ *
+ * Returned Value:
+ * Zero on success; a negated errno value on failure.
+ *
+ *******************************************************************************/
+
+static inline int stm32_hcdinitialize(FAR struct stm32_usbhost_s *priv)
+{
+#warning "Missing Logic"
+}
+
+/*******************************************************************************
* Public Functions
*******************************************************************************/