![]() |
STM32F769IDiscovery
1.00
uDANTE Audio Networking with STM32F7 DISCO board
|
This file contains all the prototypes for the usbh_mtp.c. More...
Go to the source code of this file.
Data Structures | |
struct | MTP_EventHandleTypedef |
struct | MTP_ParamsTypedef |
struct | MTP_InfoTypedef |
struct | _MTP_Process |
Macros | |
#define | USB_MTP_CLASS 0x06 /* Still Image Class)*/ |
#define | MTP_MAX_STORAGE_UNITS_NBR PTP_MAX_STORAGE_UNITS_NBR |
#define | MTP_StorageInfoTypedef PTP_StorageInfoTypedef |
#define | MTP_ObjectHandlesTypedef PTP_ObjectHandlesTypedef |
#define | MTP_ObjectInfoTypedef PTP_ObjectInfoTypedef |
#define | USBH_MTP_CLASS &MTP_Class |
Typedefs | |
typedef struct _MTP_Process | MTP_HandleTypeDef |
Enumerations | |
enum | MTP_StateTypeDef { MTP_IDLE = 0, MTP_GETDEVICEINFO, MTP_OPENSESSION, MTP_CLOSESESSION, MTP_GETSTORAGEIDS, MTP_GETSTORAGEINFO } |
enum | MTP_EventsStateTypeDef { MTP_EVENTS_INIT = 0, MTP_EVENTS_GETDATA } |
Functions | |
uint8_t | USBH_MTP_IsReady (USBH_HandleTypeDef *phost) |
USBH_MTP_IsReady Select the storage Unit to be used. More... | |
USBH_StatusTypeDef | USBH_MTP_SelectStorage (USBH_HandleTypeDef *phost, uint8_t storage_idx) |
USBH_MTP_SelectStorage Select the storage Unit to be used. More... | |
USBH_StatusTypeDef | USBH_MTP_GetNumStorage (USBH_HandleTypeDef *phost, uint8_t *storage_num) |
USBH_MTP_GetNumStorage Select the storage Unit to be used. More... | |
USBH_StatusTypeDef | USBH_MTP_GetNumObjects (USBH_HandleTypeDef *phost, uint32_t storage_id, uint32_t objectformatcode, uint32_t associationOH, uint32_t *numobs) |
USBH_MTP_GetStorageInfo Get the storage Unit info. More... | |
USBH_StatusTypeDef | USBH_MTP_GetStorageInfo (USBH_HandleTypeDef *phost, uint8_t storage_idx, MTP_StorageInfoTypedef *info) |
USBH_MTP_GetStorageInfo Get the storage Unit info. More... | |
USBH_StatusTypeDef | USBH_MTP_GetObjectHandles (USBH_HandleTypeDef *phost, uint32_t storage_id, uint32_t objectformatcode, uint32_t associationOH, PTP_ObjectHandlesTypedef *objecthandles) |
USBH_MTP_GetStorageInfo Get the storage Unit info. More... | |
USBH_StatusTypeDef | USBH_MTP_GetObjectInfo (USBH_HandleTypeDef *phost, uint32_t handle, PTP_ObjectInfoTypedef *objectinfo) |
USBH_PTP_GetObjectInfo Gets objert info. More... | |
USBH_StatusTypeDef | USBH_MTP_DeleteObject (USBH_HandleTypeDef *phost, uint32_t handle, uint32_t objectformatcode) |
USBH_MTP_DeleteObject Delete an object. More... | |
USBH_StatusTypeDef | USBH_MTP_GetObject (USBH_HandleTypeDef *phost, uint32_t handle, uint8_t *object) |
USBH_MTP_GetObject Gets object. More... | |
USBH_StatusTypeDef | USBH_MTP_GetPartialObject (USBH_HandleTypeDef *phost, uint32_t handle, uint32_t offset, uint32_t maxbytes, uint8_t *object, uint32_t *len) |
USBH_MTP_GetPartialObject Gets object. More... | |
USBH_StatusTypeDef | USBH_MTP_GetObjectPropsSupported (USBH_HandleTypeDef *phost, uint16_t ofc, uint32_t *propnum, uint16_t *props) |
USBH_MTP_GetObjectPropsSupported Gets object partially. More... | |
USBH_StatusTypeDef | USBH_MTP_GetObjectPropDesc (USBH_HandleTypeDef *phost, uint16_t opc, uint16_t ofc, PTP_ObjectPropDescTypeDef *opd) |
USBH_MTP_GetObjectPropDesc Gets object partially. More... | |
USBH_StatusTypeDef | USBH_MTP_GetObjectPropList (USBH_HandleTypeDef *phost, uint32_t handle, MTP_PropertiesTypedef *pprops, uint32_t *nrofprops) |
USBH_MTP_GetObjectPropList Gets object partially. More... | |
USBH_StatusTypeDef | USBH_MTP_SendObject (USBH_HandleTypeDef *phost, uint32_t handle, uint8_t *object, uint32_t size) |
USBH_MTP_SendObject Send an object. More... | |
USBH_StatusTypeDef | USBH_MTP_GetDevicePropDesc (USBH_HandleTypeDef *phost, uint16_t propcode, PTP_DevicePropDescTypdef *devicepropertydesc) |
USBH_MTP_GetDevicePropDesc Gets object partially. More... | |
void | USBH_MTP_EventsCallback (USBH_HandleTypeDef *phost, uint32_t event, uint32_t param) |
The function informs that host has received an event. More... | |
Variables | |
USBH_ClassTypeDef | MTP_Class |
This file contains all the prototypes for the usbh_mtp.c.
Licensed under MCD-ST Liberty SW License Agreement V2, (the "License"); You may not use this file except in compliance with the License. You may obtain a copy of the License at:
http://www.st.com/software_license_agreement_liberty_v2
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Definition in file usbh_mtp.h.