Loading...
Searching...
No Matches
apa102_params.h File Reference

APA102 board specific configuration. More...

Detailed Description

APA102 board specific configuration.

Author
Hauke Petersen hauke.nosp@m..pet.nosp@m.ersen.nosp@m.@fu-.nosp@m.berli.nosp@m.n.de

Definition in file apa102_params.h.

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

Go to the source code of this file.

Variables

static const apa102_params_t apa102_params []
 APA102 configuration.
 
#define APA102_PARAM_LED_NUMOF   (64) /* many have 64 per meter... */
 Set default configuration parameters for the APA102 driver.
 
#define APA102_PARAM_DATA_PIN   (GPIO_PIN(0, 0))
 
#define APA102_PARAM_CLK_PIN   (GPIO_PIN(0, 1))
 
#define APA102_PARAMS
 

Macro Definition Documentation

◆ APA102_PARAM_CLK_PIN

#define APA102_PARAM_CLK_PIN   (GPIO_PIN(0, 1))

Definition at line 39 of file apa102_params.h.

◆ APA102_PARAM_DATA_PIN

#define APA102_PARAM_DATA_PIN   (GPIO_PIN(0, 0))

Definition at line 36 of file apa102_params.h.

◆ APA102_PARAM_LED_NUMOF

#define APA102_PARAM_LED_NUMOF   (64) /* many have 64 per meter... */

Set default configuration parameters for the APA102 driver.

Definition at line 33 of file apa102_params.h.

◆ APA102_PARAMS

#define APA102_PARAMS
Value:
{ .led_numof = APA102_PARAM_LED_NUMOF, \
.data_pin = APA102_PARAM_DATA_PIN, \
.clk_pin = APA102_PARAM_CLK_PIN }
#define APA102_PARAM_LED_NUMOF
Set default configuration parameters for the APA102 driver.

Definition at line 43 of file apa102_params.h.

Variable Documentation

◆ apa102_params

const apa102_params_t apa102_params[]
static
Initial value:
=
{
APA102_PARAMS
}

APA102 configuration.

Definition at line 52 of file apa102_params.h.