SPKT

Dependencies:   F746_GUI SD_PlayerSkeleton F746_SAI_IO

Committer:
phungductung
Date:
Tue Jun 04 21:37:21 2019 +0000
Revision:
0:8ede47d38d10
SPKT

Who changed what in which revision?

UserRevisionLine numberNew contents of line
phungductung 0:8ede47d38d10 1 /**
phungductung 0:8ede47d38d10 2 ******************************************************************************
phungductung 0:8ede47d38d10 3 * @file stm32f7xx_hal_pcd_ex.h
phungductung 0:8ede47d38d10 4 * @author MCD Application Team
phungductung 0:8ede47d38d10 5 * @version V1.0.4
phungductung 0:8ede47d38d10 6 * @date 09-December-2015
phungductung 0:8ede47d38d10 7 * @brief Header file of PCD HAL module.
phungductung 0:8ede47d38d10 8 ******************************************************************************
phungductung 0:8ede47d38d10 9 * @attention
phungductung 0:8ede47d38d10 10 *
phungductung 0:8ede47d38d10 11 * <h2><center>&copy; COPYRIGHT(c) 2015 STMicroelectronics</center></h2>
phungductung 0:8ede47d38d10 12 *
phungductung 0:8ede47d38d10 13 * Redistribution and use in source and binary forms, with or without modification,
phungductung 0:8ede47d38d10 14 * are permitted provided that the following conditions are met:
phungductung 0:8ede47d38d10 15 * 1. Redistributions of source code must retain the above copyright notice,
phungductung 0:8ede47d38d10 16 * this list of conditions and the following disclaimer.
phungductung 0:8ede47d38d10 17 * 2. Redistributions in binary form must reproduce the above copyright notice,
phungductung 0:8ede47d38d10 18 * this list of conditions and the following disclaimer in the documentation
phungductung 0:8ede47d38d10 19 * and/or other materials provided with the distribution.
phungductung 0:8ede47d38d10 20 * 3. Neither the name of STMicroelectronics nor the names of its contributors
phungductung 0:8ede47d38d10 21 * may be used to endorse or promote products derived from this software
phungductung 0:8ede47d38d10 22 * without specific prior written permission.
phungductung 0:8ede47d38d10 23 *
phungductung 0:8ede47d38d10 24 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
phungductung 0:8ede47d38d10 25 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
phungductung 0:8ede47d38d10 26 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
phungductung 0:8ede47d38d10 27 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
phungductung 0:8ede47d38d10 28 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
phungductung 0:8ede47d38d10 29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
phungductung 0:8ede47d38d10 30 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
phungductung 0:8ede47d38d10 31 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
phungductung 0:8ede47d38d10 32 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
phungductung 0:8ede47d38d10 33 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
phungductung 0:8ede47d38d10 34 *
phungductung 0:8ede47d38d10 35 ******************************************************************************
phungductung 0:8ede47d38d10 36 */
phungductung 0:8ede47d38d10 37
phungductung 0:8ede47d38d10 38 /* Define to prevent recursive inclusion -------------------------------------*/
phungductung 0:8ede47d38d10 39 #ifndef __STM32F7xx_HAL_PCD_EX_H
phungductung 0:8ede47d38d10 40 #define __STM32F7xx_HAL_PCD_EX_H
phungductung 0:8ede47d38d10 41
phungductung 0:8ede47d38d10 42 #ifdef __cplusplus
phungductung 0:8ede47d38d10 43 extern "C" {
phungductung 0:8ede47d38d10 44 #endif
phungductung 0:8ede47d38d10 45
phungductung 0:8ede47d38d10 46 /* Includes ------------------------------------------------------------------*/
phungductung 0:8ede47d38d10 47 #include "stm32f7xx_hal_def.h"
phungductung 0:8ede47d38d10 48
phungductung 0:8ede47d38d10 49 /** @addtogroup STM32F7xx_HAL_Driver
phungductung 0:8ede47d38d10 50 * @{
phungductung 0:8ede47d38d10 51 */
phungductung 0:8ede47d38d10 52
phungductung 0:8ede47d38d10 53 /** @addtogroup PCDEx
phungductung 0:8ede47d38d10 54 * @{
phungductung 0:8ede47d38d10 55 */
phungductung 0:8ede47d38d10 56 /* Exported types ------------------------------------------------------------*/
phungductung 0:8ede47d38d10 57 typedef enum
phungductung 0:8ede47d38d10 58 {
phungductung 0:8ede47d38d10 59 PCD_LPM_L0_ACTIVE = 0x00, /* on */
phungductung 0:8ede47d38d10 60 PCD_LPM_L1_ACTIVE = 0x01, /* LPM L1 sleep */
phungductung 0:8ede47d38d10 61 }PCD_LPM_MsgTypeDef;
phungductung 0:8ede47d38d10 62
phungductung 0:8ede47d38d10 63 /* Exported constants --------------------------------------------------------*/
phungductung 0:8ede47d38d10 64 /* Exported macros -----------------------------------------------------------*/
phungductung 0:8ede47d38d10 65 /* Exported functions --------------------------------------------------------*/
phungductung 0:8ede47d38d10 66 /** @addtogroup PCDEx_Exported_Functions PCD Extended Exported Functions
phungductung 0:8ede47d38d10 67 * @{
phungductung 0:8ede47d38d10 68 */
phungductung 0:8ede47d38d10 69 /** @addtogroup PCDEx_Exported_Functions_Group1 Peripheral Control functions
phungductung 0:8ede47d38d10 70 * @{
phungductung 0:8ede47d38d10 71 */
phungductung 0:8ede47d38d10 72 HAL_StatusTypeDef HAL_PCDEx_SetTxFiFo(PCD_HandleTypeDef *hpcd, uint8_t fifo, uint16_t size);
phungductung 0:8ede47d38d10 73 HAL_StatusTypeDef HAL_PCDEx_SetRxFiFo(PCD_HandleTypeDef *hpcd, uint16_t size);
phungductung 0:8ede47d38d10 74 HAL_StatusTypeDef HAL_PCDEx_ActivateLPM(PCD_HandleTypeDef *hpcd);
phungductung 0:8ede47d38d10 75 HAL_StatusTypeDef HAL_PCDEx_DeActivateLPM(PCD_HandleTypeDef *hpcd);
phungductung 0:8ede47d38d10 76 void HAL_PCDEx_LPM_Callback(PCD_HandleTypeDef *hpcd, PCD_LPM_MsgTypeDef msg);
phungductung 0:8ede47d38d10 77
phungductung 0:8ede47d38d10 78 /**
phungductung 0:8ede47d38d10 79 * @}
phungductung 0:8ede47d38d10 80 */
phungductung 0:8ede47d38d10 81
phungductung 0:8ede47d38d10 82 /**
phungductung 0:8ede47d38d10 83 * @}
phungductung 0:8ede47d38d10 84 */
phungductung 0:8ede47d38d10 85
phungductung 0:8ede47d38d10 86 /**
phungductung 0:8ede47d38d10 87 * @}
phungductung 0:8ede47d38d10 88 */
phungductung 0:8ede47d38d10 89
phungductung 0:8ede47d38d10 90 /**
phungductung 0:8ede47d38d10 91 * @}
phungductung 0:8ede47d38d10 92 */
phungductung 0:8ede47d38d10 93
phungductung 0:8ede47d38d10 94 #ifdef __cplusplus
phungductung 0:8ede47d38d10 95 }
phungductung 0:8ede47d38d10 96 #endif
phungductung 0:8ede47d38d10 97
phungductung 0:8ede47d38d10 98
phungductung 0:8ede47d38d10 99 #endif /* __STM32F7xx_HAL_PCD_EX_H */
phungductung 0:8ede47d38d10 100
phungductung 0:8ede47d38d10 101 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/