no-OS
Loading...
Searching...
No Matches
parameters.h
Go to the documentation of this file.
1/***************************************************************************/
34#ifndef __PARAMETERS_H__
35#define __PARAMETERS_H__
36
37#include "stdio.h"
38#include "platform_init.h"
39#include "aducm3029_gpio.h"
40#include "aducm3029_spi.h"
41#include "aducm3029_irq.h"
42#include "aducm3029_uart.h"
43
44#define UART_DEVICE_ID 0
45#define UART_IRQ_ID ADUCM_UART_INT_ID
46#define UART_BAUDRATE 115200
47#define UART_EXTRA NULL
48#define UART_OPS &aducm_uart_ops
49
50#define SPI_DEVICE_ID 1
51#define SPI_BAUDRATE 5000000
52#define SPI_CS 0
53#define SPI_OPS &aducm_spi_ops
54#define SPI_EXTRA &cn0531_spi_extra_ip
55
56#define GPIO_CLR_NUM 0x10
57#define GPIO_LDAC_NUM 0x0E
58#define GPIO_RESET_NUM 0x0C
59#define GPIO_OPS &aducm_gpio_ops
60#define GPIO_EXTRA NULL
61
63
64#endif /* __PARAMETERS_H__ */
Header file of IRQ driver for ADuCM302x.
ADuCM302x specific header for SPI driver.
Header file of UART driver for ADuCM302x.
struct aducm_spi_init_param cn0531_spi_extra_ip
Definition parameters.c:36
ADuCM3029 platform initialization header.
Configuration structure sent in the extra parameter from no_os_spi_init_param.
Definition aducm3029_spi.h:79