|
F439_CPP_TX-RX_LoRa_Project
|
: Header for main.c file.This file contains the common defines of the application. More...
#include "stm32f4xx_hal.h"

Go to the source code of this file.
Enumerations | |
| enum | SX1262_ROLE { SX_ROLE_RX = 0 , SX_ROLE_TX } |
Functions | |
| void | _Error_Handler (const char *, int) |
| This function is executed in case of error occurrence. | |
: Header for main.c file.
This file contains the common defines of the application.
Copyright (c) 2026 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.
| #define DIO1_LORA_EXTI_IRQn EXTI15_10_IRQn |
| #define DIO1_LORA_EXTI_IRQn EXTI15_10_IRQn |
| #define DIO1_LORA_GPIO_Port GPIOC |
| #define DIO1_LORA_GPIO_Port GPIOC |
| #define DIO1_LORA_Pin GPIO_PIN_10 |
| #define DIO1_LORA_Pin GPIO_PIN_10 |
| #define Error_Handler | ( | ) | _Error_Handler((const char *)__FILE__, __LINE__) |
| #define FRAM_BASE_ADDR 0x0100U |
| #define FRAM_INIT_BYTES 64U |
| #define MCO_GPIO_Port GPIOH |
| #define MCO_GPIO_Port GPIOH |
| #define MCO_Pin GPIO_PIN_0 |
| #define MCO_Pin GPIO_PIN_0 |
| #define REDIRECT_PRINTF |
| #define SPI1_FRAM_CS_GPIO_Port GPIOA |
| #define SPI1_FRAM_CS_Pin GPIO_PIN_15 |
| #define SX1262_BUSY_GPIO_Port GPIOC |
| #define SX1262_BUSY_GPIO_Port GPIOC |
| #define SX1262_BUSY_Pin GPIO_PIN_12 |
| #define SX1262_BUSY_Pin GPIO_PIN_12 |
| #define SX1262_CS_GPIO_Port GPIOC |
| #define SX1262_CS_GPIO_Port GPIOC |
| #define SX1262_CS_Pin GPIO_PIN_9 |
| #define SX1262_CS_Pin GPIO_PIN_9 |
| #define SX1262_NRESET_GPIO_Port GPIOC |
| #define SX1262_NRESET_GPIO_Port GPIOC |
| #define SX1262_NRESET_Pin GPIO_PIN_11 |
| #define SX1262_NRESET_Pin GPIO_PIN_11 |
| #define SX1262_RX_ENABLE_GPIO_Port GPIOF |
| #define SX1262_RX_ENABLE_GPIO_Port GPIOF |
| #define SX1262_RX_ENABLE_Pin GPIO_PIN_7 |
| #define SX1262_RX_ENABLE_Pin GPIO_PIN_7 |
| #define SX1262_TX_ENABLE_GPIO_Port GPIOF |
| #define SX1262_TX_ENABLE_GPIO_Port GPIOF |
| #define SX1262_TX_ENABLE_Pin GPIO_PIN_6 |
| #define SX1262_TX_ENABLE_Pin GPIO_PIN_6 |
| #define USB_OverCurrent_GPIO_Port GPIOG |
| #define USB_OverCurrent_GPIO_Port GPIOG |
| #define USB_OverCurrent_Pin GPIO_PIN_7 |
| #define USB_OverCurrent_Pin GPIO_PIN_7 |
| #define USB_PowerSwitchOn_GPIO_Port GPIOG |
| #define USB_PowerSwitchOn_GPIO_Port GPIOG |
| #define USB_PowerSwitchOn_Pin GPIO_PIN_6 |
| #define USB_PowerSwitchOn_Pin GPIO_PIN_6 |
| enum SX1262_ROLE |
| void _Error_Handler | ( | const char * | file, |
| int | line ) |
This function is executed in case of error occurrence.
| file | The file name as string. |
| line | The line in file as a number. |