Rev 2 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2 | Rev 9 | ||
---|---|---|---|
Line 5... | Line 5... | ||
5 | * @brief This file contains all the functions prototypes for the HAL |
5 | * @brief This file contains all the functions prototypes for the HAL |
6 | * module driver. |
6 | * module driver. |
7 | ****************************************************************************** |
7 | ****************************************************************************** |
8 | * @attention |
8 | * @attention |
9 | * |
9 | * |
10 | * <h2><center>© COPYRIGHT(c) 2017 STMicroelectronics</center></h2> |
10 | * <h2><center>© Copyright (c) 2017 STMicroelectronics. |
- | 11 | * All rights reserved.</center></h2> |
|
11 | * |
12 | * |
12 | * Redistribution and use in source and binary forms, with or without modification, |
13 | * This software component is licensed by ST under BSD 3-Clause license, |
13 | * are permitted provided that the following conditions are met: |
14 | * the "License"; You may not use this file except in compliance with the |
14 | * 1. Redistributions of source code must retain the above copyright notice, |
- | |
15 | * this list of conditions and the following disclaimer. |
- | |
16 | * 2. Redistributions in binary form must reproduce the above copyright notice, |
- | |
17 | * this list of conditions and the following disclaimer in the documentation |
- | |
18 | * and/or other materials provided with the distribution. |
15 | * License. You may obtain a copy of the License at: |
19 | * 3. Neither the name of STMicroelectronics nor the names of its contributors |
- | |
20 | * may be used to endorse or promote products derived from this software |
16 | * opensource.org/licenses/BSD-3-Clause |
21 | * without specific prior written permission. |
- | |
22 | * |
- | |
23 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
- | |
24 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
- | |
25 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
- | |
26 | * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE |
- | |
27 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
- | |
28 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
- | |
29 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
- | |
30 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
- | |
31 | * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
- | |
32 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
- | |
33 | * |
17 | * |
34 | ****************************************************************************** |
18 | ****************************************************************************** |
35 | */ |
19 | */ |
36 | 20 | ||
37 | /* Define to prevent recursive inclusion -------------------------------------*/ |
21 | /* Define to prevent recursive inclusion -------------------------------------*/ |
Line 71... | Line 55... | ||
71 | } HAL_TickFreqTypeDef; |
55 | } HAL_TickFreqTypeDef; |
72 | /** |
56 | /** |
73 | * @} |
57 | * @} |
74 | */ |
58 | */ |
75 | /* Exported types ------------------------------------------------------------*/ |
59 | /* Exported types ------------------------------------------------------------*/ |
- | 60 | extern __IO uint32_t uwTick; |
|
76 | extern uint32_t uwTickPrio; |
61 | extern uint32_t uwTickPrio; |
77 | extern HAL_TickFreqTypeDef uwTickFreq; |
62 | extern HAL_TickFreqTypeDef uwTickFreq; |
78 | 63 | ||
79 | /** |
64 | /** |
80 | * @} |
65 | * @} |
Line 317... | Line 302... | ||
317 | void HAL_SuspendTick(void); |
302 | void HAL_SuspendTick(void); |
318 | void HAL_ResumeTick(void); |
303 | void HAL_ResumeTick(void); |
319 | uint32_t HAL_GetHalVersion(void); |
304 | uint32_t HAL_GetHalVersion(void); |
320 | uint32_t HAL_GetREVID(void); |
305 | uint32_t HAL_GetREVID(void); |
321 | uint32_t HAL_GetDEVID(void); |
306 | uint32_t HAL_GetDEVID(void); |
- | 307 | uint32_t HAL_GetUIDw0(void); |
|
- | 308 | uint32_t HAL_GetUIDw1(void); |
|
- | 309 | uint32_t HAL_GetUIDw2(void); |
|
322 | void HAL_DBGMCU_EnableDBGSleepMode(void); |
310 | void HAL_DBGMCU_EnableDBGSleepMode(void); |
323 | void HAL_DBGMCU_DisableDBGSleepMode(void); |
311 | void HAL_DBGMCU_DisableDBGSleepMode(void); |
324 | void HAL_DBGMCU_EnableDBGStopMode(void); |
312 | void HAL_DBGMCU_EnableDBGStopMode(void); |
325 | void HAL_DBGMCU_DisableDBGStopMode(void); |
313 | void HAL_DBGMCU_DisableDBGStopMode(void); |
326 | void HAL_DBGMCU_EnableDBGStandbyMode(void); |
314 | void HAL_DBGMCU_EnableDBGStandbyMode(void); |
327 | void HAL_DBGMCU_DisableDBGStandbyMode(void); |
315 | void HAL_DBGMCU_DisableDBGStandbyMode(void); |
- | 316 | /** |
|
328 | void HAL_GetUID(uint32_t *UID); |
317 | * @} |
- | 318 | */ |
|
- | 319 | ||
329 | /** |
320 | /** |
330 | * @} |
321 | * @} |
331 | */ |
322 | */ |
332 | 323 | ||
333 | /** |
324 | /** |