diff options
author | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2012-08-15 22:13:50 +0000 |
---|---|---|
committer | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2012-08-15 22:13:50 +0000 |
commit | 62fc459beb3f3f39d02e781d126daef58fd5c66c (patch) | |
tree | cd77d7ff40ed0d637b3fc244ca75f959b353f579 /nuttx/arch | |
parent | 959ba74831ee6f6c253f345f6db3e920d7a7bbcc (diff) |
A little more STM32 USB host logic
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5029 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/arch')
-rw-r--r-- | nuttx/arch/arm/src/stm32/stm32_otgfshost.c | 22 |
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 75283107e3..57161088a7 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 *******************************************************************************/ |