Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: FXAS21002 FXOS8700Q
_ARM_PAL_DEVICE_IDENTITY Struct Reference
Structure definition holding API function pointers. More...
#include <pal_device_identity.h>
Data Fields | |
arm_uc_error_t(* | SetVendorGuid )(const arm_uc_guid_t *vendor_guid) |
Function for setting the vendor GUID. | |
arm_uc_error_t(* | GetVendorGuid )(arm_uc_guid_t *vendor_guid) |
Function for getting a pointer to the vendor GUID. | |
arm_uc_error_t(* | SetClassGuid )(const arm_uc_guid_t *class_guid) |
Function for setting the device class GUID. | |
arm_uc_error_t(* | GetClassGuid )(arm_uc_guid_t *class_guid) |
Function for getting a pointer to the device class GUID. | |
arm_uc_error_t(* | SetDeviceGuid )(const arm_uc_guid_t *device_guid) |
Function for setting the device GUID. | |
arm_uc_error_t(* | GetDeviceGuid )(arm_uc_guid_t *device_guid) |
Function for getting a pointer to the device GUID. | |
arm_uc_error_t(* | DeviceIdentityCheck )(const arm_uc_buffer_t *vendor_guid, const arm_uc_buffer_t *class_guid, const arm_uc_buffer_t *device_guid) |
Check whether the three GUIDs provided are valid on the device. |
Detailed Description
Structure definition holding API function pointers.
Definition at line 91 of file pal_device_identity.h.
Field Documentation
arm_uc_error_t(* DeviceIdentityCheck)(const arm_uc_buffer_t *vendor_guid, const arm_uc_buffer_t *class_guid, const arm_uc_buffer_t *device_guid) |
Check whether the three GUIDs provided are valid on the device.
- Parameters:
-
vendor_guid Buffer pointer to the Vendor GUID. class_guid Buffer pointer to the device class GUID. device_guid Buffer pointer to the device GUID.
- Returns:
- Error code.
Definition at line 145 of file pal_device_identity.h.
arm_uc_error_t(* GetClassGuid)(arm_uc_guid_t *class_guid) |
Function for getting a pointer to the device class GUID.
- Parameters:
-
class_guid Pointer to a arm_uc_guid_t pointer.
- Returns:
- Error code.
Definition at line 120 of file pal_device_identity.h.
arm_uc_error_t(* GetDeviceGuid)(arm_uc_guid_t *device_guid) |
Function for getting a pointer to the device GUID.
- Parameters:
-
device_guid Pointer to a arm_uc_guid_t pointer.
- Returns:
- Error code.
Definition at line 135 of file pal_device_identity.h.
arm_uc_error_t(* GetVendorGuid)(arm_uc_guid_t *vendor_guid) |
Function for getting a pointer to the vendor GUID.
- Parameters:
-
vendor_guid Pointer to a arm_uc_guid_t pointer.
- Returns:
- Error code.
Definition at line 105 of file pal_device_identity.h.
arm_uc_error_t(* SetClassGuid)(const arm_uc_guid_t *class_guid) |
Function for setting the device class GUID.
The GUID is copied.
- Parameters:
-
class_guid Pointer to a arm_uc_guid_t GUID.
- Returns:
- Error code.
Definition at line 113 of file pal_device_identity.h.
arm_uc_error_t(* SetDeviceGuid)(const arm_uc_guid_t *device_guid) |
Function for setting the device GUID.
The GUID is copied.
- Parameters:
-
device_guid Pointer to a arm_uc_guid_t GUID.
- Returns:
- Error code.
Definition at line 128 of file pal_device_identity.h.
arm_uc_error_t(* SetVendorGuid)(const arm_uc_guid_t *vendor_guid) |
Function for setting the vendor GUID.
The GUID is copied.
- Parameters:
-
vendor_guid Pointer to a arm_uc_guid_t GUID.
- Returns:
- Error code.
Definition at line 98 of file pal_device_identity.h.
Generated on Tue Jul 12 2022 20:21:05 by
