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_DAC_MspInit (DAC_HandleTypeDef *hdac) |
DAC MSP Initialization This function configures the hardware resources used in this example. More... | |
void | HAL_DAC_MspDeInit (DAC_HandleTypeDef *hdac) |
DAC 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 |
DMA_HandleTypeDef | hdma_dac1 |
DMA_HandleTypeDef | hdma_dac2 |
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 PC0 ---—> ADC1_IN10 PC2 ---—> ADC1_IN12 PA0/WKUP ---—> ADC1_IN0 PA2 ---—> ADC1_IN2 PA6 ---—> ADC1_IN6 PC4 ---—> ADC1_IN14 PB0 ---—> ADC1_IN8
ADC2 GPIO Configuration PC1 ---—> ADC2_IN11 PC3 ---—> ADC2_IN13 PA1 ---—> ADC2_IN1 PA3 ---—> ADC2_IN3 PA7 ---—> ADC2_IN7 PC5 ---—> ADC2_IN15 PB1 ---—> ADC2_IN9
ADC3 GPIO Configuration PF3 ---—> ADC3_IN9 PF4 ---—> ADC3_IN14 PF5 ---—> ADC3_IN15 PF6 ---—> ADC3_IN4 PF7 ---—> ADC3_IN5 PF8 ---—> ADC3_IN6 PF9 ---—> ADC3_IN7 PF10 ---—> ADC3_IN8
Definition at line 271 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 PC0 ---—> ADC1_IN10 PC2 ---—> ADC1_IN12 PA0/WKUP ---—> ADC1_IN0 PA2 ---—> ADC1_IN2 PA6 ---—> ADC1_IN6 PC4 ---—> ADC1_IN14 PB0 ---—> ADC1_IN8
ADC2 GPIO Configuration PC1 ---—> ADC2_IN11 PC3 ---—> ADC2_IN13 PA1 ---—> ADC2_IN1 PA3 ---—> ADC2_IN3 PA7 ---—> ADC2_IN7 PC5 ---—> ADC2_IN15 PB1 ---—> ADC2_IN9
ADC3 GPIO Configuration PF3 ---—> ADC3_IN9 PF4 ---—> ADC3_IN14 PF5 ---—> ADC3_IN15 PF6 ---—> ADC3_IN4 PF7 ---—> ADC3_IN5 PF8 ---—> ADC3_IN6 PF9 ---—> ADC3_IN7 PF10 ---—> ADC3_IN8
Definition at line 95 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
CAN3 GPIO Configuration PA15 ---—> CAN3_TX PB3 ---—> CAN3_RX
Definition at line 477 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
CAN3 GPIO Configuration PA15 ---—> CAN3_TX PB3 ---—> CAN3_RX
Definition at line 369 of file stm32f7xx_hal_msp.c.
void HAL_DAC_MspDeInit | ( | DAC_HandleTypeDef * | hdac | ) |
DAC MSP De-Initialization This function freeze the hardware resources used in this example.
hdac | DAC handle pointer |
None |
DAC GPIO Configuration PA4 ---—> DAC_OUT1 PA5 ---—> DAC_OUT2
Definition at line 628 of file stm32f7xx_hal_msp.c.
void HAL_DAC_MspInit | ( | DAC_HandleTypeDef * | hdac | ) |
DAC MSP Initialization This function configures the hardware resources used in this example.
hdac | DAC handle pointer |
None |
DAC GPIO Configuration PA4 ---—> DAC_OUT1 PA5 ---—> DAC_OUT2
Definition at line 557 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 |
I2C2 GPIO Configuration PF0 ---—> I2C2_SDA PF1 ---—> I2C2_SCL
I2C4 GPIO Configuration PF14 ---—> I2C4_SCL PF15 ---—> I2C4_SDA
Definition at line 739 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
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 660 of file stm32f7xx_hal_msp.c.
void HAL_MspInit | ( | void | ) |
Initializes the Global MSP.
Definition at line 72 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 |
SPI4 GPIO Configuration PE2 ---—> SPI4_SCK PE5 ---—> SPI4_MISO PE6 ---—> SPI4_MOSI
SPI6 GPIO Configuration PG12 ---—> SPI6_MISO PG13 ---—> SPI6_SCK PG14 ---—> SPI6_MOSI
Definition at line 852 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 |
SPI4 GPIO Configuration PE2 ---—> SPI4_SCK PE5 ---—> SPI4_MISO PE6 ---—> SPI4_MOSI
SPI6 GPIO Configuration PG12 ---—> SPI6_MISO PG13 ---—> SPI6_SCK PG14 ---—> SPI6_MOSI
Definition at line 790 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 937 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 901 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 1020 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 973 of file stm32f7xx_hal_msp.c.
|
static |
Definition at line 361 of file stm32f7xx_hal_msp.c.
|
extern |
Definition at line 69 of file AnalogSensor.h.
|
extern |
Definition at line 69 of file AnalogSensor.h.