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.
usbd_lib_cdc.h File Reference
USB Device CDC Library header. More...
Go to the source code of this file.
Functions | |
| int32_t | USBD_CDC_ACM_SetLineCoding (void) |
| Sets Line Coding for the USB CDC ACM Virtual COM Port. | |
| int32_t | USBD_CDC_ACM_GetLineCoding (void) |
| Gets Line Coding from the USB CDC ACM Virtual COM Port. | |
| int32_t | USBD_CDC_ACM_SetControlLineState (uint16_t ctrl_bmp) |
| Sets Control Line State for the USB CDC ACM Virtual COM Port. | |
Detailed Description
USB Device CDC Library header.
DAPLink Interface Firmware Copyright (c) 2009-2016, 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 usbd_lib_cdc.h.
Function Documentation
| int32_t USBD_CDC_ACM_GetLineCoding | ( | void | ) |
Gets Line Coding from the USB CDC ACM Virtual COM Port.
The function is a callback function that forwards USB CDC ACM request to get communication settings from the Virtual COM Port.
- Returns:
- 0 Function failed.
- 1 Function succeeded.
Definition at line 247 of file usbd_cdc_acm.c.
| int32_t USBD_CDC_ACM_SetControlLineState | ( | uint16_t | ctrl_bmp ) |
Sets Control Line State for the USB CDC ACM Virtual COM Port.
The function is a callback function that forwards USB CDC ACM request to set desired control line state to the Virtual COM Port.
- Parameters:
-
[in] ctrl_bmp Control line settings bitmap ( 0. bit - DTR state, 1. bit - RTS state).
- Returns:
- 0 Function failed.
- 1 Function succeeded.
Definition at line 276 of file usbd_cdc_acm.c.
| int32_t USBD_CDC_ACM_SetLineCoding | ( | void | ) |
Sets Line Coding for the USB CDC ACM Virtual COM Port.
The function is a callback function that forwards USB CDC ACM request to set communication settings to the Virtual COM Port.
- Returns:
- 0 Function failed.
- 1 Function succeeded.
Definition at line 43 of file realtek/rtl8195am/target.c.
Generated on Tue Jul 12 2022 15:37:31 by
1.7.2