Synergy Software Package User's Manual

Macros

#define BSP_ROM_REG_OFS1_SETTING   (((uint32_t)BSP_CFG_ROM_REG_OFS1 & 0xFFFF8FFFU) | ((uint32_t)BSP_CFG_HOCO_FREQUENCY << 12))
 

Detailed Description

Defines MCU registers that are in ROM (e.g. OFS) and must be set at compile-time. All registers can be set using bsp_cfg.h.

Macro Definition Documentation

◆ BSP_ROM_REG_OFS1_SETTING

#define BSP_ROM_REG_OFS1_SETTING   (((uint32_t)BSP_CFG_ROM_REG_OFS1 & 0xFFFF8FFFU) | ((uint32_t)BSP_CFG_HOCO_FREQUENCY << 12))

OR in the HOCO frequency setting from bsp_clock_cfg.h with the OFS1 setting from bsp_cfg.h.