SCOM Serial Communication Protocol  0.5.2
Macros
doxygen.h File Reference

Go to the source code of this file.

Macros

#define SCOM_MAX_DATA_LENGTH   255
 
#define SCOM_MAX_SERVICES
 
#define SCOM_MAX_FRAME_FILTERS
 

Macro Definition Documentation

#define SCOM_MAX_DATA_LENGTH   255

Defines the maximum length of data (in bytes) that can be sent in a single SCOM frame. The default value assumes that the frame payload can be 255 bytes, according to the SCOM specification. The user may want to change it in order to limit the RAM memory footprint required to handle SCOM packets.

As of version 0.4.0 it is discouraged for the user to define this variable.

Definition at line 636 of file doxygen.h.

Referenced by SCOMFrame_SetPayloadSize().

#define SCOM_MAX_FRAME_FILTERS

Defines the maximum number of frame filters that can be installed.

Default value: undefined

Definition at line 652 of file doxygen.h.

Referenced by SCOM_Init(), and SCOM_InitFiltering().

#define SCOM_MAX_SERVICES

Defines the maximum number of services that the SCOM device will support.

Default value: undefined

Definition at line 644 of file doxygen.h.

Referenced by SCOM_Init(), and SCOM_SetServiceHandler().