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"
69 #define GPIO_LED_PORT 2
70 #define GPIO_LED_PIN 1
71 #define GPIO_OPS &max_gpio_ops
72 #define GPIO_EXTRA &ade9000_gpio_extra_ip
74 #define SPI_DEVICE_ID 1
75 #define SPI_BAUDRATE 1000000
77 #define SPI_SLAVE_NUM 1
80 #define UART_BAUD 115200
82 #define RESET_TIME 500
84 #define READ_INTERVAL 3000
86 #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 ADE9000 Driver.
Header file of PWM Interface.
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