no-OS
parameters.h
Go to the documentation of this file.
1 /***************************************************************************/
40 #ifndef __PARAMETERS_H__
41 #define __PARAMETERS_H__
42 
43 /******************************************************************************/
44 /***************************** Include Files **********************************/
45 /******************************************************************************/
46 #include "maxim_uart_stdio.h"
47 #include "maxim_gpio.h"
48 #include "maxim_uart.h"
49 #include "maxim_irq.h"
50 #include "maxim_i2c.h"
51 #include "maxim_spi.h"
52 /******************************************************************************/
53 /********************** Macros and Constants Definitions **********************/
54 /******************************************************************************/
55 // UART parameters
56 #define UART_IRQ_ID UART0_IRQn
57 
58 #define UART_DEVICE_ID 0
59 #define UART_BAUDRATE 57600
60 #define UART_EXTRA &ade9113_uart_extra_ip
61 #define UART_OPS &max_uart_ops
62 
63 #define I2C_DEVICE_ID 1
64 #define I2C_OPS &max_i2c_ops
65 #define I2C_EXTRA &adt75_i2c_extra
66 
67 // SPI parameters
68 #if (TARGET_NUM == 78000)
69 #define SPI_DEVICE_ID 1
70 #define SPI_CS 1
71 #elif (TARGET_NUM == 32650)
72 #define SPI_DEVICE_ID 1
73 #define SPI_CS 0
74 #else
75 #define SPI_DEVICE_ID 1
76 #define SPI_CS 0
77 #endif
78 
79 #define SPI_BAUDRATE 1000000
80 #define SPI_OPS &max_spi_ops
81 #define SPI_EXTRA &ade9113_spi_extra_ip
82 
83 // GPIO parameters
84 #define GPIO_OPS &max_gpio_ops
85 #define GPIO_EXTRA &ade9113_gpio_extra_ip
86 #define GPIO_RDY_PIN_NUM 15
87 #define GPIO_RDY_PORT_NUM 0
88 
89 #define GPIO_IRQ_OPS &max_gpio_irq_ops
90 #define GPIO_CTRL_IRQ_ID 0
91 #define GPIO_IRQ_EXTRA &ade9113_gpio_extra_ip
92 #define NVIC_GPIO_IRQ GPIO0_IRQn
93 
94 #define GPIO_RESET_PIN_NUM 19
95 #define GPIO_RESET_PORT_NUM 0
96 
97 #define GPIO_ZC_PIN 14
98 
99 // RCD GPIOs
100 #define GPIO_RCM_TEST_PIN 18
101 #define GPIO_RCDDC_PIN 26
102 #define GPIO_RCDAC_PIN 27
103 
104 // PWM parameters and CP measurement parameters
105 #define FREQ 1000 // (Hz)
106 #define PWM_TIMER MXC_TMR0 // Port 0, Pin 2 output
107 #define PWM_LOW_TIMER MXC_TMR1 // Timer for measuring CP Low voltage
108 #define PWM_DUTY_10A (166u)
109 #define PWM_DUTY_16A (266u)
110 #define PWM_DC (999u)
111 #define PWM_OFF (1u)
112 #define PWM_LOW_TEST_VAL (160u)
113 #define PWM_HIGH_TEST_VAL (1890u)
114 #define PWM_HIGH_TEST_VAL_EV_CONNECTED (1600u)
115 // ADC parameters
116 #define ADC_CHANNEL MXC_ADC_CH_0
117 // Take action flag
118 #define TAKE_S_M_ACTION (1000u)
119 // Steps required for RELAY checking
120 #define RELAY_CHECK_STEP (3u)
121 // Steps required for RCD testing
122 #define MEASURE_RCDAC_RCDDC_STEP (108u)
123 #define RESTORE_TEST_PIN_STEP (3u)
124 #define SAMPLE_PINS_STEP_1 (37u)
125 #define SAMPLE_PINS_STEP_2 (72u)
126 #define SAMPLE_PINS_STEP_3 (108u)
127 // Steps for requiring overcurrent check
128 #define MEASURE_OVERCURRENT_STEP (300u)
129 // Current limit not charging
130 #define I_LIMIT_NOT_CHG (200u)
131 // Current limit charging
132 #define I_LIMIT_16A (16500u)
133 // Curent limit charging low power
134 #define I_LIMIT_10A (10500u)
135 // Number of cycles skipped before Vin self test
136 #define SELF_TEST_SKIP_CYCLES_NO (50u)
137 // Number of cycles skipped after self test to update rms values
138 #define SKIP_CYCLES_AFTER_SELF_TEST (100u)
139 #if defined REV_A
140 // Number of cycles skipped after relay switch to update rms values
141 #define SKIP_CYCLES_AFTER_RELAY_SW (150u)
142 #endif
143 // Delay used between Vin and Vrelay readings during startup selftest
144 #define DELAY_SELF_TEST_READING (300u)
145 // Value indicating the delay between readings (default 20ms)
146 #define VALUE_20MS (20000u)
147 // RCD test repeat disable interval in seconds
148 #define RCD_TIME_REPEAT_INTERVAL (10u)
149 // Print values disable interval in seconds
150 #define PRINT_VALUES_TIME (4u)
151 // The time rate used to compute Vin and Iout (multiple of 20ms)
152 #define COMPUTE_VALUES_INTERVAL (5u)
153 // The time rate used to compute Vrelay (multiple of COMPUTE_VALUES_INTERVAL)
154 #define COMPUTE_VRELAY_INTERVAL (25u)
155 // The rate at which the temperature is read (multiple of 20ms)
156 #define TEMPERATURE_READ_RATE (250u)
157 // Delay for diode error check
158 #define DIODE_ERR_DELAY (20u)
159 // CP value limit for diode error detected
160 #define CP_DIODE_ERROR_LIMIT (150u)
161 // Charging blinking LED timing for Iout 16A
162 #define LED_BLINKING_16A (4u)
163 // Charging blinking LED timing for Iout 10A
164 #define LED_BLINKING_10A (8u)
165 // Control pilot High side low limit value
166 #define CP_H_LOW_LIMIT (1100u)
167 // State A CP high side high limit
168 #define CPH_A_LIMIT_HIGH (1890u)
169 // State A CP high side low limit
170 #define CPH_A_LIMIT_LOW (1800u)
171 // State B CP high side high limit
172 #define CPH_B_LIMIT_HIGH (1670u)
173 // State B CP high side low limi
174 #define CPH_B_LIMIT_LOW (1600u)
175 // State C CP high side high limit
176 #define CPH_C_LIMIT_HIGH (1450u)
177 // State C CP high side low limit
178 #define CPH_C_LIMIT_LOW (1390u)
179 // State D CP high side high limit
180 #define CPH_D_LIMIT_HIGH (1226u)
181 // State D CP high side low limit
182 #define CPH_D_LIMIT_LOW (1180u)
183 // State B delay for changing CP from DC to PWM
184 #define CP_DC_PWM_DELAY (2000u)
185 // Adjust to new PWM duty time delay
186 #define ADJUST_TIME (5000l)
187 #if defined(REV_D)
188 //Upstream PE error detection pin
189 #define INT_PORT (2u)
190 #define INT_PIN (3u)
191 #define INT_PIN_OPTO1 (5u)
192 #define INT_PIN_OPTO2 (7u)
193 #endif
194 
195 // Extra components
199 extern struct max_i2c_init_param adt75_i2c_extra;
200 
201 
202 #endif /* __PARAMETERS_H__ */
stm32_spi_init_param
Structure holding the initialization parameters for stm32 platform specific SPI parameters.
Definition: stm32_spi.h:55
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:48
ad7091r8_gpio_convst_ip
struct no_os_gpio_init_param ad7091r8_gpio_convst_ip
Definition: parameters.c:73
SPI0_SCK_GP18
@ SPI0_SCK_GP18
Definition: pico_spi.h:86
huart5
UART_HandleTypeDef huart5
no_os_gpio_init_param
Structure holding the parameters for GPIO initialization.
Definition: no_os_gpio.h:85
max22190_spi_extra
struct max_spi_init_param max22190_spi_extra
Definition: parameters.c:45
stm32_timer_init_param::htimer
TIM_HandleTypeDef * htimer
Definition: stm32_timer.h:52
stm32_gpio_irq_init_param
Structure holding the initialization parameters for stm32 platform specific GPIO IRQ parameters.
Definition: stm32_gpio_irq.h:50
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:41
max_i2c_ops
const struct no_os_i2c_platform_ops max_i2c_ops
MAXIM platform specific I2C platform ops structure.
Definition: maxim_i2c.c:328
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:52
ad7091r8_uart_extra_ip
struct max_uart_init_param ad7091r8_uart_extra_ip
Definition: parameters.c:49
parameters.h
Definition of Maxim platform data used by MAX22200 project.
xsip
struct max_spi_init_param xsip
Definition: parameters.c:52
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:49
mbed_uart_init_param::uart_tx_pin
uint16_t uart_tx_pin
Definition: mbed_uart.h:70
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:53
SPI_CS_PORT
#define SPI_CS_PORT
Definition: parameters.h:83
ad74416h_spi_extra_ip
struct stm32_spi_init_param ad74416h_spi_extra_ip
Definition: parameters.c:52
max2201x_spi_extra
struct max_spi_init_param max2201x_spi_extra
Definition: parameters.c:49
GPIO_PS
@ GPIO_PS
Definition: xilinx_gpio.h:62
ad738x_uart_extra_ip
struct stm32_uart_init_param ad738x_uart_extra_ip
Definition: parameters.c:49
parameters.h
Definitions specific to aducm3029 platform used by eval-adxl355-pmdz project.
SPI_PS
@ SPI_PS
Definition: xilinx_spi.h:68
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:48
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:50
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:59
max14906_spi_extra
struct max_spi_init_param max14906_spi_extra
Definition: parameters.c:51
adp1050_uart_extra
struct max_uart_init_param adp1050_uart_extra
Definition: parameters.c:41
UART_PL
@ UART_PL
Definition: xilinx_uart.h:63
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:78
aducm_spi_init_param::continuous_mode
bool continuous_mode
Definition: aducm3029_spi.h:97
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:75
parameters.h
Definition of Maxim platform data used by ltc4296 project.
max_i2c_init_param
Definition: maxim_i2c.h:64
parameters.h
ad7091r8_gpio_reset_ip
struct no_os_gpio_init_param ad7091r8_gpio_reset_ip
Definition: parameters.c:64
parameters.h
Definitions specific to Maxim platform used by the ADIN1110.
adf4382_spi_extra
struct mbed_spi_init_param adf4382_spi_extra
AXI_PWMGEN_BASEADDR
#define AXI_PWMGEN_BASEADDR
Definition: parameters.h:83
aducm_timer_init_param
Definition: aducm3029_timer.h:94
parameters.h
Implementation of parameters.h.
UART_TX_PIN
#define UART_TX_PIN
Definition: parameters.h:56
eeprom_24xx32a_ops
const struct no_os_eeprom_platform_ops eeprom_24xx32a_ops
24XX32A EEPROM specific ops structure
Definition: 24xx32a.c:235
max11205_uart_extra_ip
struct max_uart_init_param max11205_uart_extra_ip
Definition: parameters.c:48
max22200_spi_extra
struct max_spi_init_param max22200_spi_extra
Definition: parameters.c:49
SPI_SS_POL_LOW
@ SPI_SS_POL_LOW
Definition: maxim_spi.h:55
max22196_spi_extra
struct max_spi_init_param max22196_spi_extra
Definition: parameters.c:45
parameters.h
Definitions specific to Maxim platform used by iio_demo project.
stm32_gpio_init_param::mode
uint32_t mode
Definition: stm32_gpio.h:52
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:80
no_os_gpio_init_param::port
int32_t port
Definition: no_os_gpio.h:87
GPIO_DRDY_PIN_NUM
#define GPIO_DRDY_PIN_NUM
Definition: parameters.h:77
timer_extra_ip
struct aducm_timer_init_param timer_extra_ip
Definition: parameters.c:48
ad74413r_uart_extra_ip
struct max_uart_init_param ad74413r_uart_extra_ip
Definition: parameters.c:48
UART_PS
@ UART_PS
Definition: xilinx_uart.h:65
max_i2c_init_param::vssel
mxc_gpio_vssel_t vssel
Definition: maxim_i2c.h:65
adis1650x_gpio_extra_ip
struct max_gpio_init_param adis1650x_gpio_extra_ip
Definition: parameters.c:54
no_os_uart_init_param::irq_id
uint32_t irq_id
Definition: no_os_uart.h:120
max11205_spi_extra_ip
struct max_spi_init_param max11205_spi_extra_ip
Definition: parameters.c:56
adf4382_uart_extra_ip
struct mbed_uart_init_param adf4382_uart_extra_ip
Definition: parameters.c:42
adt75_i2c_extra
struct max_i2c_init_param adt75_i2c_extra
Definition: parameters.c:62
aducm_spi_init_param
Configuration structure sent in the extra parameter from no_os_spi_init_param.
Definition: aducm3029_spi.h:93
adis1646x_spi_extra_ip
struct max_spi_init_param adis1646x_spi_extra_ip
Definition: parameters.c:58
stm32_timer_init_param
Structure holding the initialization parameters for stm32 platform specific timer parameters.
Definition: stm32_timer.h:51
adis1654x_gpio_extra_ip
struct max_gpio_init_param adis1654x_gpio_extra_ip
Definition: parameters.c:54
stm32_gpio_init_param
Structure holding the initialization parameters for stm32 platform.
Definition: stm32_gpio.h:50
xil_gpio_init_param::device_id
uint32_t device_id
Definition: xilinx_gpio.h:74
GPIO_RESET_PORT_NUM
#define GPIO_RESET_PORT_NUM
Definition: parameters.h:95
SPI_ENG_REF_CLK_FREQ_HZ
#define SPI_ENG_REF_CLK_FREQ_HZ
Definition: parameters.h:89
adis1646x_gpio_reset_extra_ip
struct stm32_gpio_init_param adis1646x_gpio_reset_extra_ip
Definition: parameters.c:59
max14919_uart_extra
struct max_uart_init_param max14919_uart_extra
Definition: parameters.c:41
parameters.h
max14914_uart_extra
struct max_uart_init_param max14914_uart_extra
Definition: parameters.c:41
max_i2c_extra
MAXIM specific I2C handler structure.
Definition: maxim_i2c.h:53
SPI0_CS_GP17
@ SPI0_CS_GP17
Definition: pico_spi.h:99
max14914_gpio_extra_ip
struct max_gpio_init_param max14914_gpio_extra_ip
Definition: parameters.c:45
parameters.h
pwm_extra_ip
struct axi_pwm_init_param pwm_extra_ip
Definition: parameters.c:56
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:61
NO_OS_PULL_NONE
@ NO_OS_PULL_NONE
Definition: no_os_gpio.h:72
max14906_spi_extra_ip
struct stm32_spi_init_param max14906_spi_extra_ip
Definition: parameters.c:51
parameters.h
Definitions specific to pico platform used by iio_demo project.
stm32_uart_init_param
Specific initialization parameters for stm32 UART.
Definition: stm32_uart.h:52
parameters.h
max_uart_extra
struct max_uart_init_param max_uart_extra
Definition: parameters.c:41
adis1646x_uart_extra_ip
struct max_uart_init_param adis1646x_uart_extra_ip
Definition: parameters.c:50
ad74413r_spi_extra_ip
struct max_spi_init_param ad74413r_spi_extra_ip
Definition: parameters.c:52
REFCLK_RATE
#define REFCLK_RATE
Definition: parameters.h:91
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:57
adt75_uart_extra_ip
struct max_uart_init_param adt75_uart_extra_ip
Definition: parameters.c:48
max_uart_init_param::flow
enum max_uart_flow_ctrl flow
Definition: maxim_uart.h:62
adis1647x_uart_extra_ip
struct max_uart_init_param adis1647x_uart_extra_ip
Definition: parameters.c:50
parameters.h
Definitions specific to Maxim platform used by adt75.
max14916_spi_extra
struct max_spi_init_param max14916_spi_extra
Definition: parameters.c:45
no_os_eeprom_init_param::device_id
uint32_t device_id
Definition: no_os_eeprom.h:66
ad5460_uart_extra_ip
struct mbed_uart_init_param ad5460_uart_extra_ip
Definition: parameters.c:48
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:62
I2C_SDA
#define I2C_SDA
Definition: parameters.h:66
spi_eng_init_param
struct spi_engine_init_param spi_eng_init_param
Definition: parameters.c:60
parameters.h
eeprom_24xx32a_init_param
24XX32A EEPROM init params structure
Definition: 24xx32a.h:58
max_spi_init_param
Maxim specific SPI initialization parameters.
Definition: maxim_spi.h:59
parameters.h
Definitions specific to STM32 platform used by ad74413r project.
parameters.h
Definitions specific to pico platform used by adxrs290 project.
parameters.h
Definitions specific to pico platform used by eval-adis1646x project.
ltc4296_uart_extra
struct max_uart_init_param ltc4296_uart_extra
Definition: parameters.c:41
adis1654x_spi_extra_ip
struct max_spi_init_param adis1654x_spi_extra_ip
Definition: parameters.c:58
GPIO_CONVST_PIN_NUM
#define GPIO_CONVST_PIN_NUM
Definition: parameters.h:79
ad5460_i2c_extra
struct mbed_i2c_init_param ad5460_i2c_extra
Definition: parameters.c:53
iio_uart_extra_ip
struct xil_uart_init_param iio_uart_extra_ip
Definition: parameters.c:45
adis1646x_gpio_extra_ip
struct max_gpio_init_param adis1646x_gpio_extra_ip
Definition: parameters.c:54
ltc4296_spi_extra
struct max_spi_init_param ltc4296_spi_extra
Definition: parameters.c:45
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:42
SPI_PL
@ SPI_PL
Definition: xilinx_spi.h:66
ade9113_spi_extra_ip
struct max_spi_init_param ade9113_spi_extra_ip
Definition: parameters.c:52
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:59
adis1650x_gpio_reset_extra_ip
struct stm32_gpio_init_param adis1650x_gpio_reset_extra_ip
Definition: parameters.c:59
GPIO_RESET_PIN_NUM
#define GPIO_RESET_PIN_NUM
Definition: parameters.h:94
mbed_spi_init_param::spi_miso_pin
uint16_t spi_miso_pin
Definition: mbed_spi.h:70
adp1050_i2c_extra
struct max_i2c_init_param adp1050_i2c_extra
Definition: parameters.c:45
ad7091r8_spi_extra_ip
struct max_spi_init_param ad7091r8_spi_extra_ip
Definition: parameters.c:53
max14916_uart_extra
struct max_uart_init_param max14916_uart_extra
Definition: parameters.c:41
ade9113_uart_extra_ip
struct max_uart_init_param ade9113_uart_extra_ip
Definition: parameters.c:48
UART_IRQ_ID
#define UART_IRQ_ID
Definition: parameters.h:56
huart3
UART_HandleTypeDef huart3
parameters.h
Platform dependent parameters.
stm32_gpio_irq_init_param::port_nb
uint8_t port_nb
Definition: stm32_gpio_irq.h:51
parameters.h
Definitions specific to STM32 platform used by eval-adxrs290-pmdz project.
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:53
ad74416h_i2c_extra
struct mbed_i2c_init_param ad74416h_i2c_extra
Definition: parameters.c:53
aducm_timer_init_param::source_freq
enum avail_freqs source_freq
Definition: aducm3029_timer.h:96
ad400x_axi_pwm_init
struct axi_pwm_init_param ad400x_axi_pwm_init
Definition: parameters.c:54
UART_BAUDRATE
#define UART_BAUDRATE
Definition: parameters.h:59
iio_demo_uart_extra_ip
struct max_uart_init_param iio_demo_uart_extra_ip
Definition: parameters.c:48
adxrs290_uart_extra_ip
struct max_uart_init_param adxrs290_uart_extra_ip
Definition: parameters.c:48
parameters.h
Definitions specific to STM32 platform used by eval-ad400x project.
adp1050_pg_alt_extra
struct max_gpio_init_param adp1050_pg_alt_extra
Definition: parameters.c:49
pico_spi_init_param
Additional SPI config parameters.
Definition: pico_spi.h:125
mbed_spi_init_param
Structure holding the SPI init parameters for mbed platform.
Definition: mbed_spi.h:69
adis1650x_spi_extra_ip
struct max_spi_init_param adis1650x_spi_extra_ip
Definition: parameters.c:58
parameters.h
Definitions specific to stm32 platform used by iio_demo project.
parameters.h
Definitions specific to STM32 platform used by eval-adis1646x project.
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:58
max_spi_extra
struct max_spi_init_param max_spi_extra
Definition: parameters.c:45
UART_INSTANCE
#define UART_INSTANCE
Definition: parameters.h:66
xil_uart_init_param
Structure holding the initialization parameters for Xilinx platform specific UART parameters.
Definition: xilinx_uart.h:73
ad74416h_uart_extra_ip
struct mbed_uart_init_param ad74416h_uart_extra_ip
Definition: parameters.c:48
max_uart_init_param
Aditional UART config parameters.
Definition: maxim_uart.h:61
UART_FLOW_DIS
@ UART_FLOW_DIS
Definition: maxim_uart.h:53
adxrs290_spi_extra_ip
struct aducm_spi_init_param adxrs290_spi_extra_ip
Definition: parameters.c:48
xil_spi_init_param::type
enum xil_spi_type type
Definition: xilinx_spi.h:80
max_gpio_ops
const struct no_os_gpio_platform_ops max_gpio_ops
maxim platform specific GPIO platform ops structure
Definition: maxim_gpio.c:326
max2201x_uart_extra
struct max_uart_init_param max2201x_uart_extra
Definition: parameters.c:45
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:58
uart_extra_ip
struct xil_uart_init_param uart_extra_ip
Definition: parameters.c:45
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:57
adxrs290_timer_extra_ip
struct aducm_timer_init_param adxrs290_timer_extra_ip
Definition: parameters.c:55
gpio_extra
struct xil_gpio_init_param gpio_extra
Definition: parameters.c:54
max_gpio_init_param::vssel
mxc_gpio_vssel_t vssel
Definition: maxim_gpio.h:63
max_uart_ops
const struct no_os_uart_platform_ops max_uart_ops
Maxim platform specific UART platform ops structure.
Definition: maxim_uart.c:481
adis1655x_gpio_extra_ip
struct max_gpio_init_param adis1655x_gpio_extra_ip
Definition: parameters.c:54
max_gpio_init_param
GPIO platform specific init parameters.
Definition: maxim_gpio.h:61
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:56
SPI_ENGINE
@ SPI_ENGINE
Definition: xilinx_spi.h:70
ad738x_spi_extra_ip
struct stm32_spi_init_param ad738x_spi_extra_ip
Definition: parameters.c:53
xil_spi_init_param
Structure holding the initialization parameters for Xilinx platform specific SPI parameters when usin...
Definition: xilinx_spi.h:78
adis1657x_spi_extra_ip
struct max_spi_init_param adis1657x_spi_extra_ip
Definition: parameters.c:58
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:50
max_spi_init_param::num_slaves
uint32_t num_slaves
Definition: maxim_spi.h:60
adis1647x_gpio_extra_ip
struct max_gpio_init_param adis1647x_gpio_extra_ip
Definition: parameters.c:54
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:73
adis1657x_uart_extra_ip
struct max_uart_init_param adis1657x_uart_extra_ip
Definition: parameters.c:50
ade9113_spi_extra_ip
struct max_spi_init_param ade9113_spi_extra_ip
Definition: parameters.c:52
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:65
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:41
parameters.h
Definitions specific to STM32 platform used by eval-adis1650x project.
max22200_gpio_extra_ip
struct max_gpio_init_param max22200_gpio_extra_ip
Definition: parameters.c:45
parameters.h
Definitions specific to aducm3029 platform used by demo_esp project.
ade9113_gpio_extra_ip
struct max_gpio_init_param ade9113_gpio_extra_ip
Definition: parameters.c:58
max22196_crc_extra
struct max_gpio_init_param max22196_crc_extra
Definition: parameters.c:51
adt7420_i2c_extra
struct max_i2c_init_param adt7420_i2c_extra
Definition: parameters.c:52
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:59
no_os_i2c_init_param
Structure holding the parameters for I2C initialization.
Definition: no_os_i2c.h:70
ad400x_spi_extra_ip
struct stm32_spi_init_param ad400x_spi_extra_ip
Definition: parameters.c:54
no_os_uart_init_param
Structure holding the parameters for UART initialization.
Definition: no_os_uart.h:116
stm32_uart_init_param::huart
UART_HandleTypeDef * huart
Definition: stm32_uart.h:54
in_buff
uint8_t in_buff[MAX_SIZE_BASE_ADDR]
Definition: parameters.c:48
spi_engine_init_param
Structure containing the init parameters needed by the SPI engine.
Definition: spi_engine.h:89
mbed_uart_init_param
Structure holding the UART init parameters for mbed platform.
Definition: mbed_uart.h:69
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.
vddioh_i2c_extra
struct max_i2c_init_param vddioh_i2c_extra
Definition: parameters.c:57
xil_gpio_param
struct xil_gpio_init_param xil_gpio_param
Definition: parameters.c:58
adis1654x_uart_extra_ip
struct max_uart_init_param adis1654x_uart_extra_ip
Definition: parameters.c:50
UART_RX_PIN
#define UART_RX_PIN
Definition: parameters.h:57
NO_OS_UART_PAR_NO
@ NO_OS_UART_PAR_NO
Definition: no_os_uart.h:83
mbed_i2c_init_param
Structure holding the I2C init parameters for mbed platform.
Definition: mbed_i2c.h:69
vddioh_gpio_extra
struct max_gpio_init_param vddioh_gpio_extra
Definition: parameters.c:53
MAX_SIZE_BASE_ADDR
#define MAX_SIZE_BASE_ADDR
Definition: parameters.h:59
parameters.h
Definitions specific to xilinx platform used by iio project.
GPIO_DEVICE_ID
#define GPIO_DEVICE_ID
Definition: parameters.h:89
adxrs290_gpio_extra_ip
struct max_gpio_init_param adxrs290_gpio_extra_ip
Definition: parameters.c:52
mbed_i2c_init_param::i2c_sda_pin
uint16_t i2c_sda_pin
Definition: mbed_i2c.h:70
ad7091r8_gpio_extra_ip
struct max_gpio_init_param ad7091r8_gpio_extra_ip
Definition: parameters.c:59
stm32_gpio_init_param::speed
uint32_t speed
Definition: stm32_gpio.h:54
adis1657x_gpio_extra_ip
struct max_gpio_init_param adis1657x_gpio_extra_ip
Definition: parameters.c:54
xil_gpio_init_param
Structure holding the initialization parameters for Xilinx platform specific GPIO parameters.
Definition: xilinx_gpio.h:70
adis1647x_gpio_reset_extra_ip
struct stm32_gpio_init_param adis1647x_gpio_reset_extra_ip
Definition: parameters.c:59
NO_OS_PULL_UP
@ NO_OS_PULL_UP
Definition: no_os_gpio.h:74
max14919_gpio_extra_ip
struct max_gpio_init_param max14919_gpio_extra_ip
Definition: parameters.c:45
MASTER
@ MASTER
Definition: aducm3029_spi.h:62
max14906_uart_extra_ip
struct stm32_uart_init_param max14906_uart_extra_ip
Definition: parameters.c:41
parameters.h
Definition of Maxim platform data used by max2201x project.
max_usb_uart_init_param
Aditional UART config parameters.
Definition: maxim_usb_uart.h:48
parameters.h
Definition of Maxim platform data used by max14916 project.
PCLK_DIV256
@ PCLK_DIV256
Definition: aducm3029_timer.h:62
adin1110_spi_extra_ip
struct max_spi_init_param adin1110_spi_extra_ip
Definition: parameters.c:47
max_spi_init_param::vssel
mxc_gpio_vssel_t vssel
Definition: maxim_spi.h:62
GPIO_OPS
#define GPIO_OPS
Definition: parameters.h:84
GPIO_PL
@ GPIO_PL
Definition: xilinx_gpio.h:60
iio_demo_usb_uart_extra_ip
struct stm32_uart_init_param iio_demo_usb_uart_extra_ip
SPI0_TX_GP19
@ SPI0_TX_GP19
Definition: pico_spi.h:60
UART_DEVICE_ID
#define UART_DEVICE_ID
Definition: parameters.h:58
parameters.h
Definitions specific to pico platform used by eval-adis1647x project.
parameters.h
Definitions specific to STM32 platform used by eval-ad738x project.
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:58
spi_extra
struct xil_spi_init_param spi_extra
Definition: parameters.c:49
adf4382_spi_extra_ip
struct stm32_spi_init_param adf4382_spi_extra_ip
Definition: parameters.c:52
parameters.h
Definitions specific to xilinx platform used by ad400x-fmcz project.
parameters.h
Implementation of parameters.h.
adis1655x_spi_extra_ip
struct max_spi_init_param adis1655x_spi_extra_ip
Definition: parameters.c:58
no_os_eeprom_init_param
Structure holding the parameters for EEPROM initialization.
Definition: no_os_eeprom.h:64
parameters.h
Definitions specific to xilinx platform used by iio_demo project.
ad400x_uart_extra_ip
struct stm32_uart_init_param ad400x_uart_extra_ip
Definition: parameters.c:50
max2201x_gpio_extra_ip
struct max_gpio_init_param max2201x_gpio_extra_ip
Definition: parameters.c:41
adxl355_uart_extra_ip
struct max_uart_init_param adxl355_uart_extra_ip
Definition: parameters.c:48
spi_engine_init_param::ref_clk_hz
uint32_t ref_clk_hz
Definition: spi_engine.h:91
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:53
SPI_ENGINE_BASEADDR
#define SPI_ENGINE_BASEADDR
Definition: parameters.h:81
parameters.h
Definitions specific to Mbed platform used by ADF4382 project.
parameters.h
NO_OS_UART_CS_8
@ NO_OS_UART_CS_8
Definition: no_os_uart.h:72
max22196_uart_extra
struct max_uart_init_param max22196_uart_extra
Definition: parameters.c:41
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:72
xil_gpio_init_param::type
enum xil_gpio_type type
Definition: xilinx_gpio.h:72
GPIO_EXTRA
#define GPIO_EXTRA
Definition: parameters.h:85
xuip
struct max_uart_init_param xuip
Definition: parameters.c:48
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.
parameters.h
Definitions specific to Maxim platform used by eval-adis1650x project.
gpio_extra_ip
struct xil_gpio_init_param gpio_extra_ip
Definition: parameters.c:69
ltc2672_uart_extra_ip
struct max_uart_init_param ltc2672_uart_extra_ip
Definition: parameters.c:49
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:41
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:96