Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
u_blox_spi.h File Reference
#include <zephyr/kernel.h>
#include <zephyr/device.h>
#include <zephyr/drivers/i2c.h>
#include <zephyr/drivers/gpio.h>
#include <zephyr/sys/ring_buffer.h>
#include <zephyr/modem/pipe.h>

Go to the source code of this file.

Data Structures

struct  modem_backend_ublox_spi
 
struct  modem_backend_ublox_spi_config
 

Functions

struct modem_pipe * modem_backend_ublox_spi_init (struct modem_backend_ublox_spi *backend, const struct modem_backend_ublox_spi_config *config)
 Initialize modem backend.
 
void modem_backend_ublox_spi_use_data_ready_gpio (struct modem_backend_ublox_spi *backend)
 Transition from polling to interrupt driven mode.
 

Function Documentation

◆ modem_backend_ublox_spi_init()

struct modem_pipe * modem_backend_ublox_spi_init ( struct modem_backend_ublox_spi * backend,
const struct modem_backend_ublox_spi_config * config )

Initialize modem backend.

Parameters
backendModem backend data structure
configModem backend configuration
Returns
Pointer to the modem pipe

◆ modem_backend_ublox_spi_use_data_ready_gpio()

void modem_backend_ublox_spi_use_data_ready_gpio ( struct modem_backend_ublox_spi * backend)

Transition from polling to interrupt driven mode.

Parameters
backendModem backend data structure