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 // ADC interface
113 #define CONF_BOARD_ADC
114 
115 #endif /* CONF_BOARD_H_INCLUDED */
Standard board header file.


inertial_sense_ros
Author(s):
autogenerated on Sun Feb 28 2021 03:17:57