rename usbh_hubbed.* to usbh_core.*
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
This commit is contained in:
parent
dd950136aa
commit
4f3a3905c9
12 changed files with 14 additions and 14 deletions
|
|
@ -24,7 +24,7 @@
|
|||
#define USBH_DEVICE_DRIVER_
|
||||
|
||||
#include "usbh_config.h"
|
||||
#include "usbh_hubbed.h"
|
||||
#include "usbh_core.h"
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -20,8 +20,8 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#ifndef USBH_HUBBED_
|
||||
#define USBH_HUBBED_
|
||||
#ifndef USBH_CORE_
|
||||
#define USBH_CORE_
|
||||
|
||||
#include "usbh_config.h"
|
||||
|
||||
|
|
@ -117,4 +117,4 @@ void usbh_poll(uint32_t time_curr_us);
|
|||
|
||||
END_DECLS
|
||||
|
||||
#endif
|
||||
#endif // USBH_CORE_
|
||||
|
|
@ -23,7 +23,7 @@
|
|||
#ifndef USBH_DRIVER_AC_MIDI_
|
||||
#define USBH_DRIVER_AC_MIDI_
|
||||
|
||||
#include "usbh_hubbed.h"
|
||||
#include "usbh_core.h"
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
#ifndef USBH_DRIVER_GP_XBOX_
|
||||
#define USBH_DRIVER_GP_XBOX_
|
||||
|
||||
#include "usbh_hubbed.h"
|
||||
#include "usbh_core.h"
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
#ifndef USBH_DRIVER_HID_MOUSE_
|
||||
#define USBH_DRIVER_HID_MOUSE_
|
||||
|
||||
#include "usbh_hubbed.h"
|
||||
#include "usbh_core.h"
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
#ifndef USBH_DRIVER_HUB_
|
||||
#define USBH_DRIVER_HUB_
|
||||
|
||||
#include "usbh_hubbed.h"
|
||||
#include "usbh_core.h"
|
||||
|
||||
BEGIN_DECLS
|
||||
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
#ifndef USBH_LLD_STM32F4_H_
|
||||
#define USBH_LLD_STM32F4_H_
|
||||
|
||||
#include "usbh_hubbed.h"
|
||||
#include "usbh_core.h"
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
*/
|
||||
|
||||
#include "usart_helpers.h" /// provides LOG_PRINTF macros used for debugging
|
||||
#include "usbh_hubbed.h" /// provides usbh_init() and usbh_poll()
|
||||
#include "usbh_core.h" /// provides usbh_init() and usbh_poll()
|
||||
#include "usbh_lld_stm32f4.h" /// provides low level usb host driver for stm32f4 platform
|
||||
#include "usbh_driver_hid_mouse.h" /// provides usb device driver Human Interface Device - type mouse
|
||||
#include "usbh_driver_hub.h" /// provides usb full speed hub driver (Low speed devices on hub are not supported)
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
#ifndef USBH_USART_HELPERS_H
|
||||
#define USBH_USART_HELPERS_H
|
||||
|
||||
#include "usbh_hubbed.h"
|
||||
#include "usbh_core.h"
|
||||
#include <stdint.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#include "usbh_hubbed.h"
|
||||
#include "usbh_core.h"
|
||||
#include "driver/usbh_device_driver.h"
|
||||
#include "usbh_driver_hid_mouse.h"
|
||||
#include "usart_helpers.h"
|
||||
|
|
@ -232,7 +232,7 @@ static void read_mouse_in(void *drvdata)
|
|||
}
|
||||
|
||||
/**
|
||||
* \param time_curr_us - monotically rising time (see usbh_hubbed.h)
|
||||
* @param time_curr_us - monotically rising time (@see usbh_poll())
|
||||
* unit is microseconds
|
||||
*/
|
||||
static void poll(void *drvdata, uint32_t time_curr_us)
|
||||
|
|
|
|||
|
|
@ -764,7 +764,7 @@ static void read_ep1(void *drvdata)
|
|||
}
|
||||
|
||||
/**
|
||||
* \param time_curr_us - monotically rising time (see usbh_hubbed.h)
|
||||
* @param time_curr_us - monotically rising time (@see usbh_poll())
|
||||
* unit is microseconds
|
||||
*/
|
||||
static void poll(void *drvdata, uint32_t time_curr_us)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue