All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Loading...
Searching...
No Matches

Default configuration for DS3234 devices. More...

Detailed Description

Default configuration for DS3234 devices.

Author
Joakim Nohlgård joaki.nosp@m.m.no.nosp@m.hlgar.nosp@m.d@ei.nosp@m.stec..nosp@m.se

Definition in file ds3234_params.h.

#include "board.h"
#include "ds3234.h"
+ Include dependency graph for ds3234_params.h:

Go to the source code of this file.

Variables

static const ds3234_params_t ds3234_params []
 Configure DS3234 devices.
 

Set default configuration parameters for the DS3234 devices

#define DS3234_PARAM_SPI   (SPI_DEV(0))
 
#define DS3234_PARAM_CS   (GPIO_PIN(0, 0))
 
#define DS3234_PARAM_CLK   (SPI_CLK_1MHZ)
 
#define DS3234_PARAMS
 

Macro Definition Documentation

◆ DS3234_PARAM_CLK

#define DS3234_PARAM_CLK   (SPI_CLK_1MHZ)

Definition at line 40 of file ds3234_params.h.

◆ DS3234_PARAM_CS

#define DS3234_PARAM_CS   (GPIO_PIN(0, 0))

Definition at line 37 of file ds3234_params.h.

◆ DS3234_PARAM_SPI

#define DS3234_PARAM_SPI   (SPI_DEV(0))

Definition at line 34 of file ds3234_params.h.

◆ DS3234_PARAMS

#define DS3234_PARAMS
Value:
{ \
.spi = DS3234_PARAM_SPI, \
.cs = DS3234_PARAM_CS, \
.clk = DS3234_PARAM_CLK, \
}

Definition at line 43 of file ds3234_params.h.

Variable Documentation

◆ ds3234_params

const ds3234_params_t ds3234_params[]
static
Initial value:
=
{
DS3234_PARAMS
}

Configure DS3234 devices.

Definition at line 55 of file ds3234_params.h.