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
36 extern "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 
71 err_t lr1110_modem_system_write_regmem32( lriot_t *ctx, uint32_t address, uint32_t* buffer, uint8_t length );
72 
89 err_t lr1110_modem_system_read_regmem32( lriot_t *ctx, uint32_t address, uint32_t* buffer, uint8_t length );
90 
101 err_t lr1110_modem_system_calibrate( lriot_t *ctx, uint8_t calib_param );
102 
117 
131 
141 err_t lr1110_modem_system_cfg_lfclk( lriot_t *ctx, lr1110_modem_system_lfclk_cfg_t lfclock_cfg, bool wait_for_32k_ready );
142 
160 
174 err_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 ------------------------------------------------------------------ */
lr1110_modem_system_reg_mode_t
lr1110_modem_system_reg_mode_t
Regulator mode values.
Definition: lr1110_modem_system_types.h:66
lriot_t
LR IoT Click context object.
Definition: lriot.h:269
lr1110_modem_system_rf_switch_cfg_t
RF switch configuration parameters.
Definition: lr1110_modem_system_types.h:112
lr1110_modem_system_write_regmem32
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.
lriot.h
This file contains API for LR IoT Click Driver.
lr1110_modem_system_calibrate
err_t lr1110_modem_system_calibrate(lriot_t *ctx, uint8_t calib_param)
lr1110_modem_system_calibrate the requested blocks
lr1110_modem_system_lfclk_cfg_t
lr1110_modem_system_lfclk_cfg_t
Low Frequency clock configurations values.
Definition: lr1110_modem_system_types.h:87
lr1110_modem_system_set_tcxo_mode
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.
lr1110_modem_system_reboot
err_t lr1110_modem_system_reboot(lriot_t *ctx, bool stay_in_bootloader)
Software reset of the chip.
lr1110_modem_system_types.h
System driver types for LR1110 modem.
lr1110_modem_system_tcxo_supply_voltage_t
lr1110_modem_system_tcxo_supply_voltage_t
TCXO supply voltage values.
Definition: lr1110_modem_system_types.h:97
lr1110_modem_common.h
modem driver common definition for LR1110
lr1110_modem_system_read_regmem32
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.
lr1110_modem_system_cfg_lfclk
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.
lr1110_modem_system_set_dio_as_rf_switch
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.
lr1110_modem_system_set_reg_mode
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.