PID regulator v 1.0
 
Loading...
Searching...
No Matches
main.h File Reference

: Header for main.c file. This file contains the common defines of the application. More...

#include "stm32l0xx_hal.h"

Go to the source code of this file.

Macros

#define B1_Pin   GPIO_PIN_13
 
#define B1_GPIO_Port   GPIOC
 
#define B1_EXTI_IRQn   EXTI4_15_IRQn
 
#define MCO_Pin   GPIO_PIN_0
 
#define MCO_GPIO_Port   GPIOH
 
#define M1A_Pin   GPIO_PIN_0
 
#define M1A_GPIO_Port   GPIOA
 
#define M1B_Pin   GPIO_PIN_1
 
#define M1B_GPIO_Port   GPIOA
 
#define USART_TX_Pin   GPIO_PIN_2
 
#define USART_TX_GPIO_Port   GPIOA
 
#define USART_RX_Pin   GPIO_PIN_3
 
#define USART_RX_GPIO_Port   GPIOA
 
#define LD2_Pin   GPIO_PIN_5
 
#define LD2_GPIO_Port   GPIOA
 
#define EncoderA_Pin   GPIO_PIN_6
 
#define EncoderA_GPIO_Port   GPIOA
 
#define EncoderB_Pin   GPIO_PIN_7
 
#define EncoderB_GPIO_Port   GPIOA
 
#define TMS_Pin   GPIO_PIN_13
 
#define TMS_GPIO_Port   GPIOA
 
#define TCK_Pin   GPIO_PIN_14
 
#define TCK_GPIO_Port   GPIOA
 

Functions

void HAL_TIM_MspPostInit (TIM_HandleTypeDef *htim)
 
void Error_Handler (void)
 This function is executed in case of error occurrence.
 

Detailed Description

: Header for main.c file. This file contains the common defines of the application.

Attention

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.

Function Documentation

◆ Error_Handler()

void Error_Handler ( void )

This function is executed in case of error occurrence.

Return values
None
Here is the caller graph for this function: