How many PVD in STM32G4xx? Error in RM0440 or in devices files ?
In RM0440 R6 6.2.3 there is "Each of the four PVMx (x=1, 2)". So 4 or 2 PVM ?
In the PWR_CR2 register 6.4.2:
Bit 7 PVMEN2: Peripheral voltage monitoring 4 enable
Bit 6 PVMEN1: Peripheral voltage monitoring 3 enable
=> PVMEN1 is for PVM1 or PVM3?
=> Only 2 PWM specified
In the file stm32G431xx.h:
There is bits définitions for 4 PVM.
Example for PVM1:
#define PWR_CR2_PVME1_Pos (4U)
#define PWR_CR2_PVME1_Msk (0x1UL << PWR_CR2_PVME1_Pos) /*!< 0x00000010 */
#define PWR_CR2_PVME1 PWR_CR2_PVME1_Msk This define PVME1 (Not PVMEN1 as in the RF) as bit 4. The bit 4 is not specified in the RM.
So my question: how many PVMs and what bits to use in PWR_CR2 ?


