config.h

来自「Library for CAN Controler sja1000」· C头文件 代码 · 共 29 行

H
29
字号
#ifndef	CONFIG_H#define	CONFIG_H// ----------------------------------------------------------------------------/* Global settings for building the can-lib and application program. * * The following two #defines must be set identically for the can-lib and * your application program. They control the underlying CAN struct. If the * settings disagree, the underlying CAN struct will be broken, with * unpredictable results. * If can.h detects that any of the #defines is not defined, it will set them * to the default values shown here, so it is in your own interest to have a * consistent setting. Ommiting the #defines in both can-lib and application * program will apply the defaults in a consistent way too. * * Select if you want to use 29 bit identifiers. */#define	SUPPORT_EXTENDED_CANID	1/* Select if you want to use timestamps. * Timestamps are sourced from a register internal to the AT90CAN. * Selecting them on any other controller will have no effect, they will * be 0 all the time. */#define	SUPPORT_TIMESTAMPS		0#endif	// CONFIG_H

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?