Prusa MINI Firmware overview
RCC Private macros to check input parameters
Collaboration diagram for RCC Private macros to check input parameters:

Macros

#define IS_RCC_PLLN_VALUE(VALUE)   ((50U <= (VALUE)) && ((VALUE) <= 432U))
 
#define IS_RCC_PLLI2SN_VALUE(VALUE)   ((50U <= (VALUE)) && ((VALUE) <= 432U))
 
#define IS_RCC_PLLI2SR_VALUE(VALUE)   ((2U <= (VALUE)) && ((VALUE) <= 7U))
 

Detailed Description

Macro Definition Documentation

◆ IS_RCC_PLLN_VALUE

#define IS_RCC_PLLN_VALUE (   VALUE)    ((50U <= (VALUE)) && ((VALUE) <= 432U))

◆ IS_RCC_PLLI2SN_VALUE

#define IS_RCC_PLLI2SN_VALUE (   VALUE)    ((50U <= (VALUE)) && ((VALUE) <= 432U))

◆ IS_RCC_PLLI2SR_VALUE

#define IS_RCC_PLLI2SR_VALUE (   VALUE)    ((2U <= (VALUE)) && ((VALUE) <= 7U))