no-OS
Loading...
Searching...
No Matches
parameters.h
Go to the documentation of this file.
1
/***************************************************************************/
33
#ifndef __PARAMETERS_H__
34
#define __PARAMETERS_H__
35
36
#ifdef FTD2XX
37
#include "
ftd2xx_spi.h
"
38
#include "
ftd2xx_uart.h
"
39
#else
40
#include "
linux_spi.h
"
41
#include "
linux_uart.h
"
42
#endif
43
44
#define UART_IRQ_ID 0
45
#define UART_DEVICE_ID 0
46
#define UART_BAUDRATE 0
47
#define UART_EXTRA NULL
48
49
#ifdef FTD2XX
50
extern
struct
ftd2xx_spi_init
max14916_spi_extra
;
51
#define SPI_EXTRA &max14916_spi_extra
52
#define SPI_OPS &ftd2xx_spi_ops
53
#define UART_OPS &ftd2xx_uart_ops
54
#else
55
#define SPI_EXTRA NULL
56
#define SPI_OPS &linux_spi_ops
57
#define UART_OPS &linux_uart_ops
58
#endif
59
60
#define SPI_DEVICE_ID 0
61
#define SPI_CS 0
62
#define SPI_BAUDRATE 100000
63
64
#endif
/* __PARAMETERS_H__ */
ftd2xx_spi.h
ftd2xx_uart.h
linux_spi.h
linux_uart.h
max14916_spi_extra
struct max_spi_init_param max14916_spi_extra
Definition
parameters.c:39
ftd2xx_spi_init
Structure holding the initialization parameters for ftd2xx platform specific SPI parameters.
Definition
ftd2xx_spi.h:45
projects
max14916
src
platform
linux
parameters.h
Copyright © 2024
Analog Devices Inc.
. All Rights Reserved.