33#ifndef __COMMON_DATA_H__
34#define __COMMON_DATA_H__
46#include "maxim_uart.h"
47#include "maxim_uart_stdio.h"
48#include "maxim_gpio.h"
53#define UART_BAUD 115200
54#define UART_IRQ UART0_IRQn
57#define SPI_DEVICE_ID 1
58#define SPI_BAUDRATE 1000000
61#ifdef HW_RESET_ENABLED
63#define GPIO_RESET_PORT 1
64#define GPIO_RESET_NUMBER 27
68#define ADE9430_SAMPLES_NR 7999
74#define READ_INTERVAL 1000
78#ifdef HW_RESET_ENABLED
struct no_os_uart_init_param uart_ip
Definition common_data.c:55
Header file of ADE9430 Driver.
struct no_os_gpio_init_param gpio_reset_ip
Definition platform.c:74
struct no_os_spi_init_param ade9430_spi_ip
Definition common_data.c:58
Header file of Delay functions.
Header file of GPIO Interface.
Header file of SPI Interface.
Header file of UART interface.
Header file of utility functions.
Structure holding the parameters for GPIO initialization.
Definition no_os_gpio.h:67
Structure holding the parameters for SPI initialization.
Definition no_os_spi.h:128
Structure holding the parameters for UART initialization.
Definition no_os_uart.h:98