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:
Sebastian Huber
2023-07-14 09:11:19 +02:00
parent 7575890200
commit fe23259633
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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 )
+3 -3
View File
@@ -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 )