This group contains register bit definitions.
More...
This group contains register bit definitions.
◆ GRETHGBIT_MDIO_DATA
#define GRETHGBIT_MDIO_DATA |
( |
|
_val | ) |
|
Value: ( ( ( _val ) << GRETHGBIT_MDIO_DATA_SHIFT ) & \
GRETHGBIT_MDIO_DATA_MASK )
◆ GRETHGBIT_MDIO_DATA_GET
#define GRETHGBIT_MDIO_DATA_GET |
( |
|
_reg | ) |
|
Value: ( ( ( _reg ) & GRETHGBIT_MDIO_DATA_MASK ) >> \
GRETHGBIT_MDIO_DATA_SHIFT )
◆ GRETHGBIT_MDIO_DATA_SET
#define GRETHGBIT_MDIO_DATA_SET |
( |
|
_reg, |
|
|
|
_val |
|
) |
| |
Value: ( ( ( _reg ) & ~GRETHGBIT_MDIO_DATA_MASK ) | \
( ( ( _val ) << GRETHGBIT_MDIO_DATA_SHIFT ) & \
GRETHGBIT_MDIO_DATA_MASK ) )
◆ GRETHGBIT_MDIO_PHYADDR
#define GRETHGBIT_MDIO_PHYADDR |
( |
|
_val | ) |
|
Value: ( ( ( _val ) << GRETHGBIT_MDIO_PHYADDR_SHIFT ) & \
GRETHGBIT_MDIO_PHYADDR_MASK )
◆ GRETHGBIT_MDIO_PHYADDR_GET
#define GRETHGBIT_MDIO_PHYADDR_GET |
( |
|
_reg | ) |
|
Value: ( ( ( _reg ) & GRETHGBIT_MDIO_PHYADDR_MASK ) >> \
GRETHGBIT_MDIO_PHYADDR_SHIFT )
◆ GRETHGBIT_MDIO_PHYADDR_SET
#define GRETHGBIT_MDIO_PHYADDR_SET |
( |
|
_reg, |
|
|
|
_val |
|
) |
| |
Value: ( ( ( _reg ) & ~GRETHGBIT_MDIO_PHYADDR_MASK ) | \
( ( ( _val ) << GRETHGBIT_MDIO_PHYADDR_SHIFT ) & \
GRETHGBIT_MDIO_PHYADDR_MASK ) )
◆ GRETHGBIT_MDIO_REGADDR
#define GRETHGBIT_MDIO_REGADDR |
( |
|
_val | ) |
|
Value: ( ( ( _val ) << GRETHGBIT_MDIO_REGADDR_SHIFT ) & \
GRETHGBIT_MDIO_REGADDR_MASK )
◆ GRETHGBIT_MDIO_REGADDR_GET
#define GRETHGBIT_MDIO_REGADDR_GET |
( |
|
_reg | ) |
|
Value: ( ( ( _reg ) & GRETHGBIT_MDIO_REGADDR_MASK ) >> \
GRETHGBIT_MDIO_REGADDR_SHIFT )
◆ GRETHGBIT_MDIO_REGADDR_SET
#define GRETHGBIT_MDIO_REGADDR_SET |
( |
|
_reg, |
|
|
|
_val |
|
) |
| |
Value: ( ( ( _reg ) & ~GRETHGBIT_MDIO_REGADDR_MASK ) | \
( ( ( _val ) << GRETHGBIT_MDIO_REGADDR_SHIFT ) & \
GRETHGBIT_MDIO_REGADDR_MASK ) )