Open FFBoard
Open source force feedback firmware
cpp_target_config.h
Go to the documentation of this file.
1
/*
2
* cpp_target_config.h
3
*
4
* Created on: 27.12.2020
5
* Author: willson556
6
*/
7
8
#ifndef CPP_TARGET_CONFIG_H_
9
#define CPP_TARGET_CONFIG_H_
10
11
#include "
SPI.h
"
12
#include "
MotorPWM.h
"
13
#include "
UART.h
"
14
#include "target_constants.h"
15
#include "
CAN.h
"
16
#include "
I2C.h
"
17
18
extern
SPIPort
external_spi
;
19
extern
SPIPort
motor_spi
;
20
extern
SPIPort
ext3_spi
;
21
22
#ifdef UART_PORT_MOTOR
23
extern
UARTPort
motor_uart
;
24
#endif
25
26
#ifdef UART_PORT_EXT
27
extern
UARTPort
external_uart
;
28
#endif
29
30
#ifdef CANBUS
31
extern
CANPort
&
canport
;
32
#endif
33
34
#ifdef PWMDRIVER
35
extern
const
PWMConfig
pwmTimerConfig
;
36
#endif
37
38
#ifdef I2C_PORT
39
extern
I2CPort
i2cport
;
40
#endif
41
42
#ifdef DEBUGPIN
43
extern
const
OutputPin
debugpin
;
44
#endif
45
46
#ifdef GPIO_MOTOR
47
extern
const
OutputPin
gpMotor
;
48
#endif
49
50
#endif
CAN.h
I2C.h
MotorPWM.h
SPI.h
UART.h
CANPort
Definition:
CAN.h:119
I2CPort
Definition:
I2C.h:43
OutputPin
Definition:
GPIOPin.h:32
SPIPort
Definition:
SPI.h:43
UARTPort
Definition:
UART.h:26
external_spi
SPIPort external_spi
pwmTimerConfig
const PWMConfig pwmTimerConfig
debugpin
const OutputPin debugpin
canport
CANPort & canport
i2cport
I2CPort i2cport
ext3_spi
SPIPort ext3_spi
external_uart
UARTPort external_uart
gpMotor
const OutputPin gpMotor
motor_uart
UARTPort motor_uart
motor_spi
SPIPort motor_spi
PWMConfig
Definition:
MotorPWM.h:27
Firmware
FFBoard
Inc
cpp_target_config.h
Generated by
1.9.2