Prusa MINI Firmware overview
Collaboration diagram for IWDG Prescaler:

Macros

#define IWDG_PRESCALER_4   0x00000000U
 
#define IWDG_PRESCALER_8   IWDG_PR_PR_0
 
#define IWDG_PRESCALER_16   IWDG_PR_PR_1
 
#define IWDG_PRESCALER_32   (IWDG_PR_PR_1 | IWDG_PR_PR_0)
 
#define IWDG_PRESCALER_64   IWDG_PR_PR_2
 
#define IWDG_PRESCALER_128   (IWDG_PR_PR_2 | IWDG_PR_PR_0)
 
#define IWDG_PRESCALER_256   (IWDG_PR_PR_2 | IWDG_PR_PR_1)
 

Detailed Description

Macro Definition Documentation

◆ IWDG_PRESCALER_4

#define IWDG_PRESCALER_4   0x00000000U

IWDG prescaler set to 4

◆ IWDG_PRESCALER_8

#define IWDG_PRESCALER_8   IWDG_PR_PR_0

IWDG prescaler set to 8

◆ IWDG_PRESCALER_16

#define IWDG_PRESCALER_16   IWDG_PR_PR_1

IWDG prescaler set to 16

◆ IWDG_PRESCALER_32

#define IWDG_PRESCALER_32   (IWDG_PR_PR_1 | IWDG_PR_PR_0)

IWDG prescaler set to 32

◆ IWDG_PRESCALER_64

#define IWDG_PRESCALER_64   IWDG_PR_PR_2

IWDG prescaler set to 64

◆ IWDG_PRESCALER_128

#define IWDG_PRESCALER_128   (IWDG_PR_PR_2 | IWDG_PR_PR_0)

IWDG prescaler set to 128

◆ IWDG_PRESCALER_256

#define IWDG_PRESCALER_256   (IWDG_PR_PR_2 | IWDG_PR_PR_1)

IWDG prescaler set to 256