19#ifndef ATA8520E_PARAMS_H
20#define ATA8520E_PARAMS_H
33#ifndef ATA8520E_PARAM_SPI
34#define ATA8520E_PARAM_SPI SPI_DEV(0)
36#ifndef ATA8520E_PARAM_SPI_CLK
37#define ATA8520E_PARAM_SPI_CLK (SPI_CLK_100KHZ)
39#ifndef ATA8520E_PARAM_CS_PIN
40#define ATA8520E_PARAM_CS_PIN GPIO_PIN(0, 0)
42#ifndef ATA8520E_PARAM_INT_PIN
43#define ATA8520E_PARAM_INT_PIN GPIO_PIN(0, 1)
45#ifndef ATA8520E_PARAM_POWER_PIN
46#define ATA8520E_PARAM_POWER_PIN GPIO_PIN(0, 2)
48#ifndef ATA8520E_PARAM_RESET_PIN
49#define ATA8520E_PARAM_RESET_PIN GPIO_PIN(0, 3)
52#ifndef ATA8520E_PARAMS
53#define ATA8520E_PARAMS { .spi = ATA8520E_PARAM_SPI, \
54 .spi_clk = ATA8520E_PARAM_SPI_CLK, \
55 .cs_pin = ATA8520E_PARAM_CS_PIN, \
56 .int_pin = ATA8520E_PARAM_INT_PIN, \
57 .power_pin = ATA8520E_PARAM_POWER_PIN, \
58 .reset_pin = ATA8520E_PARAM_RESET_PIN }
Device driver for Microchip ATA8520E transceiver (Sigfox)
static const ata8520e_params_t ata8520e_params[]
ATA8520E configuration.
Initialization parameters.