|
L14-Click 1.0
STM32WLE5CC LoRaWAN Sensor Platform
|
Function prototypes for sys_app.c file. More...
Go to the source code of this file.
Macros | |
| #define | APP_PPRINTF(...) |
| #define | APP_TPRINTF(...) |
| #define | APP_PRINTF(...) |
| #define | APP_LOG(TS, VL, ...) |
| #define | APP_LOG(TS, VL, ...) |
Functions | |
| void | SystemApp_Init (void) |
| initialize the system (dbg pins, trace, mbmux, sys timer, LPM, ...) | |
| uint8_t | GetBatteryLevel (void) |
| callback to get the battery level in % of full charge (254 full charge, 0 no charge) | |
| int16_t | GetTemperatureLevel (void) |
| callback to get the current temperature in the MCU | |
| void | GetUniqueId (uint8_t *id) |
| callback to get the board 64 bits unique ID | |
| void | GetDevAddr (uint32_t *devAddr) |
| callback to get the board 32 bits unique ID (LSB) | |
Function prototypes for sys_app.c file.
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 sys_app.h.
| #define APP_LOG | ( | TS, | |
| VL, | |||
| ... ) |
| #define APP_LOG | ( | TS, | |
| VL, | |||
| ... ) |
Definition at line 66 of file sys_app.h.
Referenced by LoRaWAN_Init(), OnNvmDataChange(), StopJoin(), and StoreContext().
| #define APP_PPRINTF | ( | ... | ) |
| #define APP_PRINTF | ( | ... | ) |
| #define APP_TPRINTF | ( | ... | ) |
| uint8_t GetBatteryLevel | ( | void | ) |
callback to get the battery level in % of full charge (254 full charge, 0 no charge)
| battery | level |
Definition at line 152 of file sys_app.c.
References LORAWAN_MAX_BAT, SYS_GetBatteryLevel(), VDD_BAT, and VDD_MIN.
Referenced by mems_WriteToSystemParams(), and sensors_CayennelFromBckData().
| void GetDevAddr | ( | uint32_t * | devAddr | ) |
callback to get the board 32 bits unique ID (LSB)
| devAddr | Device Address |
Definition at line 239 of file sys_app.c.
Referenced by systemParams_getAppDevEUI().
| int16_t GetTemperatureLevel | ( | void | ) |
callback to get the current temperature in the MCU
| temperature | level |
Definition at line 184 of file sys_app.c.
References EnvSensors_Read(), and sensor_t::temperature.
| void GetUniqueId | ( | uint8_t * | id | ) |
| void SystemApp_Init | ( | void | ) |
initialize the system (dbg pins, trace, mbmux, sys timer, LPM, ...)
Definition at line 90 of file sys_app.c.
References CFG_LPM_APPLI_Id, DBG_Init(), EnvSensors_Init(), SYS_InitMeasurement(), SYS_TimerInitialisedFlag, TimestampNow(), and VERBOSE_LEVEL.
Referenced by main(), and MX_LoRaWAN_Init().