mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-25 01:46:30 +08:00
bsps/grlib: Expand SpaceWire port bit fields
Use the maximum width supported by the SpaceWire standard even if this exceeds the configuration limits of a particular IP instance. Update #4842.
This commit is contained in:
@@ -194,7 +194,7 @@ extern "C" {
|
||||
*/
|
||||
|
||||
#define SPWPNP_PNPACTLNK_ACTIVE_SHIFT 1
|
||||
#define SPWPNP_PNPACTLNK_ACTIVE_MASK 0x1ffeU
|
||||
#define SPWPNP_PNPACTLNK_ACTIVE_MASK 0xfffffffeU
|
||||
#define SPWPNP_PNPACTLNK_ACTIVE_GET( _reg ) \
|
||||
( ( ( _reg ) & SPWPNP_PNPACTLNK_ACTIVE_MASK ) >> \
|
||||
SPWPNP_PNPACTLNK_ACTIVE_SHIFT )
|
||||
|
||||
@@ -751,7 +751,7 @@ extern "C" {
|
||||
*/
|
||||
|
||||
#define SPWRMAP_IPMASK_IE_SHIFT 0
|
||||
#define SPWRMAP_IPMASK_IE_MASK 0xfffffU
|
||||
#define SPWRMAP_IPMASK_IE_MASK 0xffffffffU
|
||||
#define SPWRMAP_IPMASK_IE_GET( _reg ) \
|
||||
( ( ( _reg ) & SPWRMAP_IPMASK_IE_MASK ) >> \
|
||||
SPWRMAP_IPMASK_IE_SHIFT )
|
||||
@@ -774,7 +774,7 @@ extern "C" {
|
||||
*/
|
||||
|
||||
#define SPWRMAP_PIP_IP_SHIFT 0
|
||||
#define SPWRMAP_PIP_IP_MASK 0xfffffU
|
||||
#define SPWRMAP_PIP_IP_MASK 0xffffffffU
|
||||
#define SPWRMAP_PIP_IP_GET( _reg ) \
|
||||
( ( ( _reg ) & SPWRMAP_PIP_IP_MASK ) >> \
|
||||
SPWRMAP_PIP_IP_SHIFT )
|
||||
@@ -953,7 +953,7 @@ extern "C" {
|
||||
*/
|
||||
|
||||
#define SPWRMAP_LRUNSTAT_LR_SHIFT 1
|
||||
#define SPWRMAP_LRUNSTAT_LR_MASK 0x7fffeU
|
||||
#define SPWRMAP_LRUNSTAT_LR_MASK 0xfffffffeU
|
||||
#define SPWRMAP_LRUNSTAT_LR_GET( _reg ) \
|
||||
( ( ( _reg ) & SPWRMAP_LRUNSTAT_LR_MASK ) >> \
|
||||
SPWRMAP_LRUNSTAT_LR_SHIFT )
|
||||
|
||||
Reference in New Issue
Block a user