Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: adi_console_menu platform_drivers
ad5592r_reset_config.c
00001 /*! 00002 ***************************************************************************** 00003 @file: ad5592r_reset_config.c 00004 @brief: Device parameters, structure and reset condition settings 00005 @details: Settings for device upon reset 00006 00007 ----------------------------------------------------------------------------- 00008 Copyright (c) 2020 Analog Devices, Inc. 00009 All rights reserved. 00010 00011 This software is proprietary to Analog Devices, Inc. and its licensors. 00012 By using this software you agree to the terms of the associated 00013 Analog Devices Software License Agreement. 00014 *****************************************************************************/ 00015 00016 /******************************************************************************/ 00017 /***************************** Include Files **********************************/ 00018 /******************************************************************************/ 00019 #include "app_config.h" 00020 #include "ad5592r-base.h" 00021 00022 /******************************************************************************/ 00023 /***************************** Constants **********************************/ 00024 /******************************************************************************/ 00025 const struct ad5592r_dev ad5592r_dev_reset = { 00026 .ops = NULL, 00027 .spi = NULL, 00028 .i2c = NULL, 00029 .spi_msg = 0, 00030 .num_channels = NUM_CHANNELS, 00031 .cached_dac = { 0, 0, 0, 0, 0, 0, 0 }, 00032 .cached_gp_ctrl = 0, 00033 .channel_modes = { 00034 CH_MODE_UNUSED, 00035 CH_MODE_UNUSED, 00036 CH_MODE_UNUSED, 00037 CH_MODE_UNUSED, 00038 CH_MODE_UNUSED, 00039 CH_MODE_UNUSED, 00040 CH_MODE_UNUSED, 00041 CH_MODE_UNUSED 00042 }, 00043 .channel_offstate = { 00044 CH_OFFSTATE_PULLDOWN, 00045 CH_OFFSTATE_PULLDOWN, 00046 CH_OFFSTATE_PULLDOWN, 00047 CH_OFFSTATE_PULLDOWN, 00048 CH_OFFSTATE_PULLDOWN, 00049 CH_OFFSTATE_PULLDOWN, 00050 CH_OFFSTATE_PULLDOWN, 00051 CH_OFFSTATE_PULLDOWN 00052 }, 00053 .gpio_out = 0, 00054 .gpio_in = 0, 00055 .gpio_val = 0, 00056 .ldac_mode = 0, 00057 };
Generated on Wed Jul 13 2022 14:09:19 by
1.7.2