![]() |
no-OS
|
Defines common data to be used by ADHV4710 example project. More...
#include "adhv4710.h"#include "no_os_uart.h"#include "no_os_pwm.h"#include "no_os_delay.h"#include "no_os_gpio.h"#include "no_os_spi.h"#include "no_os_print_log.h"#include "no_os_units.h"#include "no_os_util.h"#include "no_os_error.h"#include "maxim_uart.h"#include "maxim_gpio.h"#include "maxim_uart_stdio.h"#include "maxim_pwm.h"#include "maxim_spi.h"#include "maxim_irq.h"Macros | |
| #define | READ_INTERVAL 2000000 |
| #define | ADHV4710_DEV_ID ID_ADHV4710 |
| #define | ADHV4710_CURRENT_RESOLUTION 15.625 |
| #define | ADHV4710_VOLTAGE_RESOLUTION 1.953 |
| #define | ADHV4710_TEMP_RESOLUTION 6.51 |
| #define | CURRENT_LIMIT_SOURCE 100 |
| #define | CURRENT_LIMIT_SINK 100 |
| #define | VOLTAGE_POSITIVE_LIMIT 20 |
| #define | VOLTAGE_NEGATIVE_LIMIT 20 |
| #define | TEMPERATURE_LIMIT 88 |
| #define | TEMP_OFFSET 266.64 |
Variables | |
| struct no_os_uart_init_param | uart_ip |
| struct no_os_gpio_init_param | gpio_led1_ip |
| struct no_os_spi_init_param | adhv4710_spi_ip |
| struct no_os_gpio_init_param | gpio_reset_ip |
Defines common data to be used by ADHV4710 example project.
Copyright (c) 2025 Analog Devices, Inc.
SPDX-License-Identifier: BSD-3-Clause
| #define ADHV4710_CURRENT_RESOLUTION 15.625 |
| #define ADHV4710_DEV_ID ID_ADHV4710 |
| #define ADHV4710_TEMP_RESOLUTION 6.51 |
| #define ADHV4710_VOLTAGE_RESOLUTION 1.953 |
| #define CURRENT_LIMIT_SINK 100 |
| #define CURRENT_LIMIT_SOURCE 100 |
| #define READ_INTERVAL 2000000 |
| #define TEMP_OFFSET 266.64 |
| #define TEMPERATURE_LIMIT 88 |
| #define VOLTAGE_NEGATIVE_LIMIT 20 |
| #define VOLTAGE_POSITIVE_LIMIT 20 |
|
extern |
|
extern |
|
extern |
|
extern |
UART initialization parameters for console communication