Home
last modified time | relevance | path

Searched refs:regConfig (Results 1 – 2 of 2) sorted by relevance

/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/wdog32/
Dfsl_wdog32.c89 register const wdog32_config_t *regConfig = config; in WDOG32_Init() local
90 uint32_t tempPrescaler = (uint32_t)regConfig->prescaler; in WDOG32_Init()
92 …value = WDOG_CS_EN((uint32_t)regConfig->enableWdog32) | WDOG_CS_CLK((uint32_t)regConfig->clockSour… in WDOG32_Init()
93 …WDOG_CS_INT((uint32_t)regConfig->enableInterrupt) | WDOG_CS_WIN((uint32_t)regConfig->enableWindowM… in WDOG32_Init()
94 …WDOG_CS_UPDATE((uint32_t)regConfig->enableUpdate) | WDOG_CS_DBG((uint32_t)regConfig->workMode.enab… in WDOG32_Init()
95 WDOG_CS_STOP((uint32_t)regConfig->workMode.enableStop) | in WDOG32_Init()
96 WDOG_CS_WAIT((uint32_t)regConfig->workMode.enableWait) | WDOG_CS_PRES(tempPrescaler) | in WDOG32_Init()
97 WDOG_CS_CMD32EN(1UL) | WDOG_CS_TST((uint32_t)regConfig->testMode); in WDOG32_Init()
103 regBase->WIN = regConfig->windowValue; in WDOG32_Init()
104 regBase->TOVAL = regConfig->timeoutValue; in WDOG32_Init()
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/lcdif/
Dfsl_lcdif.c364 uint32_t regConfig = 0U; in LCDIF_SetCursorConfig() local
368 regConfig |= (uint32_t)(config->format) << LCDIF_CURSORCONFIG_FORMAT_SHIFT; in LCDIF_SetCursorConfig()
369 regConfig |= (((uint32_t)config->hotspotOffsetX << LCDIF_CURSORCONFIG_HOT_SPOT_X_SHIFT) | in LCDIF_SetCursorConfig()
373 base->CURSORCONFIG = regConfig; in LCDIF_SetCursorConfig()