AFBR-S50 API Reference Manual v1.5.6
AFBR-S50 Time-of-Flight Sensor SDK for Embedded Software
Loading...
Searching...
No Matches
core_cfg.c File Reference

This file is part of the AFBR-S50 Explorer Demo Application. More...

#include "core_cfg.h"
#include "core_device.h"
#include "core_utils.h"
#include <assert.h>
#include "driver/s2pi.h"
#include "debug.h"
#include "board/board_config.h"
Include dependency graph for core_cfg.c:

Functions

bool ExplorerApp_GetDebugModeEnabled (explorer_t *explorer)
 Gets whether the debug mode is currently enabled.
 
status_t ExplorerApp_SetDebugMode (explorer_t *explorer, bool debugMode)
 Sets the debug mode to the device.
 
void ExplorerApp_GetDefaultConfiguration (explorer_cfg_t *cfg)
 Getter for the default software configuration.
 
void ExplorerApp_GetConfiguration (explorer_t *explorer, explorer_cfg_t *cfg)
 Getter for the software configuration.
 
status_t ExplorerApp_SetConfiguration (explorer_t *explorer, explorer_cfg_t *cfg)
 Setter for the software configuration.
 
status_t ExplorerApp_SetDeviceMeasurementMode (explorer_t *explorer, argus_mode_t mode)
 Sets the device measurement mode and load default values.
 
status_t ExplorerApp_ResetDeviceMeasurementMode (explorer_t *explorer)
 Resets the device measurement mode and load default values.
 
data_output_mode_t ExplorerApp_GetDataOutputMode (explorer_t *explorer)
 Gets the current data output mode.
 
void ExplorerApp_ResetDefaultDataStreamingMode (explorer_t *explorer)
 Reset the Argus device to the default data streaming mode.
 

Detailed Description

This file is part of the AFBR-S50 Explorer Demo Application.

This file contains the hardware API of the Explorer Application.

Copyright (c) 2023, Broadcom Inc. All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.