no-OS
Classes | Functions | Variables
mux_board.c File Reference

Cross-point switch handling code. More...

#include <stdbool.h>
#include "no_os_delay.h"
#include "mux_board.h"
#include "app.h"
Include dependency graph for mux_board.c:

Classes

struct  adg2128_pinmap
 

Functions

void setMuxSwitch (struct no_os_i2c_desc *i2c, struct ad5940_dev *ad5940, struct electrode_combo sw, uint16_t nElCount)
 

Variables

struct adg2128_pinmap board_map [ADG2128_MUX_SIZE]
 

Detailed Description

Cross-point switch handling code.

Author
Kister Jimenez (kiste.nosp@m.r.ji.nosp@m.menez.nosp@m.@ana.nosp@m.log.c.nosp@m.om)
Darius Berghe (dariu.nosp@m.s.be.nosp@m.rghe@.nosp@m.anal.nosp@m.og.co.nosp@m.m)

Copyright 2022(c) Analog Devices, 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:

THIS SOFTWARE IS PROVIDED BY ANALOG DEVICES "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ANALOG DEVICES BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, INTELLECTUAL PROPERTY RIGHTS, 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.

Function Documentation

◆ setMuxSwitch()

void setMuxSwitch ( struct no_os_i2c_desc i2c,
struct ad5940_dev *  ad5940,
struct electrode_combo  sw,
uint16_t  nElCount 
)
Here is the caller graph for this function:

Variable Documentation

◆ board_map

struct adg2128_pinmap board_map[ADG2128_MUX_SIZE]
Initial value:
= {
{0x71, 0x80},
{0x71, 0x88},
{0x71, 0x90},
{0x71, 0x98},
{0x71, 0xA0},
{0x71, 0xA8},
{0x71, 0xC0},
{0x71, 0xC8},
{0x70, 0x80},
{0x70, 0x88},
{0x70, 0x90},
{0x70, 0x98},
{0x70, 0xA0},
{0x70, 0xA8},
{0x70, 0xC0},
{0x70, 0xC8}
}