no-OS
Toggle main menu visibility
Main Page
Related Pages
Structures
Structure List
Structure Index
Files
File List
•
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
Loading...
Searching...
No Matches
projects
ad9545
src
platform
linux
parameters.h
Go to the documentation of this file.
1
/***************************************************************************/
34
#ifndef __PARAMETERS_H__
35
#define __PARAMETERS_H__
36
37
#include <stdbool.h>
38
#include <stdint.h>
39
#include "
linux_spi.h
"
40
#include "
linux_i2c.h
"
41
42
#define SPI_DEVICE_ID 0
43
#define SPI_CS 0
44
#define SPI_BAUDRATE 1000000
45
#define SPI_OPS &linux_spi_ops
46
#define SPI_EXTRA NULL
47
48
#define I2C_EXTRA &ad9545_i2c_extra_ip
49
#define I2C_OPS &linux_i2c_ops
50
51
#define COMM_TYPE SPI
52
53
extern
struct
linux_i2c_init_param
ad9545_i2c_extra_ip
;
54
55
#endif
/* __PARAMETERS_H__ */
ad9545_i2c_extra_ip
struct linux_i2c_init_param ad9545_i2c_extra_ip
Definition
parameters.c:37
linux_i2c.h
linux_spi.h
linux_i2c_init_param
Structure holding the initialization parameters for Linux platform specific I2C parameters.
Definition
linux_i2c.h:41
Generated by
1.13.2