Zephyr API Documentation 3.7.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
eth_nxp_enet_qos.h File Reference
#include <fsl_device_registers.h>
#include <zephyr/drivers/clock_control.h>

Go to the source code of this file.

Data Structures

struct  nxp_enet_qos_config
 

Macros

#define ENET_QOS_REG_GET(reg, field, val)
 
#define ENET_QOS_REG_PREP(reg, field, val)
 
#define ENET_QOS_ALIGN_ADDR_SHIFT(x)
 
#define ENET_QOS_MODULE_CFG(module_dev)
 

Macro Definition Documentation

◆ ENET_QOS_ALIGN_ADDR_SHIFT

#define ENET_QOS_ALIGN_ADDR_SHIFT ( x)
Value:
(x >> (ENET_QOS_ALIGNMENT >> 1))

◆ ENET_QOS_MODULE_CFG

#define ENET_QOS_MODULE_CFG ( module_dev)
Value:
((struct nxp_enet_qos_config *) module_dev->config)
Definition eth_nxp_enet_qos.h:46

◆ ENET_QOS_REG_GET

#define ENET_QOS_REG_GET ( reg,
field,
val )
Value:
FIELD_GET(_ENET_QOS_REG_MASK(reg, field), val)
#define FIELD_GET(mask, value)
Extract a bitfield element from value corresponding to the field mask mask.
Definition util.h:87

◆ ENET_QOS_REG_PREP

#define ENET_QOS_REG_PREP ( reg,
field,
val )
Value:
FIELD_PREP(_ENET_QOS_REG_MASK(reg, field), val)
#define FIELD_PREP(mask, value)
Prepare a bitfield element using value with mask representing its field position and width.
Definition util.h:94