ACDC Senior Project v1.0.0
Senior Project for Textron Aviation
Loading...
Searching...
No Matches
main.h File Reference

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

#include "stm32f1xx.h"
#include "stm32f1xx_hal.h"
#include "ACDC_stdbool.h"
#include "ACDC_stdint.h"
#include "ACDC_string.h"
#include "ACDC_GPIO.h"
#include "ACDC_CLOCK.h"
#include "ACDC_INTERRUPT.h"
#include "ACDC_TIMER.h"
#include "ACDC_USART.h"
#include "ACDC_SPI.h"
#include "ACDC_LTC1298_ADC.h"
#include "ACDC_LTC1451_DAC.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   EXTI15_10_IRQn
 
#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 TMS_Pin   GPIO_PIN_13
 
#define TMS_GPIO_Port   GPIOA
 
#define TCK_Pin   GPIO_PIN_14
 
#define TCK_GPIO_Port   GPIOA
 
#define SWO_Pin   GPIO_PIN_3
 
#define SWO_GPIO_Port   GPIOB
 

Functions

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.

Author
STMicroelectronics
Attention
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.

Macro Definition Documentation

◆ B1_EXTI_IRQn

#define B1_EXTI_IRQn   EXTI15_10_IRQn

◆ B1_GPIO_Port

#define B1_GPIO_Port   GPIOC

◆ B1_Pin

#define B1_Pin   GPIO_PIN_13

◆ LD2_GPIO_Port

#define LD2_GPIO_Port   GPIOA

◆ LD2_Pin

#define LD2_Pin   GPIO_PIN_5

◆ SWO_GPIO_Port

#define SWO_GPIO_Port   GPIOB

◆ SWO_Pin

#define SWO_Pin   GPIO_PIN_3

◆ TCK_GPIO_Port

#define TCK_GPIO_Port   GPIOA

◆ TCK_Pin

#define TCK_Pin   GPIO_PIN_14

◆ TMS_GPIO_Port

#define TMS_GPIO_Port   GPIOA

◆ TMS_Pin

#define TMS_Pin   GPIO_PIN_13

◆ USART_RX_GPIO_Port

#define USART_RX_GPIO_Port   GPIOA

◆ USART_RX_Pin

#define USART_RX_Pin   GPIO_PIN_3

◆ USART_TX_GPIO_Port

#define USART_TX_GPIO_Port   GPIOA

◆ USART_TX_Pin

#define USART_TX_Pin   GPIO_PIN_2

Function Documentation

◆ Error_Handler()

void Error_Handler ( void )

This function is executed in case of error occurrence.

Return values
None