Loading...
Searching...
No Matches

Pin definitions and board configuration options for LoRa-E5 Development Board. More...

Detailed Description

Pin definitions and board configuration options for LoRa-E5 Development Board.

Author
Francisco Molina franc.nosp@m.ois-.nosp@m.xavie.nosp@m.r.mo.nosp@m.lina@.nosp@m.inri.nosp@m.a.yyf.nosp@m.r

Definition in file board.h.

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

Go to the source code of this file.

Macros

#define CONFIG_LORA_E5_DEV_ENABLE_3P3V   1
 Enable 3.3V output.
 
#define CONFIG_LORA_E5_DEV_ENABLE_5V   1
 Enable 5V output.
 
#define LORA_E5_DEV_3P3V_ENABLE_PIN   GPIO_PIN(PORT_A, 9)
 lora-e5-dev 3.3V gpio enable pin
 
#define LORA_E5_DEV_5V_ENABLE_PIN   GPIO_PIN(PORT_B, 10)
 lora-e5-dev 5V gpio enable pin
 

Sub-GHz radio (LoRa) configuration

#define SX126X_PARAM_SPI   (SPI_DEV(0))
 
#define SX126X_PARAM_TX_PA_MODE   SX126X_RF_MODE_TX_HPA
 

LED pin definitions and handlers

#define LED0_PORT   GPIO_PORT_B
 GPIO port of LED 0.
 
#define LED0_PORT_NUM   PORT_B
 
#define LED0_PIN_NUM   5
 

User button

#define BTN0_PIN   GPIO_PIN(PORT_B, 13)
 
#define BTN0_MODE   GPIO_IN_PU
 
#define BTN1_PIN   GPIO_PIN(PORT_A, 0)
 
#define BTN1_MODE   GPIO_IN_PU
 

RF 3-port switch (SP3T) control

Refer Section 6.6.3 RF Overview in User Manual (UM2592)

#define FE_CTRL1   GPIO_PIN(PORT_A, 4)
 
#define FE_CTRL2   GPIO_PIN(PORT_A, 5)
 

Macro Definition Documentation

◆ BTN0_MODE

#define BTN0_MODE   GPIO_IN_PU

Definition at line 59 of file board.h.

◆ BTN0_PIN

#define BTN0_PIN   GPIO_PIN(PORT_B, 13)

Definition at line 58 of file board.h.

◆ BTN1_MODE

#define BTN1_MODE   GPIO_IN_PU

Definition at line 61 of file board.h.

◆ BTN1_PIN

#define BTN1_PIN   GPIO_PIN(PORT_A, 0)

Definition at line 60 of file board.h.

◆ CONFIG_LORA_E5_DEV_ENABLE_3P3V

#define CONFIG_LORA_E5_DEV_ENABLE_3P3V   1

Enable 3.3V output.

Definition at line 78 of file board.h.

◆ CONFIG_LORA_E5_DEV_ENABLE_5V

#define CONFIG_LORA_E5_DEV_ENABLE_5V   1

Enable 5V output.

Definition at line 84 of file board.h.

◆ FE_CTRL1

#define FE_CTRL1   GPIO_PIN(PORT_A, 4)

Definition at line 70 of file board.h.

◆ FE_CTRL2

#define FE_CTRL2   GPIO_PIN(PORT_A, 5)

Definition at line 71 of file board.h.

◆ LED0_PIN_NUM

#define LED0_PIN_NUM   5

Definition at line 51 of file board.h.

◆ LED0_PORT

#define LED0_PORT   GPIO_PORT_B

GPIO port of LED 0.

Definition at line 49 of file board.h.

◆ LED0_PORT_NUM

#define LED0_PORT_NUM   PORT_B

Definition at line 50 of file board.h.

◆ LORA_E5_DEV_3P3V_ENABLE_PIN

#define LORA_E5_DEV_3P3V_ENABLE_PIN   GPIO_PIN(PORT_A, 9)

lora-e5-dev 3.3V gpio enable pin

Definition at line 89 of file board.h.

◆ LORA_E5_DEV_5V_ENABLE_PIN

#define LORA_E5_DEV_5V_ENABLE_PIN   GPIO_PIN(PORT_B, 10)

lora-e5-dev 5V gpio enable pin

Definition at line 93 of file board.h.

◆ SX126X_PARAM_SPI

#define SX126X_PARAM_SPI   (SPI_DEV(0))

Definition at line 36 of file board.h.

◆ SX126X_PARAM_TX_PA_MODE

#define SX126X_PARAM_TX_PA_MODE   SX126X_RF_MODE_TX_HPA

Definition at line 37 of file board.h.