25.6.3.1 Initialization

Before a Brown-Out Detector (BOD33) is enabled, it must be configured, as outlined by the following:
  • Set the BOD threshold level (BOD33.LEVEL)
  • Set the configuration in Active, Standby (BOD33.ACTION, BOD33.STDBYCFG)
  • Set the prescaling value if the BOD will run in sampling mode (BOD33.PSEL)
  • Set the action and hysteresis (BOD33.ACTION and BOD33.HYST)

The BOD33 register is Enable-Protected (excluding BOD33.ENABLE bit), meaning that they can only be written when the BOD is disabled (BOD33.ENABLE=0 and STATUS.B33SRDY=0). As long as the Enable bit is '1', any writes to Enable-Protected registers (EVCTRL) will be discarded, and an APB error will be generated. The Enable bits are not Enable-Protected.