Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
y
+
Functions
_
a
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
+
Variables
_
a
b
c
d
e
f
g
h
l
m
n
p
q
r
s
t
u
w
y
Typedefs
Enumerations
+
Classes
Class List
Class Hierarchy
+
Class Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
~
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
Enumerations
+
Enumerator
a
b
c
d
e
f
i
k
l
m
n
o
r
s
t
u
w
y
Related Functions
+
Files
File List
+
File Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Variables
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
w
x
+
Typedefs
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Enumerations
_
a
b
c
d
e
f
g
i
m
n
p
s
t
u
x
+
Enumerator
_
a
b
c
d
e
f
g
h
i
m
n
o
p
q
r
s
t
u
w
x
+
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
lib
inertial-sense-sdk
EVB-2
IS_EVB-2
src
config
conf_board.h
Go to the documentation of this file.
1
33
/*
34
* Support and FAQ: visit <a href="https://www.microchip.com/support/">Microchip Support</a>
35
*/
36
37
#ifndef CONF_BOARD_H_INCLUDED
38
#define CONF_BOARD_H_INCLUDED
39
40
#include <
board.h
>
41
#include "
board_opt.h
"
42
43
#define CONF_BOARD_CONFIG_MPU_AT_INIT
44
45
// Setup to use the Watchdog
46
#define ENABLE_WDT
47
48
#ifdef ENABLE_WDT
49
#define CONF_BOARD_KEEP_WATCHDOG_AT_INIT // Don't change WDT mode register in init.c
50
#endif
51
52
/* Enable ICache and DCache */
53
#if CONF_BOARD_ENABLE_DCACHE == 1
54
#define CONF_BOARD_ENABLE_CACHE_AT_INIT
55
#endif
56
58
#define CONF_BOARD_SD_MMC_HSMCI
59
#define CONF_HSMCI_XDMAC_CHANNEL XDMAC_CHANNEL_HWID_HSMCI
60
62
/* Use TC Peripheral 0. */
63
#define TC TC0
64
#define TC_PERIPHERAL 0
65
68
/* Configure TC0 channel 1 as waveform output. */
69
#define TC_CHANNEL_WAVEFORM 1
70
#define ID_TC_WAVEFORM ID_TC1
71
#define PIN_TC_WAVEFORM PIN_TC0_TIOA1
72
#define PIN_TC_WAVEFORM_MUX PIN_TC0_TIOA1_MUX
73
76
/* Configure TC0 channel 2 as capture input. */
77
#define TC_CHANNEL_CAPTURE 2
78
#define ID_TC_CAPTURE ID_TC2
79
#define PIN_TC_CAPTURE PIN_TC0_TIOA2
80
#define PIN_TC_CAPTURE_MUX PIN_TC0_TIOA2_MUX
81
84
/* Use TC2_Handler for TC capture interrupt. */
85
#define TC_Handler TC2_Handler
86
#define TC_IRQn TC2_IRQn
87
89
// Serial interfaces
90
#define CONF_BOARD_SERIAL_UINS_SER0
91
#define CONF_BOARD_SERIAL_UINS_SER1
92
#define CONF_BOARD_SERIAL_XBEE
93
#define CONF_BOARD_SERIAL_EXT_RADIO
94
#define CONF_BOARD_SERIAL_ATWINC_BLE
95
#define CONF_BOARD_SERIAL_SP330
96
#define CONF_BOARD_SERIAL_GPIO_H8
97
98
// SPI interfaces
99
#define CONF_BOARD_SPI_UINS
100
#define CONF_BOARD_SPI_ATWINC_WIFI
101
102
// Encoder interfaces
103
#define CONF_BOARD_QUAD_ENCODER
104
105
// I2C interface
106
// #define CONF_BOARD_I2C_UINS
107
108
// CAN interface
109
//#define CONF_BOARD_CAN1
110
//#define CONF_BOARD_CAN_TEST
111
112
#endif
/* CONF_BOARD_H_INCLUDED */
board_opt.h
board.h
Standard board header file.
inertial_sense_ros
Author(s):
autogenerated on Sat Sep 19 2020 03:19:04