ata8520e_params.h File Reference

Default initialization parameters for the ATA8520E device. More...

Detailed Description

Default initialization parameters for the ATA8520E device.

Default initialization parameters for the ATA8520E device

Author
Alexandre Abadie alexa.nosp@m.ndre.nosp@m..abad.nosp@m.ie@i.nosp@m.nria..nosp@m.fr

Definition in file ata8520e_params.h.

#include "board.h"
#include "ata8520e.h"
+ Include dependency graph for ata8520e_params.h:

Go to the source code of this file.

Variables

static const ata8520e_params_t ata8520e_params []
 ATA8520E configuration. More...
 

Set default configuration parameters for the ATA8520E driver

#define ATA8520E_PARAM_SPI   SPI_DEV(0)
 
#define ATA8520E_PARAM_SPI_CLK   (SPI_CLK_100KHZ)
 
#define ATA8520E_PARAM_CS_PIN   GPIO_PIN(0, 0)
 
#define ATA8520E_PARAM_INT_PIN   GPIO_PIN(0, 1)
 
#define ATA8520E_PARAM_POWER_PIN   GPIO_PIN(0, 2)
 
#define ATA8520E_PARAM_RESET_PIN   GPIO_PIN(0, 3)
 
#define ATA8520E_PARAMS
 

Macro Definition Documentation

◆ ATA8520E_PARAMS

#define ATA8520E_PARAMS
Value:
{ .spi = ATA8520E_PARAM_SPI, \
.spi_clk = ATA8520E_PARAM_SPI_CLK, \
.cs_pin = ATA8520E_PARAM_CS_PIN, \
.int_pin = ATA8520E_PARAM_INT_PIN, \
.power_pin = ATA8520E_PARAM_POWER_PIN, \
.reset_pin = ATA8520E_PARAM_RESET_PIN }

Definition at line 53 of file ata8520e_params.h.

Variable Documentation

◆ ata8520e_params

const ata8520e_params_t ata8520e_params[]
static
Initial value:
=
{
ATA8520E_PARAMS
}

ATA8520E configuration.

Definition at line 65 of file ata8520e_params.h.