|
PixelKey
NeoPixel USB Key
|
#include <stdlib.h>#include <stdint.h>#include <stdbool.h>#include <string.h>#include "hal_device.h"#include "helper_macros.h"#include "pixelkey_errors.h"#include "neopixel.h"#include "config.h"Functions | |
| config_api_t const * | config (void) |
| Get a pointer to the current API instance. More... | |
| config_data_t const * | config_default (void) |
| Get a pointer to the default configuration values. More... | |
| config_data_t const * | config_get_or_default (void) |
| Gets a pointer to the saved configuration values or the defaults if an error occurs. More... | |
| void | config_register (config_api_t const *p_instance) |
| Register an API to be used as the current instance. More... | |
| pixelkey_error_t | config_validate (void) |
| Validates and updates NV memory config if needed; can only be called after config_register. | |
Variables | |
| static config_api_t const * | registered_api = NULL |
| Currently registered API instance. | |
| static config_data_t const | config_data_default |
| Default configuration data. More... | |