335 if(hmmc->Instance==
SDMMC1)
397 if(hmmc->Instance==
SDMMC1)
899 __HAL_RCC_UART9_CLK_ENABLE();
910 GPIO_InitStruct.
Alternate = GPIO_AF11_UART9;
938 __HAL_RCC_UART9_CLK_DISABLE();
#define NAND_SPI4_MISO_Pin
#define SPARE_I2C_SDA_Pin
#define ETH_SPI2_MISO_Pin
void Error_Handler(void)
This function is executed in case of error occurrence.
#define EXT_SENSE_ADC_Pin
#define NAND_SPI4_CLK_Pin
#define NAND_SPI4_MISO_GPIO_Port
#define SPARE_I2C_SDA_GPIO_Port
#define SENSOR_MOSI_GPIO_Port
#define PYRO_1_CONT_ADC_Pin
#define EXT_SENSE_ADC_2_Pin
#define ETH_CLK_GPIO_Port
#define EMMC_CMD_GPIO_Port
#define SPARE_I2C_SCL_GPIO_Port
#define NAND_SPI4_MOSI_Pin
#define ALT_CURR_SENSE_ADC_Pin
#define PYRO_2_CONT_ADC_Pin
#define TIMEPULSE_GPIO_Port
#define SPARE_I2C_SCL_Pin
#define ETH_SPI2_MOSI_Pin
#define CURR_SENSE_ADC_Pin
void HAL_ADC_MspDeInit(ADC_HandleTypeDef *hadc)
ADC MSP De-Initialization This function freeze the hardware resources used in this example.
void HAL_ADC_MspInit(ADC_HandleTypeDef *hadc)
ADC MSP Initialization This function configures the hardware resources used in this example.
void HAL_NVIC_DisableIRQ(IRQn_Type IRQn)
void HAL_NVIC_SetPriority(IRQn_Type IRQn, uint32_t PreemptPriority, uint32_t SubPriority)
void HAL_NVIC_EnableIRQ(IRQn_Type IRQn)
#define GPIO_AF1_TIM1
AF 1 selection.
#define GPIO_AF2_TIM3
AF 2 selection.
#define GPIO_AF5_SPI1
AF 5 selection.
void HAL_GPIO_Init(GPIO_TypeDef *GPIOx, const GPIO_InitTypeDef *GPIO_Init)
void HAL_GPIO_DeInit(GPIO_TypeDef *GPIOx, uint32_t GPIO_Pin)
#define GPIO_MODE_AF_OD
Alternate Function Open Drain Mode.
#define GPIO_MODE_AF_PP
Alternate Function Push Pull Mode.
#define GPIO_MODE_ANALOG
Analog Mode.
#define GPIO_NOPULL
No Pull-up or Pull-down activation.
#define GPIO_PULLUP
Pull-up activation.
#define GPIO_SPEED_FREQ_VERY_HIGH
High speed.
#define GPIO_SPEED_FREQ_LOW
Low speed.
void HAL_I2C_MspDeInit(I2C_HandleTypeDef *hi2c)
I2C MSP De-Initialization This function freeze the hardware resources used in this example.
void HAL_I2C_MspInit(I2C_HandleTypeDef *hi2c)
I2C MSP Initialization This function configures the hardware resources used in this example.
struct __I2C_HandleTypeDef I2C_HandleTypeDef
@ PendSV_IRQn
14 Cortex-M Pend SV Interrupt
@ RTC_WKUP_IRQn
RTC Wakeup interrupt through the EXTI line.
@ UART9_IRQn
UART9 global Interrupt.
@ TIM2_IRQn
TIM2 global Interrupt.
@ SDMMC1_IRQn
SDMMC1 global Interrupt.
#define RCC_ADCCLKSOURCE_PLL2
HAL_StatusTypeDef HAL_RCCEx_PeriphCLKConfig(RCC_PeriphCLKInitTypeDef *PeriphClkInit)
#define RCC_I2C4CLKSOURCE_D3PCLK1
#define RCC_PERIPHCLK_SPI1
#define RCC_PERIPHCLK_I2C4
#define RCC_PERIPHCLK_SPI4
#define RCC_PERIPHCLK_SPI3
#define RCC_PERIPHCLK_ADC
#define RCC_PERIPHCLK_SPI2
#define RCC_PERIPHCLK_RTC
#define RCC_PERIPHCLK_SDMMC
#define RCC_SDMMCCLKSOURCE_PLL
#define RCC_SPI123CLKSOURCE_PLL
#define RCC_USART16910CLKSOURCE_D2PCLK2
#define __HAL_RCC_SPI2_CLK_ENABLE()
#define __HAL_RCC_SPI3_CLK_ENABLE()
#define __HAL_RCC_GPIOA_CLK_ENABLE()
Enable or disable the AHB4 peripheral clock.
#define __HAL_RCC_SPI4_CLK_ENABLE()
#define __HAL_RCC_GPIOE_CLK_ENABLE()
#define __HAL_RCC_TIM2_CLK_ENABLE()
Enable or disable the APB1 peripheral clock.
#define __HAL_RCC_GPIOB_CLK_ENABLE()
#define __HAL_RCC_GPIOC_CLK_ENABLE()
#define __HAL_RCC_SDMMC1_CLK_ENABLE()
#define __HAL_RCC_GPIOD_CLK_ENABLE()
#define __HAL_RCC_SPI4_CLK_DISABLE()
#define __HAL_RCC_SPI1_CLK_ENABLE()
#define __HAL_RCC_TIM3_CLK_DISABLE()
#define __HAL_RCC_TIM1_CLK_DISABLE()
#define __HAL_RCC_RTC_DISABLE()
#define __HAL_RCC_RTC_ENABLE()
Macros to enable or disable the the RTC clock.
#define __HAL_RCC_ADC12_CLK_ENABLE()
#define __HAL_RCC_SDMMC1_CLK_DISABLE()
#define __HAL_RCC_SPI2_CLK_DISABLE()
#define __HAL_RCC_TIM2_CLK_DISABLE()
#define __HAL_RCC_TIM1_CLK_ENABLE()
Enable or disable the APB2 peripheral clock.
#define __HAL_RCC_SPI3_CLK_DISABLE()
#define __HAL_RCC_I2C4_CLK_DISABLE()
#define __HAL_RCC_I2C4_CLK_ENABLE()
#define __HAL_RCC_ADC12_CLK_DISABLE()
#define __HAL_RCC_SPI1_CLK_DISABLE()
#define __HAL_RCC_TIM3_CLK_ENABLE()
#define __HAL_RCC_SYSCFG_CLK_ENABLE()
Enable or disable the APB4 peripheral clock.
#define RCC_PLL2VCIRANGE_1
Clock range frequency between 2 and 4 MHz.
#define RCC_RTCCLKSOURCE_LSI
void HAL_RTC_MspDeInit(RTC_HandleTypeDef *hrtc)
RTC MSP De-Initialization This function freeze the hardware resources used in this example.
void HAL_RTC_MspInit(RTC_HandleTypeDef *hrtc)
RTC MSP Initialization This function configures the hardware resources used in this example.
void HAL_SPI_MspInit(SPI_HandleTypeDef *hspi)
SPI MSP Initialization This function configures the hardware resources used in this example.
void HAL_SPI_MspDeInit(SPI_HandleTypeDef *hspi)
SPI MSP De-Initialization This function freeze the hardware resources used in this example.
struct __SPI_HandleTypeDef SPI_HandleTypeDef
SPI handle Structure definition.
void HAL_TIM_Base_MspDeInit(TIM_HandleTypeDef *htim_base)
TIM_Base MSP De-Initialization This function freeze the hardware resources used in this example.
void HAL_TIM_Base_MspInit(TIM_HandleTypeDef *htim_base)
TIM_Base MSP Initialization This function configures the hardware resources used in this example.
void HAL_TIM_PWM_MspDeInit(TIM_HandleTypeDef *htim_pwm)
TIM_PWM MSP De-Initialization This function freeze the hardware resources used in this example.
void HAL_TIM_PWM_MspInit(TIM_HandleTypeDef *htim_pwm)
TIM_PWM MSP Initialization This function configures the hardware resources used in this example.
void HAL_UART_MspInit(UART_HandleTypeDef *huart)
UART MSP Initialization This function configures the hardware resources used in this example.
void HAL_UART_MspDeInit(UART_HandleTypeDef *huart)
UART MSP De-Initialization This function freeze the hardware resources used in this example.
struct __UART_HandleTypeDef UART_HandleTypeDef
UART handle Structure definition.
void HAL_MMC_MspInit(MMC_HandleTypeDef *hmmc)
MMC MSP Initialization This function configures the hardware resources used in this example.
void HAL_MMC_MspDeInit(MMC_HandleTypeDef *hmmc)
MMC MSP De-Initialization This function freeze the hardware resources used in this example.
void HAL_TIM_MspPostInit(TIM_HandleTypeDef *htim)
void HAL_MspInit(void)
Initializes the Global MSP.
ADC handle Structure definition.
ADC_TypeDef * Instance
Register base address.
GPIO Init structure definition.
uint32_t Mode
Specifies the operating mode for the selected pins.
uint32_t Alternate
Peripheral to be connected to the selected pins.
uint32_t Pull
Specifies the Pull-up or Pull-Down activation for the selected pins.
uint32_t Pin
Specifies the GPIO pins to be configured.
uint32_t Speed
Specifies the speed for the selected pins.
uint32_t PLL2R
PLL2R: Division factor for peripheral clocks.
uint32_t PLL2M
PLL2M: Division factor for PLL2 VCO input clock.
uint32_t PLL2RGE
PLL2RGE: PLL2 clock Input range This parameter must be a value of RCC PLL2 VCI Range.
uint32_t PLL2N
PLL2N: Multiplication factor for PLL2 VCO output clock.
uint32_t PLL2FRACN
PLL2FRACN: Specifies Fractional Part Of The Multiplication Factor for PLL2 VCO It should be a value b...
uint32_t PLL2VCOSEL
PLL2VCOSEL: PLL2 clock Output range This parameter must be a value of RCC PLL2 VCO Range.
uint32_t PLL2P
PLL2P: Division factor for system clock.
uint32_t PLL2Q
PLL2Q: Division factor for peripheral clocks.
RCC extended clocks structure definition.
uint32_t Spi123ClockSelection
Specifies SPI1/2/3 clock source This parameter can be a value of SPI1/2/3 Clock Source.
uint32_t Usart16ClockSelection
Specifies USART1/6 clock source This parameter can be a value of RCCEx USART1/6 Clock Source.
uint64_t PeriphClockSelection
The Extended Clock to be configured.
uint32_t I2c4ClockSelection
Specifies I2C4 clock source This parameter can be a value of RCCEx I2C4 Clock Source.
uint32_t SdmmcClockSelection
Specifies SDMMC clock source This parameter can be a value of RCCEx SDMMC Clock Source.
RCC_PLL2InitTypeDef PLL2
PLL2structure parameters.
uint32_t AdcClockSelection
Specifies ADC interface clock source This parameter can be a value of RCCEx ADC Clock Source.
uint32_t RTCClockSelection
Specifies RTC Clock clock source This parameter can be a value of RCC RTC Clock Source.
uint32_t Spi45ClockSelection
Specifies SPI4/5 clock source This parameter can be a value of SPI4/5 Clock Source.
RTC Handle Structure definition.
TIM Time Base Handle Structure definition.
TIM_TypeDef * Instance
Register base address.
I2C_TypeDef * Instance
I2C registers base address.
SPI_TypeDef * Instance
SPI registers base address.
USART_TypeDef * Instance
UART registers base address.