From e74f3717d9de83125bc26e28847487bbbab4884e Mon Sep 17 00:00:00 2001 From: Scheiffler Date: Thu, 5 Oct 2023 16:23:25 -0500 Subject: [PATCH] Fix presense detect status position in MAX32570 registers --- Libraries/CMSIS/Device/Maxim/MAX32570/Include/owm_regs.h | 2 +- Libraries/PeriphDrivers/Source/OWM/owm_reva_me13.svd | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Libraries/CMSIS/Device/Maxim/MAX32570/Include/owm_regs.h b/Libraries/CMSIS/Device/Maxim/MAX32570/Include/owm_regs.h index 82f90d27bf4..a017d29ce28 100644 --- a/Libraries/CMSIS/Device/Maxim/MAX32570/Include/owm_regs.h +++ b/Libraries/CMSIS/Device/Maxim/MAX32570/Include/owm_regs.h @@ -175,7 +175,7 @@ typedef struct { #define MXC_F_OWM_CTRL_STAT_OD_SPEC_MODE_POS 4 /**< CTRL_STAT_OD_SPEC_MODE Position */ #define MXC_F_OWM_CTRL_STAT_OD_SPEC_MODE ((uint32_t)(0x1UL << MXC_F_OWM_CTRL_STAT_OD_SPEC_MODE_POS)) /**< CTRL_STAT_OD_SPEC_MODE Mask */ -#define MXC_F_OWM_CTRL_STAT_PRESENCE_DETECT_POS 5 /**< CTRL_STAT_PRESENCE_DETECT Position */ +#define MXC_F_OWM_CTRL_STAT_PRESENCE_DETECT_POS 7 /**< CTRL_STAT_PRESENCE_DETECT Position */ #define MXC_F_OWM_CTRL_STAT_PRESENCE_DETECT ((uint32_t)(0x1UL << MXC_F_OWM_CTRL_STAT_PRESENCE_DETECT_POS)) /**< CTRL_STAT_PRESENCE_DETECT Mask */ /**@} end of group OWM_CTRL_STAT_Register */ diff --git a/Libraries/PeriphDrivers/Source/OWM/owm_reva_me13.svd b/Libraries/PeriphDrivers/Source/OWM/owm_reva_me13.svd index bbee0771f3a..1bb3c30b539 100644 --- a/Libraries/PeriphDrivers/Source/OWM/owm_reva_me13.svd +++ b/Libraries/PeriphDrivers/Source/OWM/owm_reva_me13.svd @@ -128,7 +128,7 @@ presence_detect Presence Pulse Detected. - [5:5] + [7:7] read-only