Zephyr Project API 3.7.0
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)   FIELD_GET(_ENET_QOS_REG_MASK(reg, field), val)
 
#define ENET_QOS_REG_PREP(reg, field, val)   FIELD_PREP(_ENET_QOS_REG_MASK(reg, field), val)
 
#define ENET_QOS_ALIGN_ADDR_SHIFT(x)   (x >> (ENET_QOS_ALIGNMENT >> 1))
 
#define ENET_QOS_MODULE_CFG(module_dev)   ((struct nxp_enet_qos_config *) module_dev->config)
 

Macro Definition Documentation

◆ ENET_QOS_ALIGN_ADDR_SHIFT

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

◆ ENET_QOS_MODULE_CFG

#define ENET_QOS_MODULE_CFG (   module_dev)    ((struct nxp_enet_qos_config *) module_dev->config)

◆ ENET_QOS_REG_GET

#define ENET_QOS_REG_GET (   reg,
  field,
  val 
)    FIELD_GET(_ENET_QOS_REG_MASK(reg, field), val)

◆ ENET_QOS_REG_PREP

#define ENET_QOS_REG_PREP (   reg,
  field,
  val 
)    FIELD_PREP(_ENET_QOS_REG_MASK(reg, field), val)