L14-Click 1.0
STM32WLE5CC LoRaWAN Sensor Platform
Loading...
Searching...
No Matches
utilities_def.h File Reference

Definitions for modules requiring utilities. More...

#include <stddef.h>
Include dependency graph for utilities_def.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  CFG_LPM_Id_t { CFG_LPM_APPLI_Id , CFG_LPM_UART_TX_Id }
 Low Power Manager requester IDs. Each bit in this enum identifies a subsystem that can prevent the MCU from entering a low-power state. A low-power mode is only entered when no requester has asserted its inhibit bit. Can be extended up to 32 entries. More...
enum  CFG_SEQ_Prio_Id_t { CFG_SEQ_Prio_0 , CFG_SEQ_Prio_NBR }
 Task priority levels for the sequencer. Lower numeric values indicate higher priority. Each value shall be in the range 0..31. More...
enum  CFG_SEQ_Task_Id_t {
  CFG_SEQ_Task_LmHandlerProcess , CFG_SEQ_Task_LoRaSendOnTxTimerOrButtonEvent , CFG_SEQ_Task_LoRaStoreContextEvent , CFG_SEQ_Task_LoRaStopJoinEvent ,
  CFG_SEQ_Task_Sensors , CFG_SEQ_Task_Uart_RX , CFG_SEQ_Task_NFC_INT , CFG_SEQ_Task_MyLoraSend ,
  CFG_SEQ_Task_MyLoraReconect = CFG_SEQ_Task_MyLoraSend + 1 , CFG_SEQ_Task_MyLoraResend = CFG_SEQ_Task_MyLoraSend + 2 , CFG_SEQ_Task_NBR
}

Detailed Description

Definitions for modules requiring utilities.

Author
MCD Application Team
Attention

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.

Definition in file utilities_def.h.

Enumeration Type Documentation

◆ CFG_LPM_Id_t

Low Power Manager requester IDs. Each bit in this enum identifies a subsystem that can prevent the MCU from entering a low-power state. A low-power mode is only entered when no requester has asserted its inhibit bit. Can be extended up to 32 entries.

Enumerator
CFG_LPM_APPLI_Id 

Application-level inhibit (e.g. active user interaction)

CFG_LPM_UART_TX_Id 

UART transmit in progress; prevent sleep until TX FIFO is empty

Definition at line 46 of file utilities_def.h.

◆ CFG_SEQ_Prio_Id_t

Task priority levels for the sequencer. Lower numeric values indicate higher priority. Each value shall be in the range 0..31.

Enumerator
CFG_SEQ_Prio_0 

Default priority level (highest priority in this application)

CFG_SEQ_Prio_NBR 

Total number of priority levels (must be last)

Definition at line 67 of file utilities_def.h.

◆ CFG_SEQ_Task_Id_t

This is the list of task id required by the application Each Id shall be in the range 0..31

Enumerator
CFG_SEQ_Task_LmHandlerProcess 

LoRaWAN MAC layer process task

CFG_SEQ_Task_LoRaSendOnTxTimerOrButtonEvent 

Triggered when TX timer fires or button is pressed

CFG_SEQ_Task_LoRaStoreContextEvent 

Persist LoRaWAN context to non-volatile storage

CFG_SEQ_Task_LoRaStopJoinEvent 

Abort an ongoing join procedure

CFG_SEQ_Task_Sensors 

Sensor reading state machine – started by RTC wakeup (MT 13.1.2026)

CFG_SEQ_Task_Uart_RX 

UART receive data ready – process incoming command bytes (MT 14.1.2026)

CFG_SEQ_Task_NFC_INT 

NFC GPO interrupt – new Mailbox message or field-change event

CFG_SEQ_Task_MyLoraSend 

Initiate a LoRaWAN uplink with current sensor data (MT 22.1.2026)

CFG_SEQ_Task_MyLoraReconect 

Attempt to re-join the LoRaWAN network after connection loss (MT 5.2.2026)

CFG_SEQ_Task_MyLoraResend 

Retransmit the last uplink packet (MT 7.2.2026)

CFG_SEQ_Task_NBR 

Total number of registered tasks (must be last)

Definition at line 80 of file utilities_def.h.