Skip to content

Commit ec3b81c

Browse files
Andrew55529nordicjm
authored andcommitted
lib: st25r3911b: Correct regulator control register defines
Correct regulator control register defines - Add ST25R3911B_REG_REGULATOR_CTRL_REGE1 - Shifted other REG Fixes a possible error when attempting to autocalibrate the regulator Signed-off-by: Andrei Lashkov <[email protected]>
1 parent 9f68ef1 commit ec3b81c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

lib/st25r3911b/st25r3911b_reg.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -532,9 +532,10 @@ extern "C" {
532532
#define ST25R3911B_REG_REGULATOR_CTRL_MPSV_VSP_D (2 << 1)
533533
#define ST25R3911B_REG_REGULATOR_CTRL_MPSV_VSP_RF (3 << 1)
534534
#define ST25R3911B_REG_REGULATOR_CTRL_REGE0 BIT(3)
535-
#define ST25R3911B_REG_REGULATOR_CTRL_REGE2 BIT(4)
536-
#define ST25R3911B_REG_REGULATOR_CTRL_REGE3 BIT(5)
537-
#define ST25R3911B_REG_REGULATOR_CTRL_REG_S BIT(6)
535+
#define ST25R3911B_REG_REGULATOR_CTRL_REGE1 BIT(4)
536+
#define ST25R3911B_REG_REGULATOR_CTRL_REGE2 BIT(5)
537+
#define ST25R3911B_REG_REGULATOR_CTRL_REGE3 BIT(6)
538+
#define ST25R3911B_REG_REGULATOR_CTRL_REG_S BIT(7)
538539

539540
/**
540541
* @}

0 commit comments

Comments
 (0)