Programmable Clock with RTOS 0.0.1
Implementaiton of a programmable clock using RTOS with STM32GO microcontroller.
|
Msp initialization functions. More...
Functions | |
void | HAL_MspInit (void) |
Initialize MSP. | |
void | HAL_RTC_MspInit (RTC_HandleTypeDef *hrtc) |
Initialize RTC (Real Time Clock) | |
void | HAL_FDCAN_MspInit (FDCAN_HandleTypeDef *hfdcan) |
Initialize FDCAN. | |
void | HAL_SPI_MspInit (SPI_HandleTypeDef *hspi) |
Initialize SPI. | |
void | HEL_LCD_MspInit (LCD_HandleTypeDef *hlcd) |
Sub-initialization interface for the pins used by the LCD. | |
void | HAL_TIM_PWM_MspInit (TIM_HandleTypeDef *htim) |
Initialize PWM. | |
Msp initialization functions.
This file contains the initialization functions for MSP
void HAL_FDCAN_MspInit | ( | FDCAN_HandleTypeDef * | hfdcan | ) |
Initialize FDCAN.
This function initializes the FDCAN peripheral and associated GPIO pins for operation It configures the clock sources, GPIO pins, and interrupt priorities to enable FDCAN communication
hfdcan | pointer to FDCAN handle structure |
void HAL_MspInit | ( | void | ) |
Initialize MSP.
This function initializes the MSP for the microcontroller. It sets up the essential system configuration and clock setting requiered for the microcontroller's operation. Additionally, it configures the MCU internal clock to run at 64MHz for the AHB bus and 32 MHz for the APB bus.
Configure the main internal regulator output voltage
Initializes the CPU, AHB and APB buses clocks
void HAL_RTC_MspInit | ( | RTC_HandleTypeDef * | hrtc | ) |
Initialize RTC (Real Time Clock)
This function intializes the RTC for the microcontroller It configures and enables the necessary clocks and system resources for the RTC operation Additionally, it enable the LSE (Low Speed External) clock in low-power mode to feed the internal RTC
hrtc | pointer to RTC handle structure |
void HAL_SPI_MspInit | ( | SPI_HandleTypeDef * | hspi | ) |
Initialize SPI.
This function initializes the SPI peripheral and associated GPIO pins for operation It enables the SPI clock and the GPIO ports used for SPI communication
hspi | pointer to SPI handle structure |
void HAL_TIM_PWM_MspInit | ( | TIM_HandleTypeDef * | htim | ) |
Initialize PWM.
This function initializes the TIM peripheral and associated GPIO pins for operation It enables the ports for using the pwm with the buzzer
htim | pointer to htmi handle structure |
void HEL_LCD_MspInit | ( | LCD_HandleTypeDef * | hlcd | ) |
Sub-initialization interface for the pins used by the LCD.
[out] | hlcd | LCD Handler. |