no-OS
parameters.h
Go to the documentation of this file.
1 /***************************************************************************/
34 #ifndef __PARAMETERS_H__
35 #define __PARAMETERS_H__
36 
37 /******************************************************************************/
38 /***************************** Include Files **********************************/
39 /******************************************************************************/
40 #include "maxim_uart_stdio.h"
41 #include "maxim_gpio.h"
42 #include "maxim_uart.h"
43 #include "maxim_irq.h"
44 #include "maxim_i2c.h"
45 #include "maxim_spi.h"
46 /******************************************************************************/
47 /********************** Macros and Constants Definitions **********************/
48 /******************************************************************************/
49 // UART parameters
50 #define UART_IRQ_ID UART0_IRQn
51 
52 #define UART_DEVICE_ID 0
53 #define UART_BAUDRATE 57600
54 #define UART_EXTRA &ade9113_uart_extra_ip
55 #define UART_OPS &max_uart_ops
56 
57 #define I2C_DEVICE_ID 1
58 #define I2C_OPS &max_i2c_ops
59 #define I2C_EXTRA &adt75_i2c_extra
60 
61 // SPI parameters
62 #if (TARGET_NUM == 78000)
63 #define SPI_DEVICE_ID 1
64 #define SPI_CS 1
65 #elif (TARGET_NUM == 32650)
66 #define SPI_DEVICE_ID 1
67 #define SPI_CS 0
68 #else
69 #define SPI_DEVICE_ID 1
70 #define SPI_CS 0
71 #endif
72 
73 #define SPI_BAUDRATE 1000000
74 #define SPI_OPS &max_spi_ops
75 #define SPI_EXTRA &ade9113_spi_extra_ip
76 
77 // GPIO parameters
78 #define GPIO_OPS &max_gpio_ops
79 #define GPIO_EXTRA &ade9113_gpio_extra_ip
80 #define GPIO_RDY_PIN_NUM 15
81 #define GPIO_RDY_PORT_NUM 0
82 
83 #define GPIO_IRQ_OPS &max_gpio_irq_ops
84 #define GPIO_CTRL_IRQ_ID 0
85 #define GPIO_IRQ_EXTRA &ade9113_gpio_extra_ip
86 #define NVIC_GPIO_IRQ GPIO0_IRQn
87 
88 #define GPIO_RESET_PIN_NUM 19
89 #define GPIO_RESET_PORT_NUM 0
90 
91 #define GPIO_ZC_PIN 14
92 
93 // RCD GPIOs
94 #define GPIO_RCM_TEST_PIN 18
95 #define GPIO_RCDDC_PIN 26
96 #define GPIO_RCDAC_PIN 27
97 
98 // PWM parameters and CP measurement parameters
99 #define FREQ 1000 // (Hz)
100 #define PWM_TIMER MXC_TMR0 // Port 0, Pin 2 output
101 #define PWM_LOW_TIMER MXC_TMR1 // Timer for measuring CP Low voltage
102 #define PWM_DUTY_10A (166u)
103 #define PWM_DUTY_16A (266u)
104 #define PWM_DC (999u)
105 #define PWM_OFF (1u)
106 #define PWM_LOW_TEST_VAL (160u)
107 #define PWM_HIGH_TEST_VAL (1890u)
108 #define PWM_HIGH_TEST_VAL_EV_CONNECTED (1600u)
109 // ADC parameters
110 #define ADC_CHANNEL MXC_ADC_CH_0
111 // Take action flag
112 #define TAKE_S_M_ACTION (1000u)
113 // Steps required for RELAY checking
114 #define RELAY_CHECK_STEP (3u)
115 // Steps required for RCD testing
116 #define MEASURE_RCDAC_RCDDC_STEP (108u)
117 #define RESTORE_TEST_PIN_STEP (3u)
118 #define SAMPLE_PINS_STEP_1 (37u)
119 #define SAMPLE_PINS_STEP_2 (72u)
120 #define SAMPLE_PINS_STEP_3 (108u)
121 // Steps for requiring overcurrent check
122 #define MEASURE_OVERCURRENT_STEP (300u)
123 // Current limit not charging
124 #define I_LIMIT_NOT_CHG (200u)
125 // Current limit charging
126 #define I_LIMIT_16A (16500u)
127 // Curent limit charging low power
128 #define I_LIMIT_10A (10500u)
129 // Number of cycles skipped before Vin self test
130 #define SELF_TEST_SKIP_CYCLES_NO (50u)
131 // Number of cycles skipped after self test to update rms values
132 #define SKIP_CYCLES_AFTER_SELF_TEST (100u)
133 #if defined REV_A
134 // Number of cycles skipped after relay switch to update rms values
135 #define SKIP_CYCLES_AFTER_RELAY_SW (150u)
136 #endif
137 // Delay used between Vin and Vrelay readings during startup selftest
138 #define DELAY_SELF_TEST_READING (300u)
139 // Value indicating the delay between readings (default 20ms)
140 #define VALUE_20MS (20000u)
141 // RCD test repeat disable interval in seconds
142 #define RCD_TIME_REPEAT_INTERVAL (10u)
143 // Print values disable interval in seconds
144 #define PRINT_VALUES_TIME (4u)
145 // The time rate used to compute Vin and Iout (multiple of 20ms)
146 #define COMPUTE_VALUES_INTERVAL (5u)
147 // The time rate used to compute Vrelay (multiple of COMPUTE_VALUES_INTERVAL)
148 #define COMPUTE_VRELAY_INTERVAL (25u)
149 // The rate at which the temperature is read (multiple of 20ms)
150 #define TEMPERATURE_READ_RATE (250u)
151 // Delay for diode error check
152 #define DIODE_ERR_DELAY (20u)
153 // CP value limit for diode error detected
154 #define CP_DIODE_ERROR_LIMIT (150u)
155 // Charging blinking LED timing for Iout 16A
156 #define LED_BLINKING_16A (4u)
157 // Charging blinking LED timing for Iout 10A
158 #define LED_BLINKING_10A (8u)
159 // Control pilot High side low limit value
160 #define CP_H_LOW_LIMIT (1100u)
161 // State A CP high side high limit
162 #define CPH_A_LIMIT_HIGH (1890u)
163 // State A CP high side low limit
164 #define CPH_A_LIMIT_LOW (1800u)
165 // State B CP high side high limit
166 #define CPH_B_LIMIT_HIGH (1670u)
167 // State B CP high side low limi
168 #define CPH_B_LIMIT_LOW (1600u)
169 // State C CP high side high limit
170 #define CPH_C_LIMIT_HIGH (1450u)
171 // State C CP high side low limit
172 #define CPH_C_LIMIT_LOW (1390u)
173 // State D CP high side high limit
174 #define CPH_D_LIMIT_HIGH (1226u)
175 // State D CP high side low limit
176 #define CPH_D_LIMIT_LOW (1180u)
177 // State B delay for changing CP from DC to PWM
178 #define CP_DC_PWM_DELAY (2000u)
179 // Adjust to new PWM duty time delay
180 #define ADJUST_TIME (5000l)
181 #if defined(REV_D)
182 //Upstream PE error detection pin
183 #define INT_PORT (2u)
184 #define INT_PIN (3u)
185 #define INT_PIN_OPTO1 (5u)
186 #define INT_PIN_OPTO2 (7u)
187 #endif
188 
189 // Extra components
193 extern struct max_i2c_init_param adt75_i2c_extra;
194 
195 
196 #endif /* __PARAMETERS_H__ */
axi_clkgen_init::name
const char * name
Definition: clk_axi_clkgen.h:51
spi_engine_offload_init_param::offload_config
uint8_t offload_config
Definition: spi_engine.h:151
stm32_spi_init_param
Structure holding the initialization parameters for stm32 platform specific SPI parameters.
Definition: stm32_spi.h:51
cnv_pwm_gpio_extra_init_params
struct stm32_gpio_init_param cnv_pwm_gpio_extra_init_params
Definition: parameters.c:76
ad74416h_spi_extra
struct mbed_spi_init_param ad74416h_spi_extra
adxl355_spi_extra_ip
struct aducm_spi_init_param adxl355_spi_extra_ip
Definition: parameters.c:42
ad7091r8_gpio_convst_ip
struct no_os_gpio_init_param ad7091r8_gpio_convst_ip
Definition: parameters.c:67
lt7170_i2c_extra
struct max_i2c_init_param lt7170_i2c_extra
Definition: parameters.c:45
SPI0_SCK_GP18
@ SPI0_SCK_GP18
Definition: pico_spi.h:80
RX_CLKGEN_BASEADDR
#define RX_CLKGEN_BASEADDR
Definition: parameters.h:97
no_os_gpio_init_param
Structure holding the parameters for GPIO initialization.
Definition: no_os_gpio.h:79
no_os_pwm_init_param
Structure containing the init parameters needed by the PWM generator.
Definition: no_os_pwm.h:66
max22190_spi_extra
struct max_spi_init_param max22190_spi_extra
Definition: parameters.c:39
parameters.h
Definitions specific to xilinx platform used by pulsar-adc project.
stm32_timer_init_param::htimer
TIM_HandleTypeDef * htimer
Definition: stm32_timer.h:46
stm32_gpio_irq_init_param
Structure holding the initialization parameters for stm32 platform specific GPIO IRQ parameters.
Definition: stm32_gpio_irq.h:44
parameters.h
Definitions specific to Mbed platform used by ad5460 project.
max22190_uart_extra
struct max_uart_init_param max22190_uart_extra
Definition: parameters.c:35
max_i2c_ops
const struct no_os_i2c_platform_ops max_i2c_ops
MAXIM platform specific I2C platform ops structure.
Definition: maxim_i2c.c:322
parameters.h
Definitions specific to Maxim platform used by eval-adxl38x project.
parameters.h
Definitions specific to STM32 platform used by eval-adxl355-pmdz project.
max11205_gpio_extra_ip
struct max_gpio_init_param max11205_gpio_extra_ip
Definition: parameters.c:46
adf4368_uart_extra_ip
struct mbed_uart_init_param adf4368_uart_extra_ip
Definition: parameters.c:36
PWM_TRGO_ENABLE
@ PWM_TRGO_ENABLE
Definition: stm32_pwm.h:70
stm32_dma.h
Platform independent function definitions and data types for the DMA API.
ad7091r8_uart_extra_ip
struct max_uart_init_param ad7091r8_uart_extra_ip
Definition: parameters.c:43
parameters.h
Definition of Maxim platform data used by MAX22200 project.
xsip
struct max_spi_init_param xsip
Definition: parameters.c:46
lt7170_uart_extra
struct max_uart_init_param lt7170_uart_extra
Definition: parameters.c:41
parameters.h
Definitions specific to MAXIM platform used by eval-ltc4306-pmdz project.
ad7616_uart_extra_ip
struct stm32_uart_init_param ad7616_uart_extra_ip
Definition: parameters.c:43
mbed_uart_init_param::uart_tx_pin
uint16_t uart_tx_pin
Definition: mbed_uart.h:64
parameters.h
Definitions specific to MAXIM platform used by adt7420-pmdz project.
ltc2672_spi_extra_ip
struct max_spi_init_param ltc2672_spi_extra_ip
Definition: parameters.c:47
ad463x_spi_extra_ip
struct stm32_spi_init_param ad463x_spi_extra_ip
Definition: parameters.c:144
ad74416h_spi_extra_ip
struct stm32_spi_init_param ad74416h_spi_extra_ip
Definition: parameters.c:46
GPIO_PS
@ GPIO_PS
Definition: xilinx_gpio.h:56
parameters.h
parameters.h
Definitions specific to aducm3029 platform used by eval-adxl355-pmdz project.
SPI_PS
@ SPI_PS
Definition: xilinx_spi.h:62
parameters.h
Definitions specific to Maxim platform used by iio_demo project.
ade9113_uart_extra_ip
struct max_uart_init_param ade9113_uart_extra_ip
Definition: parameters.c:42
parameters.h
Definition of STM32 platform data used by adf4382 project.
adis1655x_uart_extra_ip
struct max_uart_init_param adis1655x_uart_extra_ip
Definition: parameters.c:44
parameters.h
Definitions specific to Mbed platform used by ad74416h project.
adis1654x_gpio_reset_extra_ip
struct stm32_gpio_init_param adis1654x_gpio_reset_extra_ip
Definition: parameters.c:53
max14906_spi_extra
struct max_spi_init_param max14906_spi_extra
Definition: parameters.c:45
adp1050_uart_extra
struct max_uart_init_param adp1050_uart_extra
Definition: parameters.c:35
UART_PL
@ UART_PL
Definition: xilinx_uart.h:57
parameters.h
Definitions specific to the Maxim platform used by the STOUT project.
GPIO_DRDY_PORT_NUM
#define GPIO_DRDY_PORT_NUM
Definition: parameters.h:72
adf4368_spi_extra
struct mbed_spi_init_param adf4368_spi_extra
max22017_gpio_extra_ip
struct max_gpio_init_param max22017_gpio_extra_ip
Definition: parameters.c:35
PWM_TRGO_UPDATE
@ PWM_TRGO_UPDATE
Definition: stm32_pwm.h:71
no_os_dma_init_param
Initialization parameter for the DMA controller.
Definition: no_os_dma.h:171
aducm_spi_init_param::continuous_mode
bool continuous_mode
Definition: aducm3029_spi.h:91
parameters.h
Definitions specific to pico platform used by eval-adxl355-pmdz project.
xil_uart_init_param::type
enum xil_uart_type type
Definition: xilinx_uart.h:69
parameters.h
Definition of Maxim platform data used by ltc4296 project.
SPI_ENG_REF_CLK_FREQ_HZ
#define SPI_ENG_REF_CLK_FREQ_HZ
Definition: parameters.h:103
ltp8800_i2c_extra
struct max_i2c_init_param ltp8800_i2c_extra
Definition: parameters.c:39
max_i2c_init_param
Definition: maxim_i2c.h:58
trigger_pwm_extra_init_params
struct stm32_pwm_init_param trigger_pwm_extra_init_params
Definition: parameters.c:77
SPI_ENGINE_BASEADDR
#define SPI_ENGINE_BASEADDR
Definition: parameters.h:96
parameters.h
ad7091r8_gpio_reset_ip
struct no_os_gpio_init_param ad7091r8_gpio_reset_ip
Definition: parameters.c:58
parameters.h
Definitions specific to Maxim platform used by the ADIN1110.
adf4382_spi_extra
struct mbed_spi_init_param adf4382_spi_extra
aducm_timer_init_param
Definition: aducm3029_timer.h:88
parameters.h
Implementation of parameters.h.
UART_TX_PIN
#define UART_TX_PIN
Definition: parameters.h:50
clk_axi_clkgen.h
Driver for the Analog Devices AXI CLKGEN.
eeprom_24xx32a_ops
const struct no_os_eeprom_platform_ops eeprom_24xx32a_ops
24XX32A EEPROM specific ops structure
Definition: 24xx32a.c:229
max11205_uart_extra_ip
struct max_uart_init_param max11205_uart_extra_ip
Definition: parameters.c:42
max22200_spi_extra
struct max_spi_init_param max22200_spi_extra
Definition: parameters.c:43
SPI_SS_POL_LOW
@ SPI_SS_POL_LOW
Definition: maxim_spi.h:49
parameters.h
Definitions specific to xilinx platform used by ad463x_fmcz project.
max22196_spi_extra
struct max_spi_init_param max22196_spi_extra
Definition: parameters.c:39
parameters.h
Definitions specific to Maxim platform used by iio_demo project.
parameters.h
Definition of Maxim platform data used by MAX25603 project.
stm32_gpio_init_param::mode
uint32_t mode
Definition: stm32_gpio.h:46
parameters.h
Definition of Maxim platform data used by max22190 project.
parameters.h
Definitions specific to Mbed platform used by adt7420-pmdz project.
GPIO_CONVST_PORT_NUM
#define GPIO_CONVST_PORT_NUM
Definition: parameters.h:74
axi_clkgen_init
Definition: clk_axi_clkgen.h:50
no_os_gpio_init_param::port
int32_t port
Definition: no_os_gpio.h:81
GPIO_DRDY_PIN_NUM
#define GPIO_DRDY_PIN_NUM
Definition: parameters.h:71
iio_demo_usb_uart_extra_ip
struct max_usb_uart_init_param iio_demo_usb_uart_extra_ip
Definition: parameters.c:56
max22017_uart_extra
struct max_uart_init_param max22017_uart_extra
Definition: parameters.c:39
PWM_OPS
#define PWM_OPS
Definition: parameters.h:112
parameters.h
Definitions specific to STM32 platform used by eval-pulsar_adc project.
timer_extra_ip
struct aducm_timer_init_param timer_extra_ip
Definition: parameters.c:42
uart_extra_ip
struct xil_uart_init_param uart_extra_ip
Definition: parameters.c:40
ad74413r_uart_extra_ip
struct max_uart_init_param ad74413r_uart_extra_ip
Definition: parameters.c:42
max22017_spi_extra
struct max_spi_init_param max22017_spi_extra
Definition: parameters.c:43
UART_PS
@ UART_PS
Definition: xilinx_uart.h:59
max_i2c_init_param::vssel
mxc_gpio_vssel_t vssel
Definition: maxim_i2c.h:59
adis1650x_gpio_extra_ip
struct max_gpio_init_param adis1650x_gpio_extra_ip
Definition: parameters.c:48
no_os_uart_init_param::irq_id
uint32_t irq_id
Definition: no_os_uart.h:114
max11205_spi_extra_ip
struct max_spi_init_param max11205_spi_extra_ip
Definition: parameters.c:50
adf4382_uart_extra_ip
struct mbed_uart_init_param adf4382_uart_extra_ip
Definition: parameters.c:36
adt75_i2c_extra
struct max_i2c_init_param adt75_i2c_extra
Definition: parameters.c:56
aducm_spi_init_param
Configuration structure sent in the extra parameter from no_os_spi_init_param.
Definition: aducm3029_spi.h:87
adis1646x_spi_extra_ip
struct max_spi_init_param adis1646x_spi_extra_ip
Definition: parameters.c:52
stm32_timer_init_param
Structure holding the initialization parameters for stm32 platform specific timer parameters.
Definition: stm32_timer.h:45
adis1654x_gpio_extra_ip
struct max_gpio_init_param adis1654x_gpio_extra_ip
Definition: parameters.c:48
stm32_gpio_init_param
Structure holding the initialization parameters for stm32 platform.
Definition: stm32_gpio.h:44
parameters.h
Parameters Definitions.
xil_gpio_init_param::device_id
uint32_t device_id
Definition: xilinx_gpio.h:68
xil_spi_param
struct xil_spi_init_param xil_spi_param
Definition: parameters.c:51
no_os_pwm_init_param::id
uint32_t id
Definition: no_os_pwm.h:68
GPIO_RESET_PORT_NUM
#define GPIO_RESET_PORT_NUM
Definition: parameters.h:89
adis1646x_gpio_reset_extra_ip
struct stm32_gpio_init_param adis1646x_gpio_reset_extra_ip
Definition: parameters.c:53
lt8722_spi_extra
struct max_spi_init_param lt8722_spi_extra
Definition: parameters.c:39
parameters.h
Definitions specific to xilinx platform used by ad463x_fmcz project.
max14919_uart_extra
struct max_uart_init_param max14919_uart_extra
Definition: parameters.c:35
parameters.h
TX_PWM_PERIOD_NS
#define TX_PWM_PERIOD_NS
Definition: parameters.h:97
max14914_uart_extra
struct max_uart_init_param max14914_uart_extra
Definition: parameters.c:35
tx_pwm_init
struct no_os_pwm_init_param tx_pwm_init
Definition: parameters.c:134
max_i2c_extra
MAXIM specific I2C handler structure.
Definition: maxim_i2c.h:47
SPI0_CS_GP17
@ SPI0_CS_GP17
Definition: pico_spi.h:93
max14914_gpio_extra_ip
struct max_gpio_init_param max14914_gpio_extra_ip
Definition: parameters.c:39
linux_i2c_init_param
Structure holding the initialization parameters for Linux platform specific I2C parameters.
Definition: linux_i2c.h:41
parameters.h
cs_pwm_extra_init_params
struct stm32_pwm_init_param cs_pwm_extra_init_params
Definition: parameters.c:94
max_reset_gpio_extra_ip
struct max_gpio_init_param max_reset_gpio_extra_ip
Definition: parameters.c:60
pwm_extra_ip
struct axi_pwm_init_param pwm_extra_ip
Definition: parameters.c:50
parameters.h
Definitions specific to xilinx platform used by ad469x_fmcz project.
spi_eng_extra_ip
struct spi_engine_init_param spi_eng_extra_ip
Definition: parameters.c:55
ltp8800_uart_extra
struct max_uart_init_param ltp8800_uart_extra
Definition: parameters.c:35
vddioh_i2c_extra
struct max_i2c_init_param vddioh_i2c_extra
Definition: parameters.c:44
NO_OS_PULL_NONE
@ NO_OS_PULL_NONE
Definition: no_os_gpio.h:66
in_buff
uint8_t in_buff[MAX_SIZE_BASE_ADDR]
Definition: parameters.c:42
max14906_spi_extra_ip
struct stm32_spi_init_param max14906_spi_extra_ip
Definition: parameters.c:45
parameters.h
Definitions specific to pico platform used by iio_demo project.
spi_eng_init_param
struct spi_engine_init_param spi_eng_init_param
Definition: parameters.c:55
stm32_dma_channel::hdma
DMA_HandleTypeDef * hdma
Definition: stm32_dma.h:66
stm32_uart_init_param
Specific initialization parameters for stm32 UART.
Definition: stm32_uart.h:46
parameters.h
max_spi_extra
struct max_spi_init_param max_spi_extra
Definition: parameters.c:39
ad4630_axi_pwm_init
struct axi_pwm_init_param ad4630_axi_pwm_init
Definition: parameters.c:49
adis1646x_uart_extra_ip
struct max_uart_init_param adis1646x_uart_extra_ip
Definition: parameters.c:44
ad74413r_spi_extra_ip
struct max_spi_init_param ad74413r_spi_extra_ip
Definition: parameters.c:46
SPI_CS_PORT
#define SPI_CS_PORT
Definition: parameters.h:70
ltp8800_gpio_extra
struct max_gpio_init_param ltp8800_gpio_extra
Definition: parameters.c:43
no_os_dma_init_param::id
uint32_t id
Definition: no_os_dma.h:173
parameters.h
Definitions specific to STM32 platform used by eval-ad7616 project.
ad7616_gpio_convst_extra_ip
struct stm32_gpio_init_param ad7616_gpio_convst_extra_ip
Definition: parameters.c:51
adt75_uart_extra_ip
struct max_uart_init_param adt75_uart_extra_ip
Definition: parameters.c:42
max_uart_init_param::flow
enum max_uart_flow_ctrl flow
Definition: maxim_uart.h:56
adis1647x_uart_extra_ip
struct max_uart_init_param adis1647x_uart_extra_ip
Definition: parameters.c:44
cs_pwm_init
struct no_os_pwm_init_param cs_pwm_init
Definition: parameters.c:108
REFCLK_RATE
#define REFCLK_RATE
Definition: parameters.h:105
parameters.h
Definitions specific to STM32 platform used by ad463x_fmcz project.
stm32_dma_ops
const struct no_os_dma_platform_ops stm32_dma_ops
stm32 platform specific DMA platform ops structure
Definition: stm32_dma.c:330
ltm4686_i2c_extra
struct max_i2c_init_param ltm4686_i2c_extra
Definition: parameters.c:39
max_intr_gpio_extra_ip
struct max_gpio_init_param max_intr_gpio_extra_ip
Definition: parameters.c:64
parameters.h
Definitions specific to Maxim platform used by adt75.
parameters.h
parameters.h
max14916_spi_extra
struct max_spi_init_param max14916_spi_extra
Definition: parameters.c:39
no_os_eeprom_init_param::device_id
uint32_t device_id
Definition: no_os_eeprom.h:60
TIM_OC_PWM1
@ TIM_OC_PWM1
Definition: stm32_pwm.h:57
IIO_APP_HUART
#define IIO_APP_HUART
Definition: parameters.h:72
ad5460_uart_extra_ip
struct mbed_uart_init_param ad5460_uart_extra_ip
Definition: parameters.c:42
ade7816_gpio_extra
struct max_gpio_init_param ade7816_gpio_extra
Definition: parameters.c:45
parameters.h
Definitions specific to XILINX platform used by eval-adxl367z project.
adt75_i2c_extra
struct max_i2c_init_param adt75_i2c_extra
Definition: parameters.c:56
MAX_SIZE_BASE_ADDR
#define MAX_SIZE_BASE_ADDR
Definition: parameters.h:54
I2C_SDA
#define I2C_SDA
Definition: parameters.h:60
parameters.h
ade7816_spi_extra
struct max_spi_init_param ade7816_spi_extra
Definition: parameters.c:39
ad9545_i2c_extra_ip
struct linux_i2c_init_param ad9545_i2c_extra_ip
Definition: parameters.c:43
eeprom_24xx32a_init_param
24XX32A EEPROM init params structure
Definition: 24xx32a.h:52
max_spi_init_param
Maxim specific SPI initialization parameters.
Definition: maxim_spi.h:53
parameters.h
Definitions specific to STM32 platform used by ad74413r project.
lt7182s_uart_extra
struct max_uart_init_param lt7182s_uart_extra
Definition: parameters.c:35
parameters.h
Definitions specific to pico platform used by adxrs290 project.
parameters.h
Definitions specific to pico platform used by eval-adis1646x project.
ade7816_uart_extra
struct max_uart_init_param ade7816_uart_extra
Definition: parameters.c:35
ltc4296_uart_extra
struct max_uart_init_param ltc4296_uart_extra
Definition: parameters.c:35
xil_gpio_param
struct xil_gpio_init_param xil_gpio_param
Definition: parameters.c:46
adis1654x_spi_extra_ip
struct max_spi_init_param adis1654x_spi_extra_ip
Definition: parameters.c:52
parameters.h
hdma_tim8_ch1
DMA_HandleTypeDef hdma_tim8_ch1
GPIO_CONVST_PIN_NUM
#define GPIO_CONVST_PIN_NUM
Definition: parameters.h:73
parameters.h
Definition of Maxim platform data used by max22017 project.
ad5460_i2c_extra
struct mbed_i2c_init_param ad5460_i2c_extra
Definition: parameters.c:47
stm32_dma_channel
STM32 DMA Channels.
Definition: stm32_dma.h:64
iio_uart_extra_ip
struct xil_uart_init_param iio_uart_extra_ip
Definition: parameters.c:39
adis1646x_gpio_extra_ip
struct max_gpio_init_param adis1646x_gpio_extra_ip
Definition: parameters.c:48
ltc4296_spi_extra
struct max_spi_init_param ltc4296_spi_extra
Definition: parameters.c:39
parameters.h
Definitions specific to XILINX platform used by eval-adxl367z project.
adin1110_uart_extra_ip
struct max_uart_init_param adin1110_uart_extra_ip
Definition: parameters.c:36
SPI_PL
@ SPI_PL
Definition: xilinx_spi.h:60
ade9113_spi_extra_ip
struct max_spi_init_param ade9113_spi_extra_ip
Definition: parameters.c:46
parameters.h
Definitions specific to Maxim platform used by eval-ad7091r8-sdz project.
adis1655x_gpio_reset_extra_ip
struct stm32_gpio_init_param adis1655x_gpio_reset_extra_ip
Definition: parameters.c:53
stm32_pwm_ops
const struct no_os_pwm_platform_ops stm32_pwm_ops
STM32 platform specific PWM platform ops structure.
Definition: stm32_pwm.c:709
adis1650x_gpio_reset_extra_ip
struct stm32_gpio_init_param adis1650x_gpio_reset_extra_ip
Definition: parameters.c:53
GPIO_RESET_PIN_NUM
#define GPIO_RESET_PIN_NUM
Definition: parameters.h:88
parameters.h
Definitions specific to STM32 platform used by eval-ad738x project.
mbed_spi_init_param::spi_miso_pin
uint16_t spi_miso_pin
Definition: mbed_spi.h:64
max42500_gpio_extra
const struct max_gpio_init_param max42500_gpio_extra
Definition: parameters.c:52
adp1050_i2c_extra
struct max_i2c_init_param adp1050_i2c_extra
Definition: parameters.c:39
ad7091r8_spi_extra_ip
struct max_spi_init_param ad7091r8_spi_extra_ip
Definition: parameters.c:47
max14916_uart_extra
struct max_uart_init_param max14916_uart_extra
Definition: parameters.c:35
ade9113_uart_extra_ip
struct max_uart_init_param ade9113_uart_extra_ip
Definition: parameters.c:42
UART_IRQ_ID
#define UART_IRQ_ID
Definition: parameters.h:50
stm32_usb_uart_init_param
Specific initialization parameters for stm32 UART over USB.
Definition: stm32_usb_uart.h:46
huart3
UART_HandleTypeDef huart3
parameters.h
Platform dependent parameters.
linux_i2c_init_param::device_id
uint32_t device_id
Definition: linux_i2c.h:43
stm32_gpio_irq_init_param::port_nb
uint8_t port_nb
Definition: stm32_gpio_irq.h:45
parameters.h
Definitions specific to STM32 platform used by eval-adxrs290-pmdz project.
parameters.h
Definitions specific to Mbed platform used by ADF4368 project.
GPIO_DEVICE_ID
#define GPIO_DEVICE_ID
Definition: parameters.h:87
parameters.h
Definitions specific to pico platform used by eval-adis1654x project.
ad7616_spi_extra_ip
struct stm32_spi_init_param ad7616_spi_extra_ip
Definition: parameters.c:47
ad74416h_i2c_extra
struct mbed_i2c_init_param ad74416h_i2c_extra
Definition: parameters.c:47
aducm_timer_init_param::source_freq
enum avail_freqs source_freq
Definition: aducm3029_timer.h:90
UART_BAUDRATE
#define UART_BAUDRATE
Definition: parameters.h:53
iio_demo_uart_extra_ip
struct max_uart_init_param iio_demo_uart_extra_ip
Definition: parameters.c:42
adxrs290_uart_extra_ip
struct max_uart_init_param adxrs290_uart_extra_ip
Definition: parameters.c:42
DMA_BASEADDR
#define DMA_BASEADDR
Definition: parameters.h:95
adp1050_pg_alt_extra
struct max_gpio_init_param adp1050_pg_alt_extra
Definition: parameters.c:43
pico_spi_init_param
Additional SPI config parameters.
Definition: pico_spi.h:119
mbed_spi_init_param
Structure holding the SPI init parameters for mbed platform.
Definition: mbed_spi.h:63
adis1650x_spi_extra_ip
struct max_spi_init_param adis1650x_spi_extra_ip
Definition: parameters.c:52
parameters.h
Definitions specific to stm32 platform used by iio_demo project.
lt8722_gpio_extra
struct max_gpio_init_param lt8722_gpio_extra
Definition: parameters.c:45
parameters.h
Definitions specific to STM32 platform used by eval-adis1646x project.
rxdma_channel
struct stm32_dma_channel rxdma_channel
Definition: parameters.c:66
parameters.h
Definitions specific to STM32 platform used by eval-adis1647x project.
adis1647x_spi_extra_ip
struct max_spi_init_param adis1647x_spi_extra_ip
Definition: parameters.c:52
parameters.h
Definition of Maxim platform data used by lt7182s project.
cnv_pwm_extra_init_params
struct stm32_pwm_init_param cnv_pwm_extra_init_params
Definition: parameters.c:82
UART_INSTANCE
#define UART_INSTANCE
Definition: parameters.h:60
xil_uart_init_param
Structure holding the initialization parameters for Xilinx platform specific UART parameters.
Definition: xilinx_uart.h:67
ad74416h_uart_extra_ip
struct mbed_uart_init_param ad74416h_uart_extra_ip
Definition: parameters.c:42
max_uart_init_param
Aditional UART config parameters.
Definition: maxim_uart.h:55
UART_FLOW_DIS
@ UART_FLOW_DIS
Definition: maxim_uart.h:47
adxrs290_spi_extra_ip
struct aducm_spi_init_param adxrs290_spi_extra_ip
Definition: parameters.c:42
xil_spi_init_param::type
enum xil_spi_type type
Definition: xilinx_spi.h:74
max_gpio_ops
const struct no_os_gpio_platform_ops max_gpio_ops
maxim platform specific GPIO platform ops structure
Definition: maxim_gpio.c:320
parameters.h
Definitions specific to Maxim platform used by ad74413r.
ade9113_gpio_extra_ip
struct max_gpio_init_param ade9113_gpio_extra_ip
Definition: parameters.c:52
ad5460_spi_extra
struct mbed_spi_init_param ad5460_spi_extra
stm32_spi_init_param::chip_select_port
uint32_t chip_select_port
Definition: stm32_spi.h:53
txdma_channel
struct stm32_dma_channel txdma_channel
Definition: parameters.c:57
DMA_CIRCULAR_MODE
@ DMA_CIRCULAR_MODE
Definition: stm32_dma.h:57
NO_OS_PWM_POLARITY_HIGH
@ NO_OS_PWM_POLARITY_HIGH
Definition: no_os_pwm.h:57
clkgen_init
struct axi_clkgen_init clkgen_init
Definition: parameters.c:64
tx_pwm_extra_init_params
struct stm32_pwm_init_param tx_pwm_extra_init_params
Definition: parameters.c:119
adxrs290_timer_extra_ip
struct aducm_timer_init_param adxrs290_timer_extra_ip
Definition: parameters.c:49
gpio_extra
struct xil_gpio_init_param gpio_extra
Definition: parameters.c:48
max_gpio_init_param::vssel
mxc_gpio_vssel_t vssel
Definition: maxim_gpio.h:57
platform_uart_param
struct xil_uart_init_param platform_uart_param
max_uart_ops
const struct no_os_uart_platform_ops max_uart_ops
Maxim platform specific UART platform ops structure.
Definition: maxim_uart.c:475
adis1655x_gpio_extra_ip
struct max_gpio_init_param adis1655x_gpio_extra_ip
Definition: parameters.c:48
max_gpio_init_param
GPIO platform specific init parameters.
Definition: maxim_gpio.h:55
parameters.h
Definitions specific to Maxim platform used by the swiot1l project.
axi_pwm_init_param
Structure holding the initialization parameters for axi PWM.
Definition: axi_pwm_extra.h:50
SPI_ENGINE
@ SPI_ENGINE
Definition: xilinx_spi.h:64
max_gpio_extra
struct max_gpio_init_param max_gpio_extra
Definition: parameters.c:45
xil_spi_init_param
Structure holding the initialization parameters for Xilinx platform specific SPI parameters when usin...
Definition: xilinx_spi.h:72
adis1657x_spi_extra_ip
struct max_spi_init_param adis1657x_spi_extra_ip
Definition: parameters.c:52
parameters.h
Definitions specific to STM32 platform used by eval-adxrs290-pmdz project.
adis1650x_uart_extra_ip
struct max_uart_init_param adis1650x_uart_extra_ip
Definition: parameters.c:44
max_spi_init_param::num_slaves
uint32_t num_slaves
Definition: maxim_spi.h:54
ltm4686_uart_extra
struct max_uart_init_param ltm4686_uart_extra
Definition: parameters.c:35
pulsar_adc_axi_pwm_init
struct axi_pwm_init_param pulsar_adc_axi_pwm_init
Definition: parameters.c:48
hdma_spi1_rx
DMA_HandleTypeDef hdma_spi1_rx
adis1647x_gpio_extra_ip
struct max_gpio_init_param adis1647x_gpio_extra_ip
Definition: parameters.c:48
parameters.h
Definition of Maxim platform data used by lt8722 project.
no_os_pwm.h
Header file of PWM Interface.
OFFLOAD_RX_EN
#define OFFLOAD_RX_EN
Definition: spi_engine.h:53
parameters.h
Definitions specific to aducm3029 platform used by iio_demo project.
parameters.h
parameters.h
Definitions specific to Maxim platform used by eval-adxl355-pmdz project.
SPI0_RX_GP16
@ SPI0_RX_GP16
Definition: pico_spi.h:67
adis1657x_uart_extra_ip
struct max_uart_init_param adis1657x_uart_extra_ip
Definition: parameters.c:44
ade9113_spi_extra_ip
struct max_spi_init_param ade9113_spi_extra_ip
Definition: parameters.c:46
parameters.h
Definitions specific to STM32 platform used by eval-adis1657x project.
parameters.h
Definitions specific to STM32 platform used by eval-ad74416h project.
I2C_SCL
#define I2C_SCL
Definition: parameters.h:59
adxl38x_uart_extra_ip
struct max_uart_init_param adxl38x_uart_extra_ip
Definition: parameters.c:42
parameters.h
Definitions specific to STM32 platform used by eval-adis1654x project.
parameters.h
Definitions specific to STM32 platform used by eval-adis1655x project.
max14906_uart_extra
struct max_uart_init_param max14906_uart_extra
Definition: parameters.c:35
parameters.h
Definition of Maxim platform data used by ltm4686 project.
parameters.h
Definitions specific to STM32 platform used by eval-adis1650x project.
parameters.h
max22200_gpio_extra_ip
struct max_gpio_init_param max22200_gpio_extra_ip
Definition: parameters.c:39
parameters.h
Definitions specific to aducm3029 platform used by demo_esp project.
ad463x_uart_extra_ip
struct stm32_uart_init_param ad463x_uart_extra_ip
Definition: parameters.c:47
ade9113_gpio_extra_ip
struct max_gpio_init_param ade9113_gpio_extra_ip
Definition: parameters.c:52
max22196_crc_extra
struct max_gpio_init_param max22196_crc_extra
Definition: parameters.c:45
adt7420_i2c_extra
struct max_i2c_init_param adt7420_i2c_extra
Definition: parameters.c:46
parameters.h
Definitions specific to Maxim platform used by eval-adis1647x project.
parameters.h
Definitions specific to Maxim platform used by eval-adis1646x project.
adis1657x_gpio_reset_extra_ip
struct stm32_gpio_init_param adis1657x_gpio_reset_extra_ip
Definition: parameters.c:53
no_os_i2c_init_param
Structure holding the parameters for I2C initialization.
Definition: no_os_i2c.h:64
no_os_uart_init_param
Structure holding the parameters for UART initialization.
Definition: no_os_uart.h:110
DATA_ALIGN_BYTE
@ DATA_ALIGN_BYTE
Definition: stm32_dma.h:46
lt7182s_i2c_extra
struct max_i2c_init_param lt7182s_i2c_extra
Definition: parameters.c:39
stm32_uart_init_param::huart
UART_HandleTypeDef * huart
Definition: stm32_uart.h:48
max_pwm_init_param::vssel
mxc_gpio_vssel_t vssel
Definition: maxim_pwm.h:46
spi_engine_init_param
Structure containing the init parameters needed by the SPI engine.
Definition: spi_engine.h:83
max_pwm_init_param
Definition: maxim_pwm.h:45
mbed_uart_init_param
Structure holding the UART init parameters for mbed platform.
Definition: mbed_uart.h:63
parameters.h
Definitions specific to Maxim platform used by eval-adxrs290-pmdz project.
parameters.h
Definitions specific to linux platform used by iio_demo project.
PWM_TS_ITR0
@ PWM_TS_ITR0
Definition: stm32_pwm.h:62
adis1654x_uart_extra_ip
struct max_uart_init_param adis1654x_uart_extra_ip
Definition: parameters.c:44
UART_RX_PIN
#define UART_RX_PIN
Definition: parameters.h:51
NO_OS_UART_PAR_NO
@ NO_OS_UART_PAR_NO
Definition: no_os_uart.h:77
mbed_i2c_init_param
Structure holding the I2C init parameters for mbed platform.
Definition: mbed_i2c.h:63
vddioh_gpio_extra
struct max_gpio_init_param vddioh_gpio_extra
Definition: parameters.c:47
parameters.h
Definitions specific to xilinx platform used by iio project.
parameters.h
Definitions used by the MAX42500 project.
lt8722_uart_extra
struct max_uart_init_param lt8722_uart_extra
Definition: parameters.c:35
adxrs290_gpio_extra_ip
struct max_gpio_init_param adxrs290_gpio_extra_ip
Definition: parameters.c:46
mbed_i2c_init_param::i2c_sda_pin
uint16_t i2c_sda_pin
Definition: mbed_i2c.h:64
ad7091r8_gpio_extra_ip
struct max_gpio_init_param ad7091r8_gpio_extra_ip
Definition: parameters.c:53
CS_PWM_DUTY_NS
#define CS_PWM_DUTY_NS
Definition: parameters.h:103
stm32_gpio_init_param::speed
uint32_t speed
Definition: stm32_gpio.h:48
adis1657x_gpio_extra_ip
struct max_gpio_init_param adis1657x_gpio_extra_ip
Definition: parameters.c:48
xil_gpio_init_param
Structure holding the initialization parameters for Xilinx platform specific GPIO parameters.
Definition: xilinx_gpio.h:64
adis1647x_gpio_reset_extra_ip
struct stm32_gpio_init_param adis1647x_gpio_reset_extra_ip
Definition: parameters.c:53
NO_OS_PULL_UP
@ NO_OS_PULL_UP
Definition: no_os_gpio.h:68
max14919_gpio_extra_ip
struct max_gpio_init_param max14919_gpio_extra_ip
Definition: parameters.c:39
MASTER
@ MASTER
Definition: aducm3029_spi.h:56
pulsar_adc_uart_extra_ip
struct stm32_uart_init_param pulsar_adc_uart_extra_ip
Definition: parameters.c:44
stm32_pwm_init_param
Structure holding the STM32 PWM parameters.
Definition: stm32_pwm.h:82
max14906_uart_extra_ip
struct stm32_uart_init_param max14906_uart_extra_ip
Definition: parameters.c:35
max_usb_uart_init_param
Aditional UART config parameters.
Definition: maxim_usb_uart.h:42
parameters.h
Definition of Maxim platform data used by max14916 project.
PCLK_DIV256
@ PCLK_DIV256
Definition: aducm3029_timer.h:56
spi_engine_offload_init_param
Structure containing the init parameters needed by the offload module.
Definition: spi_engine.h:143
adin1110_spi_extra_ip
struct max_spi_init_param adin1110_spi_extra_ip
Definition: parameters.c:41
max_usb_uart_init_param::vid
uint16_t vid
Definition: maxim_usb_uart.h:43
max_spi_init_param::vssel
mxc_gpio_vssel_t vssel
Definition: maxim_spi.h:56
GPIO_OPS
#define GPIO_OPS
Definition: parameters.h:78
parameters.h
Definition of Maxim platform data used by ltp8800 project.
TX_PWM_REPS
#define TX_PWM_REPS
Definition: parameters.h:99
gpio_extra_param
struct xil_gpio_init_param gpio_extra_param
Definition: parameters.c:63
stm32_pwm_init_param::prescaler
uint32_t prescaler
Definition: stm32_pwm.h:84
GPIO_PL
@ GPIO_PL
Definition: xilinx_gpio.h:54
DMA_NORMAL_MODE
@ DMA_NORMAL_MODE
Definition: stm32_dma.h:56
SPI0_TX_GP19
@ SPI0_TX_GP19
Definition: pico_spi.h:54
UART_DEVICE_ID
#define UART_DEVICE_ID
Definition: parameters.h:52
parameters.h
Definitions specific to pico platform used by eval-adis1647x project.
max_uart_extra
struct max_uart_init_param max_uart_extra
Definition: parameters.c:35
parameters.h
Definitions specific to pico platform used by eval-adis1657x project.
axi_pwm_init_param::base_addr
uint32_t base_addr
Definition: axi_pwm_extra.h:52
max25603_pwm_extra
struct max_pwm_init_param max25603_pwm_extra
Definition: parameters.c:43
parameters.h
Definitions specific to Maxim platform used by ad9545 project.
spi_extra
struct xil_spi_init_param spi_extra
Definition: parameters.c:43
adf4382_spi_extra_ip
struct stm32_spi_init_param adf4382_spi_extra_ip
Definition: parameters.c:46
uart_stdio_extra_ip
struct max_uart_init_param uart_stdio_extra_ip
Definition: parameters.c:54
parameters.h
Implementation of parameters.h.
adis1655x_spi_extra_ip
struct max_spi_init_param adis1655x_spi_extra_ip
Definition: parameters.c:52
CS_PWM_PERIOD_NS
#define CS_PWM_PERIOD_NS
Definition: parameters.h:102
no_os_eeprom_init_param
Structure holding the parameters for EEPROM initialization.
Definition: no_os_eeprom.h:58
parameters.h
Definitions specific to xilinx platform used by iio_demo project.
adxl355_uart_extra_ip
struct max_uart_init_param adxl355_uart_extra_ip
Definition: parameters.c:42
spi_extra_ip
struct stm32_spi_init_param spi_extra_ip
Definition: parameters.c:138
dma_init
struct no_os_dma_init_param dma_init
Definition: parameters.c:51
adxl38x_spi_extra_ip
struct max_spi_init_param adxl38x_spi_extra_ip
Definition: parameters.c:46
spi_engine_init_param::ref_clk_hz
uint32_t ref_clk_hz
Definition: spi_engine.h:85
parameters.h
Definition of Maxim platform data used by max22196 project.
adin1110_reset_gpio_extra
struct max_gpio_init_param adin1110_reset_gpio_extra
Definition: parameters.c:47
parameters.h
Definitions specific to Mbed platform used by ADF4382 project.
parameters.h
parameters.h
NO_OS_UART_CS_8
@ NO_OS_UART_CS_8
Definition: no_os_uart.h:66
max22196_uart_extra
struct max_uart_init_param max22196_uart_extra
Definition: parameters.c:35
parameters.h
Definitions specific to Maxim platform used by eval-adis1657x project.
no_os_i2c_init_param::device_id
uint32_t device_id
Definition: no_os_i2c.h:66
huart5
UART_HandleTypeDef huart5
xil_gpio_init_param::type
enum xil_gpio_type type
Definition: xilinx_gpio.h:66
parameters.h
Definition of Maxim platform data used by lt7170 project.
GPIO_EXTRA
#define GPIO_EXTRA
Definition: parameters.h:79
pulsar_adc_spi_extra_ip
struct stm32_spi_init_param pulsar_adc_spi_extra_ip
Definition: parameters.c:48
xuip
struct max_uart_init_param xuip
Definition: parameters.c:42
parameters.h
Definitions specific to Maxim platform used by eval-adis1655x project.
parameters.h
Definitions specific to Maxim platform used by eval-adis1654x project.
parameters.h
Definitions specific to pico platform used by eval-adis1650x project.
TX_PWM_DUTY_NS
#define TX_PWM_DUTY_NS
Definition: parameters.h:98
max25603_uart_extra
struct max_uart_init_param max25603_uart_extra
Definition: parameters.c:35
parameters.h
Definitions specific to Maxim platform used by eval-adis1650x project.
max25603_gpio_extra
struct max_gpio_init_param max25603_gpio_extra
Definition: parameters.c:39
max42500_i2c_ip
const struct max_i2c_init_param max42500_i2c_ip
Definition: parameters.c:48
parameters.h
Definitions specific to STM32 platform used by eval-adxl38x project.
gpio_extra_ip
struct xil_gpio_init_param gpio_extra_ip
Definition: parameters.c:63
AXI_PWMGEN_BASEADDR
#define AXI_PWMGEN_BASEADDR
Definition: parameters.h:98
ltc2672_uart_extra_ip
struct max_uart_init_param ltc2672_uart_extra_ip
Definition: parameters.c:43
parameters.h
Definition of Maxim platform data used by max14906 project.
parameters.h
Definitions specific to pico platform used by eval-adis1655x project.
max22200_uart_extra
struct max_uart_init_param max22200_uart_extra
Definition: parameters.c:35
parameters.h
Definitions specific to maxim platform used by demo_esp project.
parameters.h
Definition of Maxim platform data used by adp1050 project.
huart2
UART_HandleTypeDef huart2
pico_uart_init_param
Additional UART config parameters.
Definition: pico_uart.h:90