nRF Connect SDK API 0.1.0
|
#include <app_event_manager.h>
#include <app_event_manager_profiler_tracer.h>
#include "hid_report_desc.h"
Go to the source code of this file.
Data Structures | |
struct | config_event |
Configuration channel event. Used to forward configuration channel request/response. More... | |
Macros | |
#define | CONFIG_STATUS_LIST |
Config channel status list. | |
#define | X(name) _CONCAT(CONFIG_STATUS_, name), |
#define | CONFIG_CHANNEL_FETCHED_DATA_MAX_SIZE 16 |
#define | MOD_FIELD_POS 4 |
#define | MOD_FIELD_SIZE 4 |
#define | MOD_FIELD_MASK BIT_MASK(MOD_FIELD_SIZE) |
#define | MOD_FIELD_SET(module) ((module & MOD_FIELD_MASK) << MOD_FIELD_POS) |
#define | MOD_FIELD_GET(event_id) ((event_id >> MOD_FIELD_POS) & MOD_FIELD_MASK) |
#define | OPT_FIELD_POS 0 |
#define | OPT_FIELD_SIZE 4 |
#define | OPT_FIELD_MASK BIT_MASK(OPT_FIELD_SIZE) |
#define | OPT_FIELD_SET(option) ((option & OPT_FIELD_MASK) << OPT_FIELD_POS) |
#define | OPT_FIELD_GET(event_id) ((event_id >> OPT_FIELD_POS) & OPT_FIELD_MASK) |
#define | OPT_ID_GET(opt_field) (opt_field - 1) |
#define | MODULE_OPT_MODULE_DESCR 0x0 |
#define | MODULE_DESCR_END_CHAR '\n' |
#define | OPT_DESCR_MODULE_VARIANT "module_variant" |
#define | CFG_CHAN_RECIPIENT_LOCAL 0x00 |
#define | GEN_CONFIG_EVENT_HANDLERS(mod_name, opt_descr, config_set_fn, config_fetch_fn) |
Enumerations | |
enum | config_status { } |
Functions | |
APP_EVENT_TYPE_DYNDATA_DECLARE (config_event) | |