no-OS
Loading...
Searching...
No Matches
common_data.c File Reference

Common data used by the MAX25603 project. More...

#include "common_data.h"
Include dependency graph for common_data.c:

Variables

struct no_os_uart_init_param max25603_uart_ip
 
struct no_os_gpio_init_param max25603_shunt_ip
 
struct no_os_pwm_init_param max25603_en1_ip
 
struct no_os_pwm_init_param max25603_en2_ip
 
struct no_os_pwm_init_param max25603_hb_ip
 
struct no_os_pwm_init_param max25603_lb_ip
 
struct max25603_init_param max25603_ip
 

Detailed Description

Common data used by the MAX25603 project.

Author
Radu Sabau (radu..nosp@m.saba.nosp@m.u@ana.nosp@m.log..nosp@m.com)

Copyright 2024(c) Analog Devices, Inc.

SPDX-License-Identifier: BSD-3-Clause

Variable Documentation

◆ max25603_en1_ip

struct no_os_pwm_init_param max25603_en1_ip
Initial value:
= {
.id = PWM_EN1_ID,
.period_ns = PWM_EN1_PERIOD_NS,
.duty_cycle_ns = PWM_EN1_DUTY_NS,
.platform_ops = PWM_OPS,
.extra = PWM_EXTRA,
}
#define PWM_OPS
Definition parameters.h:82
#define PWM_EXTRA
Definition parameters.h:83
@ NO_OS_PWM_POLARITY_HIGH
Definition no_os_pwm.h:24

◆ max25603_en2_ip

struct no_os_pwm_init_param max25603_en2_ip
Initial value:
= {
.id = PWM_EN2_ID,
.period_ns = PWM_EN2_PERIOD_NS,
.duty_cycle_ns = PWM_EN2_DUTY_NS,
.platform_ops = PWM_OPS,
.extra = PWM_EXTRA,
}

◆ max25603_hb_ip

struct no_os_pwm_init_param max25603_hb_ip
Initial value:
= {
.id = PWM_HB_ID,
.period_ns = PWM_HB_PERIOD_NS,
.duty_cycle_ns = PWM_HB_DUTY_NS,
.platform_ops = PWM_OPS,
.extra = PWM_EXTRA,
}

◆ max25603_ip

struct max25603_init_param max25603_ip
Initial value:
= {
.en1_param = &max25603_en1_ip,
.en2_param = &max25603_en2_ip,
.flt_param = NULL,
.hb_param = &max25603_hb_ip,
.lb_param = &max25603_lb_ip,
.shunt_param = &max25603_shunt_ip,
}
struct no_os_pwm_init_param max25603_en2_ip
Definition common_data.c:40
struct no_os_pwm_init_param max25603_en1_ip
Definition common_data.c:31
struct no_os_pwm_init_param max25603_hb_ip
Definition common_data.c:49
struct no_os_gpio_init_param max25603_shunt_ip
Definition common_data.c:23
struct no_os_pwm_init_param max25603_lb_ip
Definition common_data.c:58
#define NULL
Definition wrapper.h:67

◆ max25603_lb_ip

struct no_os_pwm_init_param max25603_lb_ip
Initial value:
= {
.id = PWM_LB_ID,
.period_ns = PWM_LB_PERIOD_NS,
.duty_cycle_ns = PWM_LB_DUTY_NS,
.platform_ops = PWM_OPS,
.extra = PWM_EXTRA,
}

◆ max25603_shunt_ip

struct no_os_gpio_init_param max25603_shunt_ip
Initial value:
= {
.port = GPIO_SHUNT_PORT_NUM,
.pull = NO_OS_PULL_NONE,
.number = GPIO_SHUNT_PIN_NUM,
.platform_ops = GPIO_OPS,
.extra = GPIO_EXTRA,
}
#define GPIO_EXTRA
Definition parameters.h:50
#define GPIO_OPS
Definition parameters.h:49
@ NO_OS_PULL_NONE
Definition no_os_gpio.h:31

◆ max25603_uart_ip

struct no_os_uart_init_param max25603_uart_ip
Initial value:
= {
.device_id = UART_DEVICE_ID,
.baud_rate = UART_BAUDRATE,
.size = NO_OS_UART_CS_8,
.platform_ops = UART_OPS,
.parity = NO_OS_UART_PAR_NO,
.extra = UART_EXTRA,
}
#define UART_DEVICE_ID
Definition parameters.h:23
#define UART_BAUDRATE
Definition parameters.h:24
#define UART_OPS
Definition parameters.h:26
#define UART_EXTRA
Definition parameters.h:25
@ NO_OS_UART_CS_8
Definition no_os_uart.h:31
@ NO_OS_UART_PAR_NO
Definition no_os_uart.h:42
@ NO_OS_UART_STOP_1_BIT
Definition no_os_uart.h:59