Skip to content

Commit

Permalink
lib: st25r3911b: Correct regulator control register defines
Browse files Browse the repository at this point in the history
Correct regulator control register defines
- Add ST25R3911B_REG_REGULATOR_CTRL_REGE1
- Shifted other REG

Fixes a possible error when attempting to autocalibrate the regulator
  • Loading branch information
Andrew55529 committed Jan 23, 2025
1 parent 38f72b8 commit e369a54
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lib/st25r3911b/st25r3911b_reg.h
Original file line number Diff line number Diff line change
Expand Up @@ -532,9 +532,10 @@ extern "C" {
#define ST25R3911B_REG_REGULATOR_CTRL_MPSV_VSP_D (2 << 1)
#define ST25R3911B_REG_REGULATOR_CTRL_MPSV_VSP_RF (3 << 1)
#define ST25R3911B_REG_REGULATOR_CTRL_REGE0 BIT(3)
#define ST25R3911B_REG_REGULATOR_CTRL_REGE2 BIT(4)
#define ST25R3911B_REG_REGULATOR_CTRL_REGE3 BIT(5)
#define ST25R3911B_REG_REGULATOR_CTRL_REG_S BIT(6)
#define ST25R3911B_REG_REGULATOR_CTRL_REGE1 BIT(4)
#define ST25R3911B_REG_REGULATOR_CTRL_REGE2 BIT(5)
#define ST25R3911B_REG_REGULATOR_CTRL_REGE3 BIT(6)
#define ST25R3911B_REG_REGULATOR_CTRL_REG_S BIT(7)

/**
* @}
Expand Down

0 comments on commit e369a54

Please sign in to comment.