Go to the documentation of this file.
33 #ifndef __PLATFORM_H__
34 #define __PLATFORM_H__
49 #include "maxim_uart.h"
50 #include "maxim_gpio.h"
51 #include "maxim_uart_stdio.h"
52 #include "maxim_pwm.h"
53 #include "maxim_spi.h"
54 #include "maxim_irq.h"
75 #define GPIO_LED_PORT 2
76 #define GPIO_LED_PIN 1
78 #define GPIO_PSM0_PORT 2
79 #define GPIO_PSM0_PIN 7
81 #define GPIO_PSM1_PORT 2
82 #define GPIO_PSM1_PIN 8
84 #define GPIO_RESET_PORT 2
85 #define GPIO_RESET_PIN 9
87 #define GPIO_OPS &max_gpio_ops
88 #define GPIO_EXTRA &ade9078_gpio_extra_ip
90 #define SPI_DEVICE_ID 1
91 #define SPI_BAUDRATE 1000000
93 #define SPI_SLAVE_NUM 1
96 #define UART_BAUD 115200
98 #define RESET_TIME 500
100 #define READ_INTERVAL 3000
102 #endif // __PLATFORM_H__
Structure holding the parameters for GPIO initialization.
Definition: no_os_gpio.h:79
Header file of SPI Interface.
Header file of Delay functions.
Header file of PWM Interface.
Header file of ADE9078 Driver.
Structure holding the parameters for UART initialization.
Definition: no_os_uart.h:110
Header file of GPIO Interface.
Header file of UART interface.
Header file of utility functions.
Structure holding the parameters for SPI initialization.
Definition: no_os_spi.h:140