libs
platform_specific_components
avr
libcanard
avr-can-lib
demo
demo/config.h
Go to the documentation of this file.
1
#ifndef CONFIG_H
2
#define CONFIG_H
3
4
// ----------------------------------------------------------------------------
5
/* Global settings for building the can-lib and application program.
6
*
7
* The following two #defines must be set identically for the can-lib and
8
* your application program. They control the underlying CAN struct. If the
9
* settings disagree, the underlying CAN struct will be broken, with
10
* unpredictable results.
11
* If can.h detects that any of the #defines is not defined, it will set them
12
* to the default values shown here, so it is in your own interest to have a
13
* consistent setting. Ommiting the #defines in both can-lib and application
14
* program will apply the defaults in a consistent way too.
15
*
16
* Select if you want to use 29 bit identifiers.
17
*/
18
#define SUPPORT_EXTENDED_CANID 1
19
20
/* Select if you want to use timestamps.
21
* Timestamps are sourced from a register internal to the AT90CAN.
22
* Selecting them on any other controller will have no effect, they will
23
* be 0 all the time.
24
*/
25
#define SUPPORT_TIMESTAMPS 0
26
27
28
#endif // CONFIG_H
uavcan_communicator
Author(s):
autogenerated on Fri Dec 13 2024 03:10:02