Rev 2 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2 | Rev 5 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | /** |
1 | /** |
2 | ****************************************************************************** |
2 | ****************************************************************************** |
3 | * @file stm32f1xx_hal_pcd_ex.c |
3 | * @file stm32f1xx_hal_pcd_ex.c |
4 | * @author MCD Application Team |
4 | * @author MCD Application Team |
5 | * @version V1.0.1 |
5 | * @version V1.0.4 |
6 | * @date 31-July-2015 |
6 | * @date 29-April-2016 |
7 | * @brief Extended PCD HAL module driver. |
7 | * @brief Extended PCD HAL module driver. |
8 | * This file provides firmware functions to manage the following |
8 | * This file provides firmware functions to manage the following |
9 | * functionalities of the USB Peripheral Controller: |
9 | * functionalities of the USB Peripheral Controller: |
10 | * + Extended features functions: Update FIFO configuration, |
10 | * + Extended features functions: Update FIFO configuration, |
11 | * PMA configuration for EPs |
11 | * PMA configuration for EPs |
12 | * |
12 | * |
13 | ****************************************************************************** |
13 | ****************************************************************************** |
14 | * @attention |
14 | * @attention |
15 | * |
15 | * |
16 | * <h2><center>© COPYRIGHT(c) 2015 STMicroelectronics</center></h2> |
16 | * <h2><center>© COPYRIGHT(c) 2016 STMicroelectronics</center></h2> |
17 | * |
17 | * |
18 | * Redistribution and use in source and binary forms, with or without modification, |
18 | * Redistribution and use in source and binary forms, with or without modification, |
19 | * are permitted provided that the following conditions are met: |
19 | * are permitted provided that the following conditions are met: |
20 | * 1. Redistributions of source code must retain the above copyright notice, |
20 | * 1. Redistributions of source code must retain the above copyright notice, |
21 | * this list of conditions and the following disclaimer. |
21 | * this list of conditions and the following disclaimer. |
Line 216... | Line 216... | ||
216 | * @param state: connection state (0 : disconnected / 1: connected) |
216 | * @param state: connection state (0 : disconnected / 1: connected) |
217 | * @retval None |
217 | * @retval None |
218 | */ |
218 | */ |
219 | __weak void HAL_PCDEx_SetConnectionState(PCD_HandleTypeDef *hpcd, uint8_t state) |
219 | __weak void HAL_PCDEx_SetConnectionState(PCD_HandleTypeDef *hpcd, uint8_t state) |
220 | { |
220 | { |
- | 221 | /* Prevent unused argument(s) compilation warning */ |
|
- | 222 | UNUSED(hpcd); |
|
- | 223 | UNUSED(state); |
|
221 | /* NOTE : This function Should not be modified, when the callback is needed, |
224 | /* NOTE : This function Should not be modified, when the callback is needed, |
222 | the HAL_PCDEx_SetConnectionState could be implemented in the user file |
225 | the HAL_PCDEx_SetConnectionState could be implemented in the user file |
223 | */ |
226 | */ |
224 | } |
227 | } |
225 | /** |
228 | /** |