Subversion Repositories DashDisplay

Rev

Rev 61 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 61 Rev 77
Line 1... Line 1...
1
/**
1
/**
2
  ******************************************************************************
2
  ******************************************************************************
3
  * @file    stm32l1xx_hal_pcd_ex.h
3
  * @file    stm32l1xx_hal_pcd_ex.h
4
  * @author  MCD Application Team
4
  * @author  MCD Application Team
5
  * @brief   Header file of PCD HAL Extension module.
5
  * @brief   Header file of PCD HAL Extension module.
6
  ******************************************************************************
6
  ******************************************************************************
7
  * @attention
7
  * @attention
8
  *
8
  *
9
  * <h2><center>&copy; Copyright (c) 2016 STMicroelectronics.
9
  * Copyright (c) 2016 STMicroelectronics.
10
  * All rights reserved.</center></h2>
10
  * All rights reserved.
11
  *
11
  *
12
  * This software component is licensed by ST under BSD 3-Clause license,
12
  * This software is licensed under terms that can be found in the LICENSE file
13
  * the "License"; You may not use this file except in compliance with the
-
 
14
  * License. You may obtain a copy of the License at:
13
  * in the root directory of this software component.
15
  *                        opensource.org/licenses/BSD-3-Clause
14
  * If no LICENSE file comes with this software, it is provided AS-IS.
16
  *
15
  *
17
  ******************************************************************************
16
  ******************************************************************************
18
  */
17
  */
19
 
18
 
20
/* Define to prevent recursive inclusion -------------------------------------*/
19
/* Define to prevent recursive inclusion -------------------------------------*/
21
#ifndef STM32L1xx_HAL_PCD_EX_H
20
#ifndef STM32L1xx_HAL_PCD_EX_H
22
#define STM32L1xx_HAL_PCD_EX_H
21
#define STM32L1xx_HAL_PCD_EX_H
23
 
22
 
24
#ifdef __cplusplus
23
#ifdef __cplusplus
25
extern "C" {
24
extern "C" {
26
#endif
25
#endif /* __cplusplus */
27
 
26
 
28
/* Includes ------------------------------------------------------------------*/
27
/* Includes ------------------------------------------------------------------*/
29
#include "stm32l1xx_hal_def.h"
28
#include "stm32l1xx_hal_def.h"
30
 
29
 
31
#if defined (USB)
30
#if defined (USB)
32
/** @addtogroup STM32L1xx_HAL_Driver
31
/** @addtogroup STM32L1xx_HAL_Driver
33
  * @{
32
  * @{
34
  */
33
  */
35
 
34
 
36
/** @addtogroup PCDEx
35
/** @addtogroup PCDEx
37
  * @{
36
  * @{
38
  */
37
  */
39
/* Exported types ------------------------------------------------------------*/
38
/* Exported types ------------------------------------------------------------*/
40
/* Exported constants --------------------------------------------------------*/
39
/* Exported constants --------------------------------------------------------*/
41
/* Exported macros -----------------------------------------------------------*/
40
/* Exported macros -----------------------------------------------------------*/
42
/* Exported functions --------------------------------------------------------*/
41
/* Exported functions --------------------------------------------------------*/
43
/** @addtogroup PCDEx_Exported_Functions PCDEx Exported Functions
42
/** @addtogroup PCDEx_Exported_Functions PCDEx Exported Functions
44
  * @{
43
  * @{
45
  */
44
  */
46
/** @addtogroup PCDEx_Exported_Functions_Group1 Peripheral Control functions
45
/** @addtogroup PCDEx_Exported_Functions_Group1 Peripheral Control functions
47
  * @{
46
  * @{
48
  */
47
  */
49
 
48
 
50
 
49
 
51
 
50
 
52
HAL_StatusTypeDef  HAL_PCDEx_PMAConfig(PCD_HandleTypeDef *hpcd, uint16_t ep_addr,
51
HAL_StatusTypeDef  HAL_PCDEx_PMAConfig(PCD_HandleTypeDef *hpcd, uint16_t ep_addr,
53
                                       uint16_t ep_kind, uint32_t pmaadress);
52
                                       uint16_t ep_kind, uint32_t pmaadress);
54
 
53
 
55
void HAL_PCDEx_SetConnectionState(PCD_HandleTypeDef *hpcd, uint8_t state);
54
void HAL_PCDEx_SetConnectionState(PCD_HandleTypeDef *hpcd, uint8_t state);
56
 
55
 
57
void HAL_PCDEx_LPM_Callback(PCD_HandleTypeDef *hpcd, PCD_LPM_MsgTypeDef msg);
56
void HAL_PCDEx_LPM_Callback(PCD_HandleTypeDef *hpcd, PCD_LPM_MsgTypeDef msg);
58
void HAL_PCDEx_BCD_Callback(PCD_HandleTypeDef *hpcd, PCD_BCD_MsgTypeDef msg);
57
void HAL_PCDEx_BCD_Callback(PCD_HandleTypeDef *hpcd, PCD_BCD_MsgTypeDef msg);
59
 
58
 
60
/**
59
/**
61
  * @}
60
  * @}
62
  */
61
  */
63
 
62
 
64
/**
63
/**
65
  * @}
64
  * @}
66
  */
65
  */
67
 
66
 
68
/**
67
/**
69
  * @}
68
  * @}
70
  */
69
  */
71
 
70
 
72
/**
71
/**
73
  * @}
72
  * @}
74
  */
73
  */
75
#endif /* defined (USB) */
74
#endif /* defined (USB) */
76
 
75
 
77
#ifdef __cplusplus
76
#ifdef __cplusplus
78
}
77
}
79
#endif
78
#endif /* __cplusplus */
80
 
79
 
81
 
80
 
82
#endif /* STM32L1xx_HAL_PCD_EX_H */
81
#endif /* STM32L1xx_HAL_PCD_EX_H */
83
 
-
 
84
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
-