Rev 2 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2 | Rev 3 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | /** |
1 | /** |
2 | ****************************************************************************** |
2 | ****************************************************************************** |
3 | * @file stm32f1xx_ll_gpio.c |
3 | * @file stm32f1xx_ll_gpio.c |
4 | * @author MCD Application Team |
4 | * @author MCD Application Team |
5 | * @brief GPIO LL module driver. |
5 | * @brief GPIO LL module driver. |
6 | ****************************************************************************** |
6 | ****************************************************************************** |
7 | * @attention |
7 | * @attention |
8 | * |
8 | * |
9 | * <h2><center>© 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 |
13 | * in the root directory of this software component. |
14 | * License. You may obtain a copy of the License at: |
14 | * If no LICENSE file comes with this software, it is provided AS-IS. |
15 | * opensource.org/licenses/BSD-3-Clause |
15 | * |
16 | * |
16 | ****************************************************************************** |
17 | ****************************************************************************** |
17 | */ |
18 | */ |
18 | |
19 | 19 | #if defined(USE_FULL_LL_DRIVER) |
|
20 | #if defined(USE_FULL_LL_DRIVER) |
20 | |
21 | 21 | /* Includes ------------------------------------------------------------------*/ |
|
22 | /* Includes ------------------------------------------------------------------*/ |
22 | #include "stm32f1xx_ll_gpio.h" |
23 | #include "stm32f1xx_ll_gpio.h" |
23 | #include "stm32f1xx_ll_bus.h" |
24 | #include "stm32f1xx_ll_bus.h" |
24 | #ifdef USE_FULL_ASSERT |
25 | #ifdef USE_FULL_ASSERT |
25 | #include "stm32_assert.h" |
26 | #include "stm32_assert.h" |
26 | #else |
27 | #else |
27 | #define assert_param(expr) ((void)0U) |
28 | #define assert_param(expr) ((void)0U) |
28 | #endif |
29 | #endif |
29 | |
30 | 30 | /** @addtogroup STM32F1xx_LL_Driver |
|
31 | /** @addtogroup STM32F1xx_LL_Driver |
31 | * @{ |
32 | * @{ |
32 | */ |
33 | */ |
33 | |
34 | 34 | #if defined (GPIOA) || defined (GPIOB) || defined (GPIOC) || defined (GPIOD) || defined (GPIOE) || defined (GPIOF) || defined (GPIOG) |
|
35 | #if defined (GPIOA) || defined (GPIOB) || defined (GPIOC) || defined (GPIOD) || defined (GPIOE) || defined (GPIOF) || defined (GPIOG) |
35 | |
36 | 36 | /** @addtogroup GPIO_LL |
|
37 | /** @addtogroup GPIO_LL |
37 | * @{ |
38 | * @{ |
38 | */ |
39 | */ |
39 | |
40 | 40 | /* Private types -------------------------------------------------------------*/ |
|
41 | /* Private types -------------------------------------------------------------*/ |
41 | /* Private variables ---------------------------------------------------------*/ |
42 | /* Private variables ---------------------------------------------------------*/ |
42 | /* Private constants ---------------------------------------------------------*/ |
43 | /* Private constants ---------------------------------------------------------*/ |
43 | /* Private macros ------------------------------------------------------------*/ |
44 | /* Private macros ------------------------------------------------------------*/ |
44 | /** @addtogroup GPIO_LL_Private_Macros |
45 | /** @addtogroup GPIO_LL_Private_Macros |
45 | * @{ |
46 | * @{ |
46 | */ |
47 | */ |
47 | |
48 | 48 | #define IS_LL_GPIO_PIN(__VALUE__) ((((__VALUE__) & LL_GPIO_PIN_ALL)!= 0u) &&\ |
|
49 | #define IS_LL_GPIO_PIN(__VALUE__) ((((__VALUE__) & LL_GPIO_PIN_ALL)!= 0u) &&\ |
49 | (((__VALUE__) & (~LL_GPIO_PIN_ALL))== 0u)) |
50 | (((__VALUE__) & (~LL_GPIO_PIN_ALL))== 0u)) |
50 | |
51 | 51 | #define IS_LL_GPIO_MODE(__VALUE__) (((__VALUE__) == LL_GPIO_MODE_ANALOG) ||\ |
|
52 | #define IS_LL_GPIO_MODE(__VALUE__) (((__VALUE__) == LL_GPIO_MODE_ANALOG) ||\ |
52 | ((__VALUE__) == LL_GPIO_MODE_FLOATING) ||\ |
53 | ((__VALUE__) == LL_GPIO_MODE_FLOATING) ||\ |
53 | ((__VALUE__) == LL_GPIO_MODE_INPUT) ||\ |
54 | ((__VALUE__) == LL_GPIO_MODE_INPUT) ||\ |
54 | ((__VALUE__) == LL_GPIO_MODE_OUTPUT) ||\ |
55 | ((__VALUE__) == LL_GPIO_MODE_OUTPUT) ||\ |
55 | ((__VALUE__) == LL_GPIO_MODE_ALTERNATE)) |
56 | ((__VALUE__) == LL_GPIO_MODE_ALTERNATE)) |
56 | |
57 | 57 | #define IS_LL_GPIO_SPEED(__VALUE__) (((__VALUE__) == LL_GPIO_SPEED_FREQ_LOW) ||\ |
|
58 | #define IS_LL_GPIO_SPEED(__VALUE__) (((__VALUE__) == LL_GPIO_SPEED_FREQ_LOW) ||\ |
58 | ((__VALUE__) == LL_GPIO_SPEED_FREQ_MEDIUM) ||\ |
59 | ((__VALUE__) == LL_GPIO_SPEED_FREQ_MEDIUM) ||\ |
59 | ((__VALUE__) == LL_GPIO_SPEED_FREQ_HIGH)) |
60 | ((__VALUE__) == LL_GPIO_SPEED_FREQ_HIGH)) |
60 | |
61 | 61 | #define IS_LL_GPIO_OUTPUT_TYPE(__VALUE__) (((__VALUE__) == LL_GPIO_OUTPUT_PUSHPULL) ||\ |
|
62 | #define IS_LL_GPIO_OUTPUT_TYPE(__VALUE__) (((__VALUE__) == LL_GPIO_OUTPUT_PUSHPULL) ||\ |
62 | ((__VALUE__) == LL_GPIO_OUTPUT_OPENDRAIN)) |
63 | ((__VALUE__) == LL_GPIO_OUTPUT_OPENDRAIN)) |
63 | |
64 | 64 | #define IS_LL_GPIO_PULL(__VALUE__) (((__VALUE__) == LL_GPIO_PULL_DOWN) ||\ |
|
65 | #define IS_LL_GPIO_PULL(__VALUE__) (((__VALUE__) == LL_GPIO_PULL_DOWN) ||\ |
65 | ((__VALUE__) == LL_GPIO_PULL_UP)) |
66 | ((__VALUE__) == LL_GPIO_PULL_UP)) |
66 | |
67 | 67 | /** |
|
68 | /** |
68 | * @} |
69 | * @} |
69 | */ |
70 | */ |
70 | |
71 | 71 | /* Private function prototypes -----------------------------------------------*/ |
|
72 | /* Private function prototypes -----------------------------------------------*/ |
72 | |
73 | 73 | /* Exported functions --------------------------------------------------------*/ |
|
74 | /* Exported functions --------------------------------------------------------*/ |
74 | /** @addtogroup GPIO_LL_Exported_Functions |
75 | /** @addtogroup GPIO_LL_Exported_Functions |
75 | * @{ |
76 | * @{ |
76 | */ |
77 | */ |
77 | |
78 | 78 | /** @addtogroup GPIO_LL_EF_Init |
|
79 | /** @addtogroup GPIO_LL_EF_Init |
79 | * @{ |
80 | * @{ |
80 | */ |
81 | */ |
81 | |
82 | 82 | /** |
|
83 | /** |
83 | * @brief De-initialize GPIO registers (Registers restored to their default values). |
84 | * @brief De-initialize GPIO registers (Registers restored to their default values). |
84 | * @param GPIOx GPIO Port |
85 | * @param GPIOx GPIO Port |
85 | * @retval An ErrorStatus enumeration value: |
86 | * @retval An ErrorStatus enumeration value: |
86 | * - SUCCESS: GPIO registers are de-initialized |
87 | * - SUCCESS: GPIO registers are de-initialized |
87 | * - ERROR: Wrong GPIO Port |
88 | * - ERROR: Wrong GPIO Port |
88 | */ |
89 | */ |
89 | ErrorStatus LL_GPIO_DeInit(GPIO_TypeDef *GPIOx) |
90 | ErrorStatus LL_GPIO_DeInit(GPIO_TypeDef *GPIOx) |
90 | { |
91 | { |
91 | ErrorStatus status = SUCCESS; |
92 | ErrorStatus status = SUCCESS; |
92 | |
93 | 93 | /* Check the parameters */ |
|
94 | /* Check the parameters */ |
94 | assert_param(IS_GPIO_ALL_INSTANCE(GPIOx)); |
95 | assert_param(IS_GPIO_ALL_INSTANCE(GPIOx)); |
95 | |
96 | 96 | /* Force and Release reset on clock of GPIOx Port */ |
|
97 | /* Force and Release reset on clock of GPIOx Port */ |
97 | if (GPIOx == GPIOA) |
98 | if (GPIOx == GPIOA) |
98 | { |
99 | { |
99 | LL_APB2_GRP1_ForceReset(LL_APB2_GRP1_PERIPH_GPIOA); |
100 | LL_APB2_GRP1_ForceReset(LL_APB2_GRP1_PERIPH_GPIOA); |
100 | LL_APB2_GRP1_ReleaseReset(LL_APB2_GRP1_PERIPH_GPIOA); |
101 | LL_APB2_GRP1_ReleaseReset(LL_APB2_GRP1_PERIPH_GPIOA); |
101 | } |
102 | } |
102 | else if (GPIOx == GPIOB) |
103 | else if (GPIOx == GPIOB) |
103 | { |
104 | { |
104 | LL_APB2_GRP1_ForceReset(LL_APB2_GRP1_PERIPH_GPIOB); |
105 | LL_APB2_GRP1_ForceReset(LL_APB2_GRP1_PERIPH_GPIOB); |
105 | LL_APB2_GRP1_ReleaseReset(LL_APB2_GRP1_PERIPH_GPIOB); |
106 | LL_APB2_GRP1_ReleaseReset(LL_APB2_GRP1_PERIPH_GPIOB); |
106 | } |
107 | } |
107 | else if (GPIOx == GPIOC) |
108 | else if (GPIOx == GPIOC) |
108 | { |
109 | { |
109 | LL_APB2_GRP1_ForceReset(LL_APB2_GRP1_PERIPH_GPIOC); |
110 | LL_APB2_GRP1_ForceReset(LL_APB2_GRP1_PERIPH_GPIOC); |
110 | LL_APB2_GRP1_ReleaseReset(LL_APB2_GRP1_PERIPH_GPIOC); |
111 | LL_APB2_GRP1_ReleaseReset(LL_APB2_GRP1_PERIPH_GPIOC); |
111 | } |
112 | } |
112 | else if (GPIOx == GPIOD) |
113 | else if (GPIOx == GPIOD) |
113 | { |
114 | { |
114 | LL_APB2_GRP1_ForceReset(LL_APB2_GRP1_PERIPH_GPIOD); |
115 | LL_APB2_GRP1_ForceReset(LL_APB2_GRP1_PERIPH_GPIOD); |
115 | LL_APB2_GRP1_ReleaseReset(LL_APB2_GRP1_PERIPH_GPIOD); |
116 | LL_APB2_GRP1_ReleaseReset(LL_APB2_GRP1_PERIPH_GPIOD); |
116 | } |
117 | } |
117 | #if defined(GPIOE) |
118 | #if defined(GPIOE) |
118 | else if (GPIOx == GPIOE) |
119 | else if (GPIOx == GPIOE) |
119 | { |
120 | { |
120 | LL_APB2_GRP1_ForceReset(LL_APB2_GRP1_PERIPH_GPIOE); |
121 | LL_APB2_GRP1_ForceReset(LL_APB2_GRP1_PERIPH_GPIOE); |
121 | LL_APB2_GRP1_ReleaseReset(LL_APB2_GRP1_PERIPH_GPIOE); |
122 | LL_APB2_GRP1_ReleaseReset(LL_APB2_GRP1_PERIPH_GPIOE); |
122 | } |
123 | } |
123 | #endif |
124 | #endif |
124 | #if defined(GPIOF) |
125 | #if defined(GPIOF) |
125 | else if (GPIOx == GPIOF) |
126 | else if (GPIOx == GPIOF) |
126 | { |
127 | { |
127 | LL_APB2_GRP1_ForceReset(LL_APB2_GRP1_PERIPH_GPIOF); |
128 | LL_APB2_GRP1_ForceReset(LL_APB2_GRP1_PERIPH_GPIOF); |
128 | LL_APB2_GRP1_ReleaseReset(LL_APB2_GRP1_PERIPH_GPIOF); |
129 | LL_APB2_GRP1_ReleaseReset(LL_APB2_GRP1_PERIPH_GPIOF); |
129 | } |
130 | } |
130 | #endif |
131 | #endif |
131 | #if defined(GPIOG) |
132 | #if defined(GPIOG) |
132 | else if (GPIOx == GPIOG) |
133 | else if (GPIOx == GPIOG) |
133 | { |
134 | { |
134 | LL_APB2_GRP1_ForceReset(LL_APB2_GRP1_PERIPH_GPIOG); |
135 | LL_APB2_GRP1_ForceReset(LL_APB2_GRP1_PERIPH_GPIOG); |
135 | LL_APB2_GRP1_ReleaseReset(LL_APB2_GRP1_PERIPH_GPIOG); |
136 | LL_APB2_GRP1_ReleaseReset(LL_APB2_GRP1_PERIPH_GPIOG); |
136 | } |
137 | } |
137 | #endif |
138 | #endif |
138 | else |
139 | else |
139 | { |
140 | { |
140 | status = ERROR; |
141 | status = ERROR; |
141 | } |
142 | } |
142 | |
143 | 143 | return (status); |
|
144 | return (status); |
144 | } |
145 | } |
145 | |
146 | 146 | /** |
|
147 | /** |
147 | * @brief Initialize GPIO registers according to the specified parameters in GPIO_InitStruct. |
148 | * @brief Initialize GPIO registers according to the specified parameters in GPIO_InitStruct. |
148 | * @param GPIOx GPIO Port |
149 | * @param GPIOx GPIO Port |
149 | * @param GPIO_InitStruct: pointer to a @ref LL_GPIO_InitTypeDef structure |
150 | * @param GPIO_InitStruct: pointer to a @ref LL_GPIO_InitTypeDef structure |
150 | * that contains the configuration information for the specified GPIO peripheral. |
151 | * that contains the configuration information for the specified GPIO peripheral. |
151 | * @retval An ErrorStatus enumeration value: |
152 | * @retval An ErrorStatus enumeration value: |
152 | * - SUCCESS: GPIO registers are initialized according to GPIO_InitStruct content |
153 | * - SUCCESS: GPIO registers are initialized according to GPIO_InitStruct content |
153 | * - ERROR: Not applicable |
154 | * - ERROR: Not applicable |
154 | */ |
155 | */ |
155 | ErrorStatus LL_GPIO_Init(GPIO_TypeDef *GPIOx, LL_GPIO_InitTypeDef *GPIO_InitStruct) |
156 | ErrorStatus LL_GPIO_Init(GPIO_TypeDef *GPIOx, LL_GPIO_InitTypeDef *GPIO_InitStruct) |
156 | { |
157 | { |
157 | uint32_t pinmask; |
158 | uint32_t pinmask; |
158 | uint32_t pinpos; |
159 | uint32_t pinpos; |
159 | uint32_t currentpin; |
160 | uint32_t currentpin; |
160 | |
161 | 161 | /* Check the parameters */ |
|
162 | /* Check the parameters */ |
162 | assert_param(IS_GPIO_ALL_INSTANCE(GPIOx)); |
163 | assert_param(IS_GPIO_ALL_INSTANCE(GPIOx)); |
163 | assert_param(IS_LL_GPIO_PIN(GPIO_InitStruct->Pin)); |
164 | assert_param(IS_LL_GPIO_PIN(GPIO_InitStruct->Pin)); |
164 | |
165 | 165 | /* ------------------------- Configure the port pins ---------------- */ |
|
166 | /* ------------------------- Configure the port pins ---------------- */ |
166 | /* Initialize pinpos on first pin set */ |
167 | /* Initialize pinpos on first pin set */ |
167 | |
168 | 168 | pinmask = ((GPIO_InitStruct->Pin) << GPIO_PIN_MASK_POS) >> GPIO_PIN_NB; |
|
169 | pinmask = ((GPIO_InitStruct->Pin) << GPIO_PIN_MASK_POS) >> GPIO_PIN_NB; |
169 | pinpos = POSITION_VAL(pinmask); |
170 | pinpos = POSITION_VAL(pinmask); |
170 | |
171 | 171 | /* Configure the port pins */ |
|
172 | /* Configure the port pins */ |
172 | while ((pinmask >> pinpos) != 0u) |
173 | while ((pinmask >> pinpos) != 0u) |
173 | { |
174 | { |
174 | /* skip if bit is not set */ |
175 | /* skip if bit is not set */ |
175 | if ((pinmask & (1u << pinpos)) != 0u) |
176 | if ((pinmask & (1u << pinpos)) != 0u) |
176 | { |
177 | { |
177 | /* Get current io position */ |
178 | /* Get current io position */ |
178 | if (pinpos < GPIO_PIN_MASK_POS) |
179 | if (pinpos < GPIO_PIN_MASK_POS) |
179 | { |
180 | { |
180 | currentpin = (0x00000101uL << pinpos); |
181 | currentpin = (0x00000101uL << pinpos); |
181 | } |
182 | } |
182 | else |
183 | else |
183 | { |
184 | { |
184 | currentpin = ((0x00010001u << (pinpos - GPIO_PIN_MASK_POS)) | 0x04000000u); |
185 | currentpin = ((0x00010001u << (pinpos - GPIO_PIN_MASK_POS)) | 0x04000000u); |
185 | } |
186 | } |
186 | |
187 | 187 | if (GPIO_InitStruct->Mode == LL_GPIO_MODE_INPUT) |
|
188 | if (GPIO_InitStruct->Mode == LL_GPIO_MODE_INPUT) |
188 | { |
189 | { |
189 | /* Check The Pull parameter */ |
190 | /* Check The Pull parameter */ |
190 | assert_param(IS_LL_GPIO_PULL(GPIO_InitStruct->Pull)); |
191 | assert_param(IS_LL_GPIO_PULL(GPIO_InitStruct->Pull)); |
191 | |
192 | 192 | /* Pull-up Pull-down resistor configuration*/ |
|
193 | /* Pull-up Pull-down resistor configuration*/ |
193 | LL_GPIO_SetPinPull(GPIOx, currentpin, GPIO_InitStruct->Pull); |
194 | LL_GPIO_SetPinPull(GPIOx, currentpin, GPIO_InitStruct->Pull); |
194 | } |
195 | } |
195 | |
196 | 196 | /* Check Pin Mode parameters */ |
|
197 | /* Check Pin Mode parameters */ |
197 | assert_param(IS_LL_GPIO_MODE(GPIO_InitStruct->Mode)); |
198 | assert_param(IS_LL_GPIO_MODE(GPIO_InitStruct->Mode)); |
198 | |
199 | 199 | /* Pin Mode configuration */ |
|
200 | /* Pin Mode configuration */ |
200 | LL_GPIO_SetPinMode(GPIOx, currentpin, GPIO_InitStruct->Mode); |
201 | LL_GPIO_SetPinMode(GPIOx, currentpin, GPIO_InitStruct->Mode); |
201 | |
202 | 202 | if ((GPIO_InitStruct->Mode == LL_GPIO_MODE_OUTPUT) || (GPIO_InitStruct->Mode == LL_GPIO_MODE_ALTERNATE)) |
|
203 | if ((GPIO_InitStruct->Mode == LL_GPIO_MODE_OUTPUT) || (GPIO_InitStruct->Mode == LL_GPIO_MODE_ALTERNATE)) |
203 | { |
204 | { |
204 | /* Check speed and Output mode parameters */ |
205 | /* Check speed and Output mode parameters */ |
205 | assert_param(IS_LL_GPIO_SPEED(GPIO_InitStruct->Speed)); |
206 | assert_param(IS_LL_GPIO_SPEED(GPIO_InitStruct->Speed)); |
206 | assert_param(IS_LL_GPIO_OUTPUT_TYPE(GPIO_InitStruct->OutputType)); |
207 | assert_param(IS_LL_GPIO_OUTPUT_TYPE(GPIO_InitStruct->OutputType)); |
207 | |
208 | 208 | /* Speed mode configuration */ |
|
209 | /* Speed mode configuration */ |
209 | LL_GPIO_SetPinSpeed(GPIOx, currentpin, GPIO_InitStruct->Speed); |
210 | LL_GPIO_SetPinSpeed(GPIOx, currentpin, GPIO_InitStruct->Speed); |
210 | |
211 | 211 | /* Output mode configuration*/ |
|
212 | /* Output mode configuration*/ |
212 | LL_GPIO_SetPinOutputType(GPIOx, currentpin, GPIO_InitStruct->OutputType); |
213 | LL_GPIO_SetPinOutputType(GPIOx, currentpin, GPIO_InitStruct->OutputType); |
213 | } |
214 | } |
214 | } |
215 | } |
215 | pinpos++; |
216 | pinpos++; |
216 | } |
217 | } |
217 | return (SUCCESS); |
218 | return (SUCCESS); |
218 | } |
219 | } |
219 | |
220 | 220 | /** |
|
221 | /** |
221 | * @brief Set each @ref LL_GPIO_InitTypeDef field to default value. |
222 | * @brief Set each @ref LL_GPIO_InitTypeDef field to default value. |
222 | * @param GPIO_InitStruct: pointer to a @ref LL_GPIO_InitTypeDef structure |
223 | * @param GPIO_InitStruct: pointer to a @ref LL_GPIO_InitTypeDef structure |
223 | * whose fields will be set to default values. |
224 | * whose fields will be set to default values. |
224 | * @retval None |
225 | * @retval None |
225 | */ |
226 | */ |
226 | |
227 | 227 | void LL_GPIO_StructInit(LL_GPIO_InitTypeDef *GPIO_InitStruct) |
|
228 | void LL_GPIO_StructInit(LL_GPIO_InitTypeDef *GPIO_InitStruct) |
228 | { |
229 | { |
229 | /* Reset GPIO init structure parameters values */ |
230 | /* Reset GPIO init structure parameters values */ |
230 | GPIO_InitStruct->Pin = LL_GPIO_PIN_ALL; |
231 | GPIO_InitStruct->Pin = LL_GPIO_PIN_ALL; |
231 | GPIO_InitStruct->Mode = LL_GPIO_MODE_FLOATING; |
232 | GPIO_InitStruct->Mode = LL_GPIO_MODE_FLOATING; |
232 | GPIO_InitStruct->Speed = LL_GPIO_SPEED_FREQ_LOW; |
233 | GPIO_InitStruct->Speed = LL_GPIO_SPEED_FREQ_LOW; |
233 | GPIO_InitStruct->OutputType = LL_GPIO_OUTPUT_OPENDRAIN; |
234 | GPIO_InitStruct->OutputType = LL_GPIO_OUTPUT_OPENDRAIN; |
234 | GPIO_InitStruct->Pull = LL_GPIO_PULL_DOWN; |
235 | GPIO_InitStruct->Pull = LL_GPIO_PULL_DOWN; |
235 | } |
236 | } |
236 | |
237 | 237 | /** |
|
238 | /** |
238 | * @} |
239 | * @} |
239 | */ |
240 | */ |
240 | |
241 | 241 | /** |
|
242 | /** |
242 | * @} |
243 | * @} |
243 | */ |
244 | */ |
244 | |
245 | 245 | /** |
|
246 | /** |
246 | * @} |
247 | * @} |
247 | */ |
248 | */ |
248 | |
249 | 249 | #endif /* defined (GPIOA) || defined (GPIOB) || defined (GPIOC) || defined (GPIOD) || defined (GPIOE) || defined (GPIOF) || defined (GPIOG) */ |
|
250 | #endif /* defined (GPIOA) || defined (GPIOB) || defined (GPIOC) || defined (GPIOD) || defined (GPIOE) || defined (GPIOF) || defined (GPIOG) */ |
250 | |
251 | 251 | /** |
|
252 | /** |
252 | * @} |
253 | * @} |
253 | */ |
254 | */ |
254 | |
255 | 255 | #endif /* USE_FULL_LL_DRIVER */ |
|
256 | #endif /* USE_FULL_LL_DRIVER */ |
256 | |
257 | - | ||
258 | /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ |
- |