|
MetaWear C++ API
0.18.0
C++ implementation of the MetaWear protocol
|
Interacts with an onboard data processor. More...
#include "dataprocessor_fwd.h"#include "metawear/core/datasignal_fwd.h"#include "metawear/core/metawearboard_fwd.h"#include "metawear/platform/dllmarker.h"Go to the source code of this file.
Functions | |
| METAWEAR_API MblMwDataSignal * | mbl_mw_dataprocessor_get_state_data_signal (const MblMwDataProcessor *processor) |
| Get the data signal representing a processor's internal state. More... | |
| METAWEAR_API void | mbl_mw_dataprocessor_remove (MblMwDataProcessor *processor) |
| Removes a data processor and its consumers from the board. More... | |
| METAWEAR_API uint8_t | mbl_mw_dataprocessor_get_id (const MblMwDataProcessor *processor) |
| Retrieves the id value identifying the processor. More... | |
| METAWEAR_API MblMwDataProcessor * | mbl_mw_dataprocessor_lookup_id (const MblMwMetaWearBoard *board, uint8_t id) |
| Looks up the MblMwDataProcessor object corresponding to the id. More... | |
Interacts with an onboard data processor.
| METAWEAR_API uint8_t mbl_mw_dataprocessor_get_id | ( | const MblMwDataProcessor * | processor | ) |
Retrieves the id value identifying the processor.
| processor | Processor to lookup |
| METAWEAR_API MblMwDataSignal* mbl_mw_dataprocessor_get_state_data_signal | ( | const MblMwDataProcessor * | processor | ) |
Get the data signal representing a processor's internal state.
Processors that have an internal state are: accumulator, buffer, counter, delta, and passthrough.
| processor | Processor to access |
| METAWEAR_API MblMwDataProcessor* mbl_mw_dataprocessor_lookup_id | ( | const MblMwMetaWearBoard * | board, |
| uint8_t | id | ||
| ) |
Looks up the MblMwDataProcessor object corresponding to the id.
| board | Board to search on |
| id | Numerical id to lookup |
| METAWEAR_API void mbl_mw_dataprocessor_remove | ( | MblMwDataProcessor * | processor | ) |
Removes a data processor and its consumers from the board.
| processor | Processor to remove |
1.8.14