Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
modem_backend_common Struct Reference

Common state for u-blox modem backends. More...

#include <common.h>

Data Fields

const struct gpio_dt_spec * data_ready
 Pointer to data ready pin configuration.
struct modem_pipe pipe
 Communication pipe.
struct ring_buf pipe_ring_buf
 Ring buffer for holding pipe data stream.
struct k_work_delayable fifo_read
 Worker that reads the FIFO.
struct k_poll_signal read_result
 Signal to notify when FIFO read completes.
struct gpio_callback data_ready_cb
 Callback for data ready GPIO.
struct k_sem bus_sem
 Bus (RTIO SQE) contention semaphore.
k_timeout_t poll_period
 Duration between polls.
uint16_t bytes_pending
 Number of bytes pending on FIFO.
uint8_t flags
 Internal state flags.
uint8_t pipe_memory [CONFIG_GNSS_U_BLOX_PIPE_SIZE]
 Backing memory for pipe data stream.

Detailed Description

Common state for u-blox modem backends.

Field Documentation

◆ bus_sem

struct k_sem modem_backend_common::bus_sem

Bus (RTIO SQE) contention semaphore.

◆ bytes_pending

uint16_t modem_backend_common::bytes_pending

Number of bytes pending on FIFO.

◆ data_ready

const struct gpio_dt_spec* modem_backend_common::data_ready

Pointer to data ready pin configuration.

◆ data_ready_cb

struct gpio_callback modem_backend_common::data_ready_cb

Callback for data ready GPIO.

◆ fifo_read

struct k_work_delayable modem_backend_common::fifo_read

Worker that reads the FIFO.

◆ flags

uint8_t modem_backend_common::flags

Internal state flags.

◆ pipe

struct modem_pipe modem_backend_common::pipe

Communication pipe.

◆ pipe_memory

uint8_t modem_backend_common::pipe_memory[CONFIG_GNSS_U_BLOX_PIPE_SIZE]

Backing memory for pipe data stream.

◆ pipe_ring_buf

struct ring_buf modem_backend_common::pipe_ring_buf

Ring buffer for holding pipe data stream.

◆ poll_period

k_timeout_t modem_backend_common::poll_period

Duration between polls.

◆ read_result

struct k_poll_signal modem_backend_common::read_result

Signal to notify when FIFO read completes.


The documentation for this struct was generated from the following file: