precision-converters-firmware
Macros | Variables
app_config_mbed.h File Reference
#include <stdint.h>
#include <PinNames.h>
#include "no_os_gpio.h"
#include "mbed_uart.h"
#include "mbed_irq.h"
#include "mbed_gpio_irq.h"
#include "mbed_spi.h"
#include "mbed_i2c.h"
#include "mbed_gpio.h"
Include dependency graph for app_config_mbed.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define SPI_CSB   ARDUINO_UNO_D10
 
#define SPI_HOST_SDO   ARDUINO_UNO_D11
 
#define SPI_HOST_SDI   ARDUINO_UNO_D12
 
#define SPI_SCK   ARDUINO_UNO_D13
 
#define I2C_SCL   ARDUINO_UNO_D15
 
#define I2C_SDA   ARDUINO_UNO_D14
 
#define CONV_MON   ARDUINO_UNO_D2
 
#define UART_TX   CONSOLE_TX
 
#define UART_RX   CONSOLE_RX
 
#define AD77681_MCLK   (16384)
 
#define AD77681_DECIMATION_RATE   (32U)
 
#define AD77681_DEFAULT_MCLK_DIV   (8)
 
#define AD77681_ODR_CONV_SCALER   (AD77681_DECIMATION_RATE * AD77681_DEFAULT_MCLK_DIV)
 
#define AD77681_DEFAULT_SAMPLING_FREQ   ((AD77681_MCLK * 1000) / AD77681_ODR_CONV_SCALER)
 

Variables

struct mbed_gpio_irq_init_param mbed_trigger_gpio_irq_init_params
 
struct mbed_gpio_init_param mbed_trigger_gpio_extra_init_params
 
struct mbed_uart_init_param mbed_uart_extra_init_params
 
struct mbed_uart_init_param mbed_vcom_extra_init_params
 
struct mbed_spi_init_param mbed_spi_extra_init_params
 
struct mbed_i2c_init_param mbed_i2c_extra_init_params
 

Macro Definition Documentation

◆ AD77681_DECIMATION_RATE

#define AD77681_DECIMATION_RATE   (32U)

◆ AD77681_DEFAULT_MCLK_DIV

#define AD77681_DEFAULT_MCLK_DIV   (8)

◆ AD77681_DEFAULT_SAMPLING_FREQ

#define AD77681_DEFAULT_SAMPLING_FREQ   ((AD77681_MCLK * 1000) / AD77681_ODR_CONV_SCALER)

◆ AD77681_MCLK

#define AD77681_MCLK   (16384)

◆ AD77681_ODR_CONV_SCALER

#define AD77681_ODR_CONV_SCALER   (AD77681_DECIMATION_RATE * AD77681_DEFAULT_MCLK_DIV)

◆ CONV_MON

#define CONV_MON   ARDUINO_UNO_D2

◆ I2C_SCL

#define I2C_SCL   ARDUINO_UNO_D15

◆ I2C_SDA

#define I2C_SDA   ARDUINO_UNO_D14

◆ SPI_CSB

#define SPI_CSB   ARDUINO_UNO_D10

◆ SPI_HOST_SDI

#define SPI_HOST_SDI   ARDUINO_UNO_D12

◆ SPI_HOST_SDO

#define SPI_HOST_SDO   ARDUINO_UNO_D11

◆ SPI_SCK

#define SPI_SCK   ARDUINO_UNO_D13

◆ UART_RX

#define UART_RX   CONSOLE_RX

◆ UART_TX

#define UART_TX   CONSOLE_TX

Variable Documentation

◆ mbed_i2c_extra_init_params

struct mbed_i2c_init_param mbed_i2c_extra_init_params
extern

◆ mbed_spi_extra_init_params

struct mbed_spi_init_param mbed_spi_extra_init_params
extern

◆ mbed_trigger_gpio_extra_init_params

struct mbed_gpio_init_param mbed_trigger_gpio_extra_init_params
extern

◆ mbed_trigger_gpio_irq_init_params

struct mbed_gpio_irq_init_param mbed_trigger_gpio_irq_init_params
extern

◆ mbed_uart_extra_init_params

struct mbed_uart_init_param mbed_uart_extra_init_params
extern

◆ mbed_vcom_extra_init_params

struct mbed_uart_init_param mbed_vcom_extra_init_params
extern