minipix_uart_interface
A library and examples for the MiniPIX UART interface
main.h File Reference

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

#include "stm32f4xx_hal.h"
+ Include dependency graph for main.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define B1_Pin   GPIO_PIN_13
 
#define B1_GPIO_Port   GPIOC
 
#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. More...
 
void USART_IDLECallback (UART_HandleTypeDef *huart)
 

Detailed Description

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

Attention

© Copyright (c) 2021 STMicroelectronics. All rights reserved.

This software component is licensed by ST under BSD 3-Clause license, the "License"; You may not use this file except in compliance with the License. You may obtain a copy of the License at: opensource.org/licenses/BSD-3-Clause

Macro Definition Documentation

◆ 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

◆ USART_IDLECallback()

void USART_IDLECallback ( UART_HandleTypeDef *  huart)