lriot 2.1.0.0
|
System driver types for LR1110. More...
#include <stdint.h>
#include <stdbool.h>
Go to the source code of this file.
Data Structures | |
struct | lr1110_system_rfswitch_cfg_s |
RF switch configuration structure definition. More... | |
struct | lr1110_system_stat1_s |
Status register 1 structure definition. More... | |
struct | lr1110_system_stat2_s |
Status register 2 structure definition. More... | |
struct | lr1110_system_version_s |
Version structure definition. More... | |
struct | lr1110_system_sleep_cfg_s |
Sleep configuration structure definition. More... | |
Typedefs | |
typedef uint8_t | lr1110_system_uid_t[LR1110_SYSTEM_UID_LENGTH] |
Fixed-length array to store a UID. | |
typedef uint8_t | lr1110_system_join_eui_t[LR1110_SYSTEM_JOIN_EUI_LENGTH] |
Fixed-length array to store a joinEUI. | |
typedef uint8_t | lr1110_system_pin_t[LR1110_SYSTEM_PIN_LENGTH] |
Fixed-length array to store a PIN. | |
typedef uint32_t | lr1110_system_irq_mask_t |
Type to store system interrupt flags. | |
typedef uint8_t | lr1110_system_cal_mask_t |
typedef uint16_t | lr1110_system_errors_t |
typedef struct lr1110_system_rfswitch_cfg_s | lr1110_system_rfswitch_cfg_t |
RF switch configuration structure definition. | |
typedef struct lr1110_system_stat1_s | lr1110_system_stat1_t |
Status register 1 structure definition. | |
typedef struct lr1110_system_stat2_s | lr1110_system_stat2_t |
Status register 2 structure definition. | |
typedef struct lr1110_system_version_s | lr1110_system_version_t |
Version structure definition. | |
typedef struct lr1110_system_sleep_cfg_s | lr1110_system_sleep_cfg_t |
Sleep configuration structure definition. | |
System driver types for LR1110.
The Clear BSD License Copyright Semtech Corporation 2021. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted (subject to the limitations in the disclaimer below) provided that the following conditions are met:
NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE GRANTED BY THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SEMTECH CORPORATION BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define LR1110_SYSTEM_IRQ_ALL_MASK |
#define LR1110_SYSTEM_IRQ_CAD_DETECTED ( 1 << 9 ) |
#define LR1110_SYSTEM_IRQ_CAD_DONE ( 1 << 8 ) |
#define LR1110_SYSTEM_IRQ_CMD_ERROR ( 1ul << 22 ) |
#define LR1110_SYSTEM_IRQ_CRC_ERROR ( 1 << 7 ) |
#define LR1110_SYSTEM_IRQ_EOL ( 1ul << 21 ) |
#define LR1110_SYSTEM_IRQ_ERROR ( 1ul << 23 ) |
#define LR1110_SYSTEM_IRQ_FSK_ADDR_ERROR ( 1ul << 25 ) |
#define LR1110_SYSTEM_IRQ_FSK_LEN_ERROR ( 1ul << 24 ) |
#define LR1110_SYSTEM_IRQ_GNSS_SCAN_DONE ( 1ul << 19 ) |
#define LR1110_SYSTEM_IRQ_HEADER_ERROR ( 1 << 6 ) |
#define LR1110_SYSTEM_IRQ_LR_FHSS_INTRA_PKT_HOP ( 1 << 11 ) |
#define LR1110_SYSTEM_IRQ_NONE ( 0 << 0 ) |
Interrupt flags.
#define LR1110_SYSTEM_IRQ_PREAMBLE_DETECTED ( 1 << 4 ) |
#define LR1110_SYSTEM_IRQ_RX_DONE ( 1 << 3 ) |
#define LR1110_SYSTEM_IRQ_SYNC_WORD_HEADER_VALID ( 1 << 5 ) |
#define LR1110_SYSTEM_IRQ_TIMEOUT ( 1 << 10 ) |
#define LR1110_SYSTEM_IRQ_TX_DONE ( 1 << 2 ) |
#define LR1110_SYSTEM_IRQ_WIFI_SCAN_DONE ( 1ul << 20 ) |
#define LR1110_SYSTEM_JOIN_EUI_LENGTH ( 8 ) |
#define LR1110_SYSTEM_PIN_LENGTH ( 4 ) |
#define LR1110_SYSTEM_UID_LENGTH ( 8 ) |
Length of the LR1110 Unique Identifier in bytes.
The LR1110 Unique Identifiers is an 8 byte long buffer
#define LR1110_SYSTEM_VERSION_LENGTH ( 4 ) |
Length in byte of the LR1110 version blob.
typedef uint8_t lr1110_system_cal_mask_t |
typedef uint16_t lr1110_system_errors_t |
typedef uint32_t lr1110_system_irq_mask_t |
Type to store system interrupt flags.
typedef uint8_t lr1110_system_join_eui_t[LR1110_SYSTEM_JOIN_EUI_LENGTH] |
Fixed-length array to store a joinEUI.
typedef uint8_t lr1110_system_pin_t[LR1110_SYSTEM_PIN_LENGTH] |
Fixed-length array to store a PIN.
typedef struct lr1110_system_rfswitch_cfg_s lr1110_system_rfswitch_cfg_t |
RF switch configuration structure definition.
typedef struct lr1110_system_sleep_cfg_s lr1110_system_sleep_cfg_t |
Sleep configuration structure definition.
typedef struct lr1110_system_stat1_s lr1110_system_stat1_t |
Status register 1 structure definition.
typedef struct lr1110_system_stat2_s lr1110_system_stat2_t |
Status register 2 structure definition.
typedef uint8_t lr1110_system_uid_t[LR1110_SYSTEM_UID_LENGTH] |
Fixed-length array to store a UID.
typedef struct lr1110_system_version_s lr1110_system_version_t |
Version structure definition.
Error flags.
TCXO supply voltage values.