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
This commit is contained in:
parent
3c6ff540ea
commit
0f53d0c383
@ -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
|
||||
@ -2434,6 +2435,25 @@ static inline void stm32_ep0init(struct stm32_usbhost_s *priv)
|
||||
stm32_putreg(regval, STM32_USBHOST_CTRL);
|
||||
}
|
||||
|
||||
/*******************************************************************************
|
||||
* 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
|
||||
*******************************************************************************/
|
||||
|
Loading…
Reference in New Issue
Block a user