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

« Back to documentation index

usbd_cdc_acm.h File Reference

usbd_cdc_acm.h File Reference

USB CDC ACM header. More...

Go to the source code of this file.

Functions

void USBD_CDC_ACM_Reset_Event (void)
 Handle Reset Events.
void USBD_CDC_ACM_SOF_Event (void)
 Handle SOF Events.
void USBD_RTX_CDC_ACM_EP_INTIN_Event (void)
 Task Handling Interrupt In Endpoint Events.
void USBD_RTX_CDC_ACM_EP_BULKIN_Event (void)
 Task Handling Bulk In Endpoint Events.
void USBD_RTX_CDC_ACM_EP_BULKOUT_Event (void)
 Task Handling Bulk Out Endpoint Events.
void USBD_RTX_CDC_ACM_EP_BULK_Event (void)
 Task Handling Bulk In/Out Endpoint Events.

Detailed Description

USB CDC ACM 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_cdc_acm.h.


Function Documentation

void USBD_CDC_ACM_Reset_Event ( void   )

Handle Reset Events.

The function handles Reset events.

Definition at line 480 of file usbd_cdc_acm.c.

void USBD_CDC_ACM_SOF_Event ( void   )

Handle SOF Events.

The function handles Start Of Frame events. It checks if there is pending data on the Bulk Out endpoint and handles it (USBD_CDC_ACM_EP_BULKOUT_HandleData) if there is enough space in the intermediate receive buffer and it calls received function callback (USBD_CDC_ACM_DataReceived) it also activates data send over the Bulk In endpoint if there is data to be sent (USBD_CDC_ACM_EP_BULKIN_HandleData).

Definition at line 496 of file usbd_cdc_acm.c.

void USBD_RTX_CDC_ACM_EP_BULK_Event ( void   )

Task Handling Bulk In/Out Endpoint Events.

The task dispatches Bulk In/Out events to the Bulk In/Out handling function (USBD_CDC_ACM_EP_BULK_Event).

Definition at line 815 of file usbd_cdc_acm.c.

void USBD_RTX_CDC_ACM_EP_BULKIN_Event ( void   )

Task Handling Bulk In Endpoint Events.

The task dispatches Bulk In events to the Bulk In handling function (USBD_CDC_ACM_EP_BULKIN_Event).

Definition at line 779 of file usbd_cdc_acm.c.

void USBD_RTX_CDC_ACM_EP_BULKOUT_Event ( void   )

Task Handling Bulk Out Endpoint Events.

The task dispatches Bulk Out events to the Bulk Out handling function (USBD_CDC_ACM_EP_BULKOUT_Event).

Definition at line 797 of file usbd_cdc_acm.c.

void USBD_RTX_CDC_ACM_EP_INTIN_Event ( void   )

Task Handling Interrupt In Endpoint Events.

The task dispatches Interrupt In events to the Interrupt In handling function (USBD_CDC_ACM_EP_INTIN_Event).

Definition at line 764 of file usbd_cdc_acm.c.