46#include "maxim_uart.h"
47#include "maxim_gpio.h"
48#include "maxim_uart_stdio.h"
68#define GPIO_LED_PORT 2
71#define GPIO_RESET_PORT 2
72#define GPIO_RESET_PIN 9
74#define GPIO_RDY_PORT 2
78#define GPIO_OPS &max_gpio_ops
79#define GPIO_EXTRA &gpio_extra_ip
81#define SPI_DEVICE_ID 1
82#define SPI_BAUDRATE 1000000
84#define SPI_SLAVE_NUM 1
87#define UART_BAUD 115200
89#define GPIO_IRQ_OPS &max_gpio_irq_ops
90#define GPIO_CTRL_IRQ_ID 0
91#define GPIO_IRQ_EXTRA &gpio_extra_ip
92#define NVIC_GPIO_IRQ GPIO2_IRQn
96#define READ_INTERVAL 3000
Header file of ADE7978 Driver.
struct no_os_uart_init_param uart_ip
Definition common_data.c:52
struct no_os_gpio_init_param gpio_reset_ip
Definition platform.c:74
struct no_os_gpio_init_param gpio_led1_ip
Definition platform.c:65
Header file of Delay functions.
Header file of GPIO Interface.
Header file of PWM Interface.
Header file of SPI Interface.
Header file of UART interface.
Header file of utility functions.
Structure holding the GPIO descriptor.
Definition no_os_gpio.h:84
Structure holding the parameters for GPIO initialization.
Definition no_os_gpio.h:67
Structure holding the initial parameters for Interrupt Request.
Definition no_os_irq.h:101
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