Skip to content

Commit

Permalink
fix(PeriphDrivers): Fix I3C ibitype values
Browse files Browse the repository at this point in the history
CONT_REQ must be 2 and HOTJOIN_REQ must be 3.

Signed-off-by: Tahsin Mutlugun <[email protected]>
  • Loading branch information
ttmut committed Jul 3, 2024
1 parent b8d7aff commit 1a3d759
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Libraries/CMSIS/Device/Maxim/MAX32657/Include/i3c_regs.h
Original file line number Diff line number Diff line change
Expand Up @@ -1066,9 +1066,9 @@ typedef struct {
#define MXC_S_I3C_CONT_STATUS_IBITYPE_NONE (MXC_V_I3C_CONT_STATUS_IBITYPE_NONE << MXC_F_I3C_CONT_STATUS_IBITYPE_POS) /**< CONT_STATUS_IBITYPE_NONE Setting */
#define MXC_V_I3C_CONT_STATUS_IBITYPE_IBI ((uint32_t)0x1UL) /**< CONT_STATUS_IBITYPE_IBI Value */
#define MXC_S_I3C_CONT_STATUS_IBITYPE_IBI (MXC_V_I3C_CONT_STATUS_IBITYPE_IBI << MXC_F_I3C_CONT_STATUS_IBITYPE_POS) /**< CONT_STATUS_IBITYPE_IBI Setting */
#define MXC_V_I3C_CONT_STATUS_IBITYPE_CONT_REQ ((uint32_t)0x1UL) /**< CONT_STATUS_IBITYPE_CONT_REQ Value */
#define MXC_V_I3C_CONT_STATUS_IBITYPE_CONT_REQ ((uint32_t)0x2UL) /**< CONT_STATUS_IBITYPE_CONT_REQ Value */
#define MXC_S_I3C_CONT_STATUS_IBITYPE_CONT_REQ (MXC_V_I3C_CONT_STATUS_IBITYPE_CONT_REQ << MXC_F_I3C_CONT_STATUS_IBITYPE_POS) /**< CONT_STATUS_IBITYPE_CONT_REQ Setting */
#define MXC_V_I3C_CONT_STATUS_IBITYPE_HOTJOIN_REQ ((uint32_t)0x1UL) /**< CONT_STATUS_IBITYPE_HOTJOIN_REQ Value */
#define MXC_V_I3C_CONT_STATUS_IBITYPE_HOTJOIN_REQ ((uint32_t)0x3UL) /**< CONT_STATUS_IBITYPE_HOTJOIN_REQ Value */
#define MXC_S_I3C_CONT_STATUS_IBITYPE_HOTJOIN_REQ (MXC_V_I3C_CONT_STATUS_IBITYPE_HOTJOIN_REQ << MXC_F_I3C_CONT_STATUS_IBITYPE_POS) /**< CONT_STATUS_IBITYPE_HOTJOIN_REQ Setting */

#define MXC_F_I3C_CONT_STATUS_TARG_START_POS 8 /**< CONT_STATUS_TARG_START Position */
Expand Down
4 changes: 2 additions & 2 deletions Libraries/CMSIS/Device/Maxim/MAX32657/Include/max32657.svd
Original file line number Diff line number Diff line change
Expand Up @@ -5184,12 +5184,12 @@
<enumeratedValue>
<name>CONT_REQ</name>
<description>Controller request.</description>
<value>1</value>
<value>2</value>
</enumeratedValue>
<enumeratedValue>
<name>HOTJOIN_REQ</name>
<description>Hot-Join request.</description>
<value>1</value>
<value>3</value>
</enumeratedValue>
</enumeratedValues>
</field>
Expand Down
6 changes: 3 additions & 3 deletions Libraries/PeriphDrivers/Source/I3C/i3c_reva.svd
Original file line number Diff line number Diff line change
Expand Up @@ -1590,12 +1590,12 @@
<enumeratedValue>
<name>CONT_REQ</name>
<description>Controller request.</description>
<value>1</value>
<value>2</value>
</enumeratedValue>
<enumeratedValue>
<name>HOTJOIN_REQ</name>
<description>Hot-Join request.</description>
<value>1</value>
<value>3</value>
</enumeratedValue>
</enumeratedValues>
</field>
Expand Down Expand Up @@ -2403,4 +2403,4 @@
</registers>
</peripheral>
<!--I3C0: Improved Inter-Intergrated Circuit-->
</device>
</device>

0 comments on commit 1a3d759

Please sign in to comment.