lriot 2.1.0.0
lr1110_modem_system.h
Go to the documentation of this file.
1
32#ifndef LR1110_MODEM_SYSTEM_H
33#define LR1110_MODEM_SYSTEM_H
34
35#ifdef __cplusplus
36extern "C" {
37#endif
38
39/*
40 * -----------------------------------------------------------------------------
41 * --- DEPENDENCIES ------------------------------------------------------------
42 */
43
44#include <stdbool.h>
45#include <stdint.h>
48#include "lriot.h"
49
50/*
51 * -----------------------------------------------------------------------------
52 * --- PUBLIC FUNCTIONS PROTOTYPES ---------------------------------------------
53 */
54
71err_t lr1110_modem_system_write_regmem32( lriot_t *ctx, uint32_t address, uint32_t* buffer, uint8_t length );
72
89err_t lr1110_modem_system_read_regmem32( lriot_t *ctx, uint32_t address, uint32_t* buffer, uint8_t length );
90
101err_t lr1110_modem_system_calibrate( lriot_t *ctx, uint8_t calib_param );
102
117
131
141err_t lr1110_modem_system_cfg_lfclk( lriot_t *ctx, lr1110_modem_system_lfclk_cfg_t lfclock_cfg, bool wait_for_32k_ready );
142
160
174err_t lr1110_modem_system_reboot( lriot_t *ctx, bool stay_in_bootloader );
175
176#ifdef __cplusplus
177}
178#endif
179
180#endif // LR1110_MODEM_SYSTEM_H
181
182/* --- EOF ------------------------------------------------------------------ */
modem driver common definition for LR1110
err_t lr1110_modem_system_calibrate(lriot_t *ctx, uint8_t calib_param)
lr1110_modem_system_calibrate the requested blocks
err_t lr1110_modem_system_set_tcxo_mode(lriot_t *ctx, lr1110_modem_system_tcxo_supply_voltage_t tune, uint32_t timeout)
Enable and configure TCXO supply voltage and detection timeout.
err_t lr1110_modem_system_write_regmem32(lriot_t *ctx, uint32_t address, uint32_t *buffer, uint8_t length)
Write words into register memory space of LR1110.
err_t lr1110_modem_system_cfg_lfclk(lriot_t *ctx, lr1110_modem_system_lfclk_cfg_t lfclock_cfg, bool wait_for_32k_ready)
Defines which clock is used as Low Frequency (LF) clock.
err_t lr1110_modem_system_set_reg_mode(lriot_t *ctx, lr1110_modem_system_reg_mode_t reg_mode)
Configure the regulator mode to be used in specific modes.
err_t lr1110_modem_system_reboot(lriot_t *ctx, bool stay_in_bootloader)
Software reset of the chip.
err_t lr1110_modem_system_read_regmem32(lriot_t *ctx, uint32_t address, uint32_t *buffer, uint8_t length)
Read words into register memory space of LR1110.
err_t lr1110_modem_system_set_dio_as_rf_switch(lriot_t *ctx, lr1110_modem_system_rf_switch_cfg_t *rf_switch_cfg)
Set the RF switch configurations for each RF setup.
System driver types for LR1110 modem.
lr1110_modem_system_tcxo_supply_voltage_t
TCXO supply voltage values.
Definition lr1110_modem_system_types.h:97
lr1110_modem_system_reg_mode_t
Regulator mode values.
Definition lr1110_modem_system_types.h:66
lr1110_modem_system_lfclk_cfg_t
Low Frequency clock configurations values.
Definition lr1110_modem_system_types.h:87
This file contains API for LR IoT Click Driver.
RF switch configuration parameters.
Definition lr1110_modem_system_types.h:112
LR IoT Click context object.
Definition lriot.h:273