Hal Drivers for L4
Dependents: BSP OneHopeOnePrayer FINAL_AUDIO_RECORD AudioDemo
Fork of STM32L4xx_HAL_Driver by
stm32l4xx_hal.c File Reference
HAL module driver. This is the common part of the HAL initialization. More...
Go to the source code of this file.
Functions | |
HAL_StatusTypeDef | HAL_Init (void) |
Configure the Flash prefetch, the Instruction and Data caches, the time base source, NVIC and any required global low level hardware by calling the HAL_MspInit() callback function to be optionally defined in user file stm32l4xx_hal_msp.c. | |
HAL_StatusTypeDef | HAL_DeInit (void) |
De-initialize common part of the HAL and stop the source of time base. | |
__weak void | HAL_MspInit (void) |
Initialize the MSP. | |
__weak void | HAL_MspDeInit (void) |
DeInitialize the MSP. | |
__weak HAL_StatusTypeDef | HAL_InitTick (uint32_t TickPriority) |
This function configures the source of the time base: The time source is configured to have 1ms time base with a dedicated Tick interrupt priority. | |
__weak void | HAL_IncTick (void) |
This function is called to increment a global variable "uwTick" used as application time base. | |
__weak uint32_t | HAL_GetTick (void) |
Provide a tick value in millisecond. | |
__weak void | HAL_Delay (uint32_t Delay) |
Provide accurate delay (in milliseconds) based on variable incremented. | |
__weak void | HAL_SuspendTick (void) |
Suspend Tick increment. | |
__weak void | HAL_ResumeTick (void) |
Resume Tick increment. | |
uint32_t | HAL_GetHalVersion (void) |
Return the HAL revision. | |
uint32_t | HAL_GetREVID (void) |
Return the device revision identifier. | |
uint32_t | HAL_GetDEVID (void) |
Return the device identifier. | |
void | HAL_DBGMCU_EnableDBGSleepMode (void) |
Enable the Debug Module during SLEEP mode. | |
void | HAL_DBGMCU_DisableDBGSleepMode (void) |
Disable the Debug Module during SLEEP mode. | |
void | HAL_DBGMCU_EnableDBGStopMode (void) |
Enable the Debug Module during STOP1/STOP2 modes. | |
void | HAL_DBGMCU_DisableDBGStopMode (void) |
Disable the Debug Module during STOP1/STOP2 modes. | |
void | HAL_DBGMCU_EnableDBGStandbyMode (void) |
Enable the Debug Module during STANDBY mode. | |
void | HAL_DBGMCU_DisableDBGStandbyMode (void) |
Disable the Debug Module during STANDBY mode. | |
void | HAL_SYSCFG_SRAM2Erase (void) |
Start a hardware SRAM2 erase operation. | |
void | HAL_SYSCFG_EnableMemorySwappingBank (void) |
Enable the Internal FLASH Bank Swapping. | |
void | HAL_SYSCFG_DisableMemorySwappingBank (void) |
Disable the Internal FLASH Bank Swapping. | |
void | HAL_SYSCFG_VREFBUF_VoltageScalingConfig (uint32_t VoltageScaling) |
Configure the internal voltage reference buffer voltage scale. | |
void | HAL_SYSCFG_VREFBUF_HighImpedanceConfig (uint32_t Mode) |
Configure the internal voltage reference buffer high impedance mode. | |
void | HAL_SYSCFG_VREFBUF_TrimmingConfig (uint32_t TrimmingValue) |
Tune the Internal Voltage Reference buffer (VREFBUF). | |
HAL_StatusTypeDef | HAL_SYSCFG_EnableVREFBUF (void) |
Enable the Internal Voltage Reference buffer (VREFBUF). | |
void | HAL_SYSCFG_DisableVREFBUF (void) |
Disable the Internal Voltage Reference buffer (VREFBUF). |
Detailed Description
HAL module driver. This is the common part of the HAL initialization.
- Version:
- V1.1.0
- Date:
- 16-September-2015
============================================================================== ##### How to use this driver ##### ============================================================================== [..] The common HAL driver contains a set of generic and common APIs that can be used by the PPP peripheral drivers and the user to start using the HAL. [..] The HAL contains two APIs' categories: (+) Common HAL APIs (+) Services HAL APIs
- Attention:
© COPYRIGHT(c) 2015 STMicroelectronics
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of STMicroelectronics nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Definition in file stm32l4xx_hal.c.
Generated on Tue Jul 12 2022 11:35:17 by 1.7.2