binary Clock
Data Structures | Macros | Functions
color.h File Reference

Color related definitions and structures. More...

#include <stdint.h>
#include "global_defines.h"

Go to the source code of this file.

Data Structures

struct  LED_color_t
 structure to keep track of color information More...
 

Macros

#define COLOR_BITS   8
 Defines the amount of color resolution. More...
 
#define COLOR_ADDR   0
 starting address in EEPROM where color info is saved More...
 

Functions

void save_colors (LED_color_t *color_ptr)
 
retval_t load_colors (LED_color_t *color_ptr)
 

Detailed Description

Color related definitions and structures.

Macro Definition Documentation

◆ COLOR_ADDR

#define COLOR_ADDR   0

starting address in EEPROM where color info is saved

◆ COLOR_BITS

#define COLOR_BITS   8

Defines the amount of color resolution.

Function Documentation

◆ load_colors()

retval_t load_colors ( LED_color_t color_ptr)

◆ save_colors()

void save_colors ( LED_color_t color_ptr)