Changing the ADMW1001 Configuration

How do I change my ADMW1001 configuration?

  • +1
    •  Analog Employees 
    on Aug 1, 2019 1:48 AM

    The ADMW1001 configuration is set in the ADMW1001_example_fimware MBED project by including a “config.c” file that specifies the configuration using an “ADMW_CONFIG” struct. In main.cpp an extern is declared with the type “ADMW_CONFIG” referencing this struct. A pointer to this external variable is passed to the admw_SetConfig api.

    The ADMW1001_example_fimware MBED project includes 9 example configuration C files demonstrating different sensor combinations and sequencer configurations. Each of these configuration files are referenced by an extern variable at the top of main.cpp. One of these configurations can be selected by changing the pSelectedConfig pointer in main.cpp to reference a specific configuration. Be sure to include a “&” when specifying the selected config as the configuration must be passed by pointer rather than by value.