summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2023-05-31 10:34:14 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2023-07-14 09:11:19 +0200
commit845422b859378a3e06f7a5f77873d622e871e88f (patch)
treecc94f1e01e9e7c4166da3bf14214baf76f3a1f5e
parentfe23259633518b8cfa9d4e7206b6e3bac7938e12 (diff)
bsps/grlib: Fix SPWTDP register name
Update #4842.
-rw-r--r--bsps/include/grlib/spwtdp-regs.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/bsps/include/grlib/spwtdp-regs.h b/bsps/include/grlib/spwtdp-regs.h
index b69fb5b0a5..2e951e4544 100644
--- a/bsps/include/grlib/spwtdp-regs.h
+++ b/bsps/include/grlib/spwtdp-regs.h
@@ -304,25 +304,25 @@ extern "C" {
/** @} */
/**
- * @defgroup RTEMSDeviceGRLIBSPWTDPCET0 Command Elapsed Time 3 (CET0)
+ * @defgroup RTEMSDeviceGRLIBSPWTDPCET3 Command Elapsed Time 3 (CET3)
*
* @brief This group contains register bit definitions.
*
* @{
*/
-#define SPWTDP_CET0_CET3_SHIFT 0
-#define SPWTDP_CET0_CET3_MASK 0xffffffffU
-#define SPWTDP_CET0_CET3_GET( _reg ) \
- ( ( ( _reg ) & SPWTDP_CET0_CET3_MASK ) >> \
- SPWTDP_CET0_CET3_SHIFT )
-#define SPWTDP_CET0_CET3_SET( _reg, _val ) \
- ( ( ( _reg ) & ~SPWTDP_CET0_CET3_MASK ) | \
- ( ( ( _val ) << SPWTDP_CET0_CET3_SHIFT ) & \
- SPWTDP_CET0_CET3_MASK ) )
-#define SPWTDP_CET0_CET3( _val ) \
- ( ( ( _val ) << SPWTDP_CET0_CET3_SHIFT ) & \
- SPWTDP_CET0_CET3_MASK )
+#define SPWTDP_CET3_CET3_SHIFT 0
+#define SPWTDP_CET3_CET3_MASK 0xffffffffU
+#define SPWTDP_CET3_CET3_GET( _reg ) \
+ ( ( ( _reg ) & SPWTDP_CET3_CET3_MASK ) >> \
+ SPWTDP_CET3_CET3_SHIFT )
+#define SPWTDP_CET3_CET3_SET( _reg, _val ) \
+ ( ( ( _reg ) & ~SPWTDP_CET3_CET3_MASK ) | \
+ ( ( ( _val ) << SPWTDP_CET3_CET3_SHIFT ) & \
+ SPWTDP_CET3_CET3_MASK ) )
+#define SPWTDP_CET3_CET3( _val ) \
+ ( ( ( _val ) << SPWTDP_CET3_CET3_SHIFT ) & \
+ SPWTDP_CET3_CET3_MASK )
/** @} */
@@ -1075,7 +1075,7 @@ typedef struct spwtdp {
/**
* @brief See @ref RTEMSDeviceGRLIBSPWTDPCET0.
*/
- uint32_t cet0_0;
+ uint32_t cet0;
/**
* @brief See @ref RTEMSDeviceGRLIBSPWTDPCET1.
@@ -1088,9 +1088,9 @@ typedef struct spwtdp {
uint32_t cet2;
/**
- * @brief See @ref RTEMSDeviceGRLIBSPWTDPCET0.
+ * @brief See @ref RTEMSDeviceGRLIBSPWTDPCET3.
*/
- uint32_t cet0_1;
+ uint32_t cet3;
/**
* @brief See @ref RTEMSDeviceGRLIBSPWTDPCET4.