Vehicle Control Unit 0.01
This is the c library for controlling the car.
|
This file provides code for the MSP Initialization and de-Initialization codes. More...
#include "main.h"
Go to the source code of this file.
Functions | |
void | HAL_MspInit (void) |
void | HAL_ADC_MspInit (ADC_HandleTypeDef *hadc) |
ADC MSP Initialization This function configures the hardware resources used in this example. More... | |
void | HAL_ADC_MspDeInit (ADC_HandleTypeDef *hadc) |
ADC MSP De-Initialization This function freeze the hardware resources used in this example. More... | |
void | HAL_CAN_MspInit (CAN_HandleTypeDef *hcan) |
CAN MSP Initialization This function configures the hardware resources used in this example. More... | |
void | HAL_CAN_MspDeInit (CAN_HandleTypeDef *hcan) |
CAN MSP De-Initialization This function freeze the hardware resources used in this example. More... | |
void | HAL_I2C_MspInit (I2C_HandleTypeDef *hi2c) |
I2C MSP Initialization This function configures the hardware resources used in this example. More... | |
void | HAL_I2C_MspDeInit (I2C_HandleTypeDef *hi2c) |
I2C MSP De-Initialization This function freeze the hardware resources used in this example. More... | |
void | HAL_SPI_MspInit (SPI_HandleTypeDef *hspi) |
SPI MSP Initialization This function configures the hardware resources used in this example. More... | |
void | HAL_SPI_MspDeInit (SPI_HandleTypeDef *hspi) |
SPI MSP De-Initialization This function freeze the hardware resources used in this example. More... | |
void | HAL_TIM_Base_MspInit (TIM_HandleTypeDef *htim_base) |
TIM_Base MSP Initialization This function configures the hardware resources used in this example. More... | |
void | HAL_TIM_Base_MspDeInit (TIM_HandleTypeDef *htim_base) |
TIM_Base MSP De-Initialization This function freeze the hardware resources used in this example. More... | |
void | HAL_UART_MspInit (UART_HandleTypeDef *huart) |
UART MSP Initialization This function configures the hardware resources used in this example. More... | |
void | HAL_UART_MspDeInit (UART_HandleTypeDef *huart) |
UART MSP De-Initialization This function freeze the hardware resources used in this example. More... | |
Variables | |
DMA_HandleTypeDef | hdma_adc1 |
DMA_HandleTypeDef | hdma_adc2 |
DMA_HandleTypeDef | hdma_adc3 |
static uint32_t | HAL_RCC_CAN1_CLK_ENABLED =0 |
This file provides code for the MSP Initialization and de-Initialization codes.
Copyright (c) 2024 STMicroelectronics. All rights reserved.
This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.
Definition in file stm32f7xx_hal_msp.c.
void HAL_ADC_MspDeInit | ( | ADC_HandleTypeDef * | hadc | ) |
ADC MSP De-Initialization This function freeze the hardware resources used in this example.
hadc | ADC handle pointer |
None |
ADC1 GPIO Configuration PA0/WKUP ---—> ADC1_IN0 PA1 ---—> ADC1_IN1 PA2 ---—> ADC1_IN2 PA3 ---—> ADC1_IN3 PA4 ---—> ADC1_IN4 PA5 ---—> ADC1_IN5
ADC2 GPIO Configuration PA6 ---—> ADC2_IN6 PA7 ---—> ADC2_IN7 PC4 ---—> ADC2_IN14 PC5 ---—> ADC2_IN15 PB0 ---—> ADC2_IN8 PB1 ---—> ADC2_IN9
ADC3 GPIO Configuration PC0 ---—> ADC3_IN10 PC1 ---—> ADC3_IN11 PC2 ---—> ADC3_IN12 PC3 ---—> ADC3_IN13
Definition at line 249 of file stm32f7xx_hal_msp.c.
void HAL_ADC_MspInit | ( | ADC_HandleTypeDef * | hadc | ) |
ADC MSP Initialization This function configures the hardware resources used in this example.
hadc | ADC handle pointer |
None |
ADC1 GPIO Configuration PA0/WKUP ---—> ADC1_IN0 PA1 ---—> ADC1_IN1 PA2 ---—> ADC1_IN2 PA3 ---—> ADC1_IN3 PA4 ---—> ADC1_IN4 PA5 ---—> ADC1_IN5
ADC2 GPIO Configuration PA6 ---—> ADC2_IN6 PA7 ---—> ADC2_IN7 PC4 ---—> ADC2_IN14 PC5 ---—> ADC2_IN15 PB0 ---—> ADC2_IN8 PB1 ---—> ADC2_IN9
ADC3 GPIO Configuration PC0 ---—> ADC3_IN10 PC1 ---—> ADC3_IN11 PC2 ---—> ADC3_IN12 PC3 ---—> ADC3_IN13
Definition at line 91 of file stm32f7xx_hal_msp.c.
void HAL_CAN_MspDeInit | ( | CAN_HandleTypeDef * | hcan | ) |
CAN MSP De-Initialization This function freeze the hardware resources used in this example.
hcan | CAN handle pointer |
None |
CAN1 GPIO Configuration PD0 ---—> CAN1_RX PD1 ---—> CAN1_TX
CAN2 GPIO Configuration PB13 ---—> CAN2_TX PB5 ---—> CAN2_RX
Definition at line 410 of file stm32f7xx_hal_msp.c.
void HAL_CAN_MspInit | ( | CAN_HandleTypeDef * | hcan | ) |
CAN MSP Initialization This function configures the hardware resources used in this example.
hcan | CAN handle pointer |
None |
CAN1 GPIO Configuration PD0 ---—> CAN1_RX PD1 ---—> CAN1_TX
CAN2 GPIO Configuration PB13 ---—> CAN2_TX PB5 ---—> CAN2_RX
Definition at line 337 of file stm32f7xx_hal_msp.c.
void HAL_I2C_MspDeInit | ( | I2C_HandleTypeDef * | hi2c | ) |
I2C MSP De-Initialization This function freeze the hardware resources used in this example.
hi2c | I2C handle pointer |
None |
I2C1 GPIO Configuration PB8 ---—> I2C1_SCL PB9 ---—> I2C1_SDA
I2C2 GPIO Configuration PF0 ---—> I2C2_SDA PF1 ---—> I2C2_SCL
I2C4 GPIO Configuration PF14 ---—> I2C4_SCL PF15 ---—> I2C4_SDA
Definition at line 580 of file stm32f7xx_hal_msp.c.
void HAL_I2C_MspInit | ( | I2C_HandleTypeDef * | hi2c | ) |
I2C MSP Initialization This function configures the hardware resources used in this example.
hi2c | I2C handle pointer |
None |
Initializes the peripherals clock
I2C1 GPIO Configuration PB8 ---—> I2C1_SCL PB9 ---—> I2C1_SDA
Initializes the peripherals clock
I2C2 GPIO Configuration PF0 ---—> I2C2_SDA PF1 ---—> I2C2_SCL
Initializes the peripherals clock
I2C4 GPIO Configuration PF14 ---—> I2C4_SCL PF15 ---—> I2C4_SDA
Definition at line 468 of file stm32f7xx_hal_msp.c.
void HAL_MspInit | ( | void | ) |
Initializes the Global MSP.
Definition at line 68 of file stm32f7xx_hal_msp.c.
void HAL_SPI_MspDeInit | ( | SPI_HandleTypeDef * | hspi | ) |
SPI MSP De-Initialization This function freeze the hardware resources used in this example.
hspi | SPI handle pointer |
None |
SPI3 GPIO Configuration PB2 ---—> SPI3_MOSI PC10 ---—> SPI3_SCK PC11 ---—> SPI3_MISO
SPI4 GPIO Configuration PE2 ---—> SPI4_SCK PE5 ---—> SPI4_MISO PE6 ---—> SPI4_MOSI
SPI5 GPIO Configuration PF7 ---—> SPI5_SCK PF8 ---—> SPI5_MISO PF9 ---—> SPI5_MOSI
Definition at line 746 of file stm32f7xx_hal_msp.c.
void HAL_SPI_MspInit | ( | SPI_HandleTypeDef * | hspi | ) |
SPI MSP Initialization This function configures the hardware resources used in this example.
hspi | SPI handle pointer |
None |
SPI3 GPIO Configuration PB2 ---—> SPI3_MOSI PC10 ---—> SPI3_SCK PC11 ---—> SPI3_MISO
SPI4 GPIO Configuration PE2 ---—> SPI4_SCK PE5 ---—> SPI4_MISO PE6 ---—> SPI4_MOSI
SPI5 GPIO Configuration PF7 ---—> SPI5_SCK PF8 ---—> SPI5_MISO PF9 ---—> SPI5_MOSI
Definition at line 651 of file stm32f7xx_hal_msp.c.
void HAL_TIM_Base_MspDeInit | ( | TIM_HandleTypeDef * | htim_base | ) |
TIM_Base MSP De-Initialization This function freeze the hardware resources used in this example.
htim_base | TIM_Base handle pointer |
None |
Definition at line 838 of file stm32f7xx_hal_msp.c.
void HAL_TIM_Base_MspInit | ( | TIM_HandleTypeDef * | htim_base | ) |
TIM_Base MSP Initialization This function configures the hardware resources used in this example.
htim_base | TIM_Base handle pointer |
None |
Definition at line 816 of file stm32f7xx_hal_msp.c.
void HAL_UART_MspDeInit | ( | UART_HandleTypeDef * | huart | ) |
UART MSP De-Initialization This function freeze the hardware resources used in this example.
huart | UART handle pointer |
None |
USART3 GPIO Configuration PD8 ---—> USART3_TX PD9 ---—> USART3_RX
Definition at line 907 of file stm32f7xx_hal_msp.c.
void HAL_UART_MspInit | ( | UART_HandleTypeDef * | huart | ) |
UART MSP Initialization This function configures the hardware resources used in this example.
huart | UART handle pointer |
None |
Initializes the peripherals clock
USART3 GPIO Configuration PD8 ---—> USART3_TX PD9 ---—> USART3_RX
Definition at line 860 of file stm32f7xx_hal_msp.c.
|
static |
Definition at line 329 of file stm32f7xx_hal_msp.c.
|
extern |
Definition at line 46 of file AnalogSensor.h.
|
extern |
Definition at line 46 of file AnalogSensor.h.