no-OS
Loading...
Searching...
No Matches
parameters.h File Reference
#include "maxim_uart.h"
#include "maxim_uart_stdio.h"
#include "maxim_spi.h"
#include "maxim_gpio.h"
Include dependency graph for parameters.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define UART_DEVICE_ID   1
 
#define UART_IRQ_ID   UART1_IRQn
 
#define UART_BAUDRATE   115200
 
#define UART_OPS   &max_uart_ops
 
#define UART_EXTRA   &max_uart_extra
 
#define SPI_DEVICE_ID   1
 
#define SPI_CS   0
 
#define SPI_MAX_SPEED   1000000 /* 1 MHz SPI clock */
 
#define SPI_OPS   &max_spi_ops
 
#define SPI_EXTRA   &max_spi_extra
 
#define LTC2378_DEFAULT_VREF_UV   2500000 /* 2.5V reference voltage in microvolts */
 
#define BASIC_EXAMPLE_DELAY_MS   500 /* Delay between measurements in basic example */
 
#define GPIO_CNV_PORT_NUM   0
 
#define GPIO_CNV_PIN_NUM   9
 
#define GPIO_BUSY_PORT_NUM   0
 
#define GPIO_BUSY_PIN_NUM   10
 
#define GPIO_OPS   &max_gpio_ops
 
#define GPIO_EXTRA   &max_gpio_extra
 

Variables

struct max_uart_init_param max_uart_extra
 
struct max_spi_init_param max_spi_extra
 
struct max_gpio_init_param max_gpio_extra
 

Macro Definition Documentation

◆ BASIC_EXAMPLE_DELAY_MS

#define BASIC_EXAMPLE_DELAY_MS   500 /* Delay between measurements in basic example */

◆ GPIO_BUSY_PIN_NUM

#define GPIO_BUSY_PIN_NUM   10

◆ GPIO_BUSY_PORT_NUM

#define GPIO_BUSY_PORT_NUM   0

◆ GPIO_CNV_PIN_NUM

#define GPIO_CNV_PIN_NUM   9

◆ GPIO_CNV_PORT_NUM

#define GPIO_CNV_PORT_NUM   0

◆ GPIO_EXTRA

#define GPIO_EXTRA   &max_gpio_extra

◆ GPIO_OPS

#define GPIO_OPS   &max_gpio_ops

◆ LTC2378_DEFAULT_VREF_UV

#define LTC2378_DEFAULT_VREF_UV   2500000 /* 2.5V reference voltage in microvolts */

◆ SPI_CS

#define SPI_CS   0

◆ SPI_DEVICE_ID

#define SPI_DEVICE_ID   1

◆ SPI_EXTRA

#define SPI_EXTRA   &max_spi_extra

◆ SPI_MAX_SPEED

#define SPI_MAX_SPEED   1000000 /* 1 MHz SPI clock */

◆ SPI_OPS

#define SPI_OPS   &max_spi_ops

◆ UART_BAUDRATE

#define UART_BAUDRATE   115200

◆ UART_DEVICE_ID

#define UART_DEVICE_ID   1

◆ UART_EXTRA

#define UART_EXTRA   &max_uart_extra

◆ UART_IRQ_ID

#define UART_IRQ_ID   UART1_IRQn

◆ UART_OPS

#define UART_OPS   &max_uart_ops

Variable Documentation

◆ max_gpio_extra

struct max_gpio_init_param max_gpio_extra
extern

◆ max_spi_extra

struct max_spi_init_param max_spi_extra
extern

◆ max_uart_extra

struct max_uart_init_param max_uart_extra
extern