Arrow / Mbed OS DAPLink Reset
Embed: (wiki syntax)

« Back to documentation index

dap_strings.h File Reference

dap_strings.h File Reference

DAPLink Interface Firmware Copyright (c) 2019, ARM Limited, All Rights Reserved SPDX-License-Identifier: Apache-2.0. More...

Go to the source code of this file.

Functions

__STATIC_INLINE uint8_t DAP_GetVendorString (char *str)
 Get Vendor ID string.
__STATIC_INLINE uint8_t DAP_GetProductString (char *str)
 Get Product ID string.
__STATIC_INLINE uint8_t DAP_GetSerNumString (char *str)
 Get Serial Number string.
__STATIC_INLINE uint8_t DAP_GetFirmwareVersionString (char *str)
 Get firmware version string.

Detailed Description

DAPLink Interface Firmware Copyright (c) 2019, ARM Limited, All Rights Reserved SPDX-License-Identifier: Apache-2.0.

Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0

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 dap_strings.h.


Function Documentation

__STATIC_INLINE uint8_t DAP_GetFirmwareVersionString ( char *  str )

Get firmware version string.

Parameters:
strPointer to buffer to store the string.
Returns:
String length.

Definition at line 57 of file dap_strings.h.

__STATIC_INLINE uint8_t DAP_GetProductString ( char *  str )

Get Product ID string.

Parameters:
strPointer to buffer to store the string.
Returns:
String length.

Definition at line 37 of file dap_strings.h.

__STATIC_INLINE uint8_t DAP_GetSerNumString ( char *  str )

Get Serial Number string.

Parameters:
strPointer to buffer to store the string.
Returns:
String length.

Definition at line 46 of file dap_strings.h.

__STATIC_INLINE uint8_t DAP_GetVendorString ( char *  str )

Get Vendor ID string.

Parameters:
strPointer to buffer to store the string.
Returns:
String length.

Definition at line 28 of file dap_strings.h.