X-CUBE-SPN11 for X-NUCLEO-IHM11M1
|
This file provides code for the MSP Initialization and de-Initialization codes. More...
Go to the source code of this file.
Functions | |
void | HAL_MspInit (void) |
Initializes the Global MSP. More... | |
void | HAL_ADC_MspInit (ADC_HandleTypeDef *hadc) |
void | HAL_ADC_MspDeInit (ADC_HandleTypeDef *hadc) |
void | HAL_TIM_Base_MspInit (TIM_HandleTypeDef *htim_base) |
void | HAL_TIM_PWM_MspInit (TIM_HandleTypeDef *htim) |
Initializes the TIM PWM MSP. More... | |
void | HAL_TIMEx_HallSensor_MspInit (TIM_HandleTypeDef *htimex_hallsensor) |
void | HAL_TIM_Base_MspDeInit (TIM_HandleTypeDef *htim_base) |
void | HAL_TIMEx_HallSensor_MspDeInit (TIM_HandleTypeDef *htimex_hallsensor) |
void | HAL_UART_MspInit (UART_HandleTypeDef *huart) |
void | HAL_UART_MspDeInit (UART_HandleTypeDef *huart) |
Detailed Description
This file provides code for the MSP Initialization and de-Initialization codes.
- Author
- IPC
- Version
- V0
- Date
- 10/07/2016 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:
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- 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.
- 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 stm32f4xx_hal_msp.c.
Function Documentation
void HAL_ADC_MspDeInit | ( | ADC_HandleTypeDef * | hadc | ) |
ADC1 GPIO Configuration IHM11M1 PC1 ---—> ADC1_IN11 PC2 ---—> ADC1_IN12 PC3 ---—> ADC1_IN13 PA1 ---—> ADC1_IN1 PA7 ---—> ADC1_IN7 PB0 ---—> ADC1_IN8
Definition at line 160 of file stm32f4xx_hal_msp.c.
void HAL_ADC_MspInit | ( | ADC_HandleTypeDef * | hadc | ) |
ADC1 GPIO Configuration IHM11M1 PC1 ---—> ADC1_IN11 PC2 ---—> ADC1_IN12 PC3 ---—> ADC1_IN13 PA1 ---—> ADC1_IN1 PA7 ---—> ADC1_IN7 PB0 ---—> ADC1_IN8
Definition at line 115 of file stm32f4xx_hal_msp.c.
void HAL_MspInit | ( | void | ) |
Initializes the Global MSP.
GPIO Configuration IHM11M1
Definition at line 48 of file stm32f4xx_hal_msp.c.
References GPIO_CH_COMM, GPIO_CH_ZCR, GPIO_PORT_COMM, and GPIO_PORT_ZCR.
void HAL_TIM_Base_MspDeInit | ( | TIM_HandleTypeDef * | htim_base | ) |
TIM1 GPIO Configuration IHM11M1 PA8 ——> TIM1_CH1 PA9 ——> TIM1_CH2 PA10 ——> TIM1_CH3 PB13 ——> TIM1_CH1N PB14 ——> TIM1_CH2N PB1 ——> TIM1_CH3N
TIM3 GPIO Configuration PB4 ---—> TIM3_CH1
Definition at line 374 of file stm32f4xx_hal_msp.c.
void HAL_TIM_Base_MspInit | ( | TIM_HandleTypeDef * | htim_base | ) |
TIM1 GPIO Configuration IHM11M1 PA8 ——> TIM1_CH1 PA9 ——> TIM1_CH2 PA10 ——> TIM1_CH3 PB13 ——> TIM1_CH1N PB14 ——> TIM1_CH2N PB1 ——> TIM1_CH3N
TIM3 GPIO Configuration IHM11M1 PB4 ---—> TIM3_CH1
Definition at line 195 of file stm32f4xx_hal_msp.c.
void HAL_TIM_PWM_MspInit | ( | TIM_HandleTypeDef * | htim | ) |
Initializes the TIM PWM MSP.
- Parameters
-
htim pointer to a TIM_HandleTypeDef structure that contains the configuration information for TIM module.
- Return values
-
None
TIM1 GPIO Configuration IHM11M1 PA8 ---—> TIM1_CH1 PA9 ---—> TIM1_CH2 PA10 ---—> TIM1_CH3 PB13 ---—> TIM1_CH1N PB14 ---—> TIM1_CH2N PB1 ---—> TIM1_CH3N
Definition at line 287 of file stm32f4xx_hal_msp.c.
void HAL_TIMEx_HallSensor_MspDeInit | ( | TIM_HandleTypeDef * | htimex_hallsensor | ) |
TIM2 GPIO Configuration PA15 ---—> TIM2_CH1 PB10 ---—> TIM2_CH3 PB3 ---—> TIM2_CH2
Definition at line 440 of file stm32f4xx_hal_msp.c.
void HAL_TIMEx_HallSensor_MspInit | ( | TIM_HandleTypeDef * | htimex_hallsensor | ) |
TIM2 GPIO Configuration IHM11M1 PA15 ---—> TIM2_CH1 PB10 ---—> TIM2_CH3 PB3 ---—> TIM2_CH2
Definition at line 326 of file stm32f4xx_hal_msp.c.
void HAL_UART_MspDeInit | ( | UART_HandleTypeDef * | huart | ) |
USART2 GPIO Configuration PA2 ---—> USART2_TX PA3 ---—> USART2_RX
Definition at line 500 of file stm32f4xx_hal_msp.c.
void HAL_UART_MspInit | ( | UART_HandleTypeDef * | huart | ) |
USART2 GPIO Configuration PA2 ---—> USART2_TX PA3 ---—> USART2_RX
Definition at line 467 of file stm32f4xx_hal_msp.c.
Generated by 1.8.11