Loading...
Searching...
No Matches
config.h File Reference

EFM32 default configuration. More...

Detailed Description

EFM32 default configuration.

Author
Bas Stottelaar basst.nosp@m.otte.nosp@m.laar@.nosp@m.gmai.nosp@m.l.com

Definition in file config.h.

#include <assert.h>
+ Include dependency graph for config.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

#define CONFIG_EFM32_ETH_AN_TIMEOUT_MS   5000U
 Timeout for PHY auto-negotiation completion, in milliseconds.
 
#define CONFIG_EFM32_ETH_LINK_POLL_MS   1000U
 Poll interval for checking the link state, in milliseconds.
 
#define CONFIG_EFM32_ETH_PHY_TIMEOUT_MS   1U
 Timeout for PHY operations, in milliseconds.
 
#define CONFIG_EFM32_ETH_RX_BUF_NUMOF   4U
 Number of receive buffers.
 
#define CONFIG_EFM32_ETH_TX_BUF_NUMOF   4U
 Number of transmit buffers.
 
#define CONFIG_EFM32_XTIMER_USE_LETIMER   0
 Use LETIMER as the base timer for xtimer (effectively ztimer).
 
#define CONFIG_EFM32_ZTIMER_USE_LETIMER   0
 Use LETIMER as the base timer for ztimer.
 

Macro Definition Documentation

◆ CONFIG_EFM32_ETH_AN_TIMEOUT_MS

#define CONFIG_EFM32_ETH_AN_TIMEOUT_MS   5000U

Timeout for PHY auto-negotiation completion, in milliseconds.

Definition at line 28 of file config.h.

◆ CONFIG_EFM32_ETH_LINK_POLL_MS

#define CONFIG_EFM32_ETH_LINK_POLL_MS   1000U

Poll interval for checking the link state, in milliseconds.

Definition at line 35 of file config.h.

◆ CONFIG_EFM32_ETH_PHY_TIMEOUT_MS

#define CONFIG_EFM32_ETH_PHY_TIMEOUT_MS   1U

Timeout for PHY operations, in milliseconds.

This is an absolute error timeout. Actual PHY operations are expected to complete in a few microseconds.

Definition at line 45 of file config.h.

◆ CONFIG_EFM32_ETH_RX_BUF_NUMOF

#define CONFIG_EFM32_ETH_RX_BUF_NUMOF   4U

Number of receive buffers.

Definition at line 52 of file config.h.

◆ CONFIG_EFM32_ETH_TX_BUF_NUMOF

#define CONFIG_EFM32_ETH_TX_BUF_NUMOF   4U

Number of transmit buffers.

Definition at line 62 of file config.h.

◆ CONFIG_EFM32_XTIMER_USE_LETIMER

#define CONFIG_EFM32_XTIMER_USE_LETIMER   0

Use LETIMER as the base timer for xtimer (effectively ztimer).

Deprecated
This option is deprecated and should be replaced by CONFIG_EFM32_ZTIMER_USE_LETIMER.

Definition at line 75 of file config.h.

◆ CONFIG_EFM32_ZTIMER_USE_LETIMER

#define CONFIG_EFM32_ZTIMER_USE_LETIMER   0

Use LETIMER as the base timer for ztimer.

Definition at line 85 of file config.h.