AM263Px MCU+ SDK: enet_cfg.h File Reference

| AM263Px MCU+ SDK 26.00.00 |

Macros
enet_cfg.h File Reference

## Introduction

This file contains the Enet configuration parameters.

Go to the source code of this file.

## Macros
#define | ENET_ON (1U)
| Build-time config option is enabled. More...
#define | ENET_OFF (0U)
| Build-time config option is disabled. More...
#define | ENET_CFG_IS_ON(name) ((ENET_CFG_ ## name) == ENET_ON)
| Preprocessor check if config option is enabled. More...
#define | ENET_CFG_IS_OFF(name) ((ENET_CFG_ ## name) == ENET_OFF)
| Preprocessor check if config option is disabled. More...
#define | ENET_CFG_PRINT_BUF_LEN (200U)
| EnetUtils print buffer length. More...
#define | ENET_CFG_HAS_DEFAULT_OSAL (ENET_ON)
| Whether Enet driver has a default OSAL implementation. More...
#define | ENET_CFG_HAS_DEFAULT_UTILS (ENET_ON)
| Whether Enet driver has a default utils implementation. More...
#define | ENET_CFG_SANITY_CHECKS (ENET_ON)
| Enable top-layer sanity checks and misc debug info. More...
#define | ENET_CFG_CPSW_CPTS_STATS (ENET_OFF)
| CPSW CPTS stats. More...
#define | ENET_CFG_CPSW_CPTS_EVENTS_POOL_SIZE (8U)
| CPSW CPTS Event Pool size. More...
#define | ENET_CFG_RM_PRESENT (ENET_ON)
| Resource Manager support. More...
#define | ENET_CFG_USE_OPTIMIZED_IRQ_CRITICAL_SECTION (0U)
| Enabling Optimized IRQ for critical section. More...
#define | ENET_CFG_TRACE_DISABLE_INFOSTRING (ENET_ON)
| Eliminate embedded strings from all ASSERT/TRACE invocation. More...

## Macro Definition Documentation

## ◆ ENET_ON

#define ENET_ON (1U)

Build-time config option is enabled.

## ◆ ENET_OFF

#define ENET_OFF (0U)

Build-time config option is disabled.

## ◆ ENET_CFG_IS_ON

#define ENET_CFG_IS_ON | ( |  | name | ) | ((ENET_CFG_ ## name) == ENET_ON)

Preprocessor check if config option is enabled.

## ◆ ENET_CFG_IS_OFF

#define ENET_CFG_IS_OFF | ( |  | name | ) | ((ENET_CFG_ ## name) == ENET_OFF)

Preprocessor check if config option is disabled.

## ◆ ENET_CFG_PRINT_BUF_LEN

#define ENET_CFG_PRINT_BUF_LEN (200U)

EnetUtils print buffer length.

## ◆ ENET_CFG_HAS_DEFAULT_OSAL

#define ENET_CFG_HAS_DEFAULT_OSAL (ENET_ON)

Whether Enet driver has a default OSAL implementation.

## ◆ ENET_CFG_HAS_DEFAULT_UTILS

#define ENET_CFG_HAS_DEFAULT_UTILS (ENET_ON)

Whether Enet driver has a default utils implementation.

## ◆ ENET_CFG_SANITY_CHECKS

#define ENET_CFG_SANITY_CHECKS (ENET_ON)

Enable top-layer sanity checks and misc debug info.

## ◆ ENET_CFG_CPSW_CPTS_STATS

#define ENET_CFG_CPSW_CPTS_STATS (ENET_OFF)

CPSW CPTS stats.

## ◆ ENET_CFG_CPSW_CPTS_EVENTS_POOL_SIZE

#define ENET_CFG_CPSW_CPTS_EVENTS_POOL_SIZE (8U)

CPSW CPTS Event Pool size.

## ◆ ENET_CFG_RM_PRESENT

#define ENET_CFG_RM_PRESENT (ENET_ON)

Resource Manager support.

## ◆ ENET_CFG_USE_OPTIMIZED_IRQ_CRITICAL_SECTION

#define ENET_CFG_USE_OPTIMIZED_IRQ_CRITICAL_SECTION (0U)

Enabling Optimized IRQ for critical section.

## ◆ ENET_CFG_TRACE_DISABLE_INFOSTRING

#define ENET_CFG_TRACE_DISABLE_INFOSTRING (ENET_ON)

Eliminate embedded strings from all ASSERT/TRACE invocation.

Enabling this option reduces rodata footprint of enet library by removing strings in trace. Removal of strings will result in cryptic trace msgs because informative strings are removed and only function name, file,line num info will be printed based on ENET_CFG_TRACE_TRACE_FORMAT define.