Home
last modified time | relevance | path

Searched refs:SYSCFG (Results 1 – 25 of 33) sorted by relevance

12

/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Inc/
Dstm32l4xx_ll_system.h64 #if defined (FLASH) || defined (SYSCFG) || defined (DBGMCU) || defined (VREFBUF)
422 MODIFY_REG(SYSCFG->MEMRMP, SYSCFG_MEMRMP_MEM_MODE, Memory); in LL_SYSCFG_SetRemapMemory()
439 return (uint32_t)(READ_BIT(SYSCFG->MEMRMP, SYSCFG_MEMRMP_MEM_MODE)); in LL_SYSCFG_GetRemapMemory()
453 MODIFY_REG(SYSCFG->MEMRMP, SYSCFG_MEMRMP_FB_MODE, Bank); in LL_SYSCFG_SetFlashBankMode()
465 return (uint32_t)(READ_BIT(SYSCFG->MEMRMP, SYSCFG_MEMRMP_FB_MODE)); in LL_SYSCFG_GetFlashBankMode()
476 CLEAR_BIT(SYSCFG->CFGR1, SYSCFG_CFGR1_FWDIS); in LL_SYSCFG_EnableFirewall()
486 return !(READ_BIT(SYSCFG->CFGR1, SYSCFG_CFGR1_FWDIS) == SYSCFG_CFGR1_FWDIS); in LL_SYSCFG_IsEnabledFirewall()
505 SET_BIT(SYSCFG->CFGR1, SYSCFG_CFGR1_BOOSTEN); in LL_SYSCFG_EnableAnalogBooster()
524 CLEAR_BIT(SYSCFG->CFGR1, SYSCFG_CFGR1_BOOSTEN); in LL_SYSCFG_DisableAnalogBooster()
546 SET_BIT(SYSCFG->CFGR1, ConfigFastModePlus); in LL_SYSCFG_EnableFastModePlus()
[all …]
Dstm32l4xx_hal.h371 #define __HAL_SYSCFG_REMAPMEMORY_FLASH() CLEAR_BIT(SYSCFG->MEMRMP, SYSCFG_MEMRMP_MEM_MODE)
375 #define __HAL_SYSCFG_REMAPMEMORY_SYSTEMFLASH() MODIFY_REG(SYSCFG->MEMRMP, SYSCFG_MEMRMP_MEM_MODE, S…
379 #define __HAL_SYSCFG_REMAPMEMORY_SRAM() MODIFY_REG(SYSCFG->MEMRMP, SYSCFG_MEMRMP_MEM_MODE, (…
387 #define __HAL_SYSCFG_REMAPMEMORY_FMC() MODIFY_REG(SYSCFG->MEMRMP, SYSCFG_MEMRMP_MEM_MODE, S…
397 #define __HAL_SYSCFG_REMAPMEMORY_OCTOSPI1() MODIFY_REG(SYSCFG->MEMRMP, SYSCFG_MEMRMP_MEM_MODE, (…
398 #define __HAL_SYSCFG_REMAPMEMORY_OCTOSPI2() MODIFY_REG(SYSCFG->MEMRMP, SYSCFG_MEMRMP_MEM_MODE, (…
404 #define __HAL_SYSCFG_REMAPMEMORY_QUADSPI() MODIFY_REG(SYSCFG->MEMRMP, SYSCFG_MEMRMP_MEM_MODE, (…
420 #define __HAL_SYSCFG_GET_BOOT_MODE() READ_BIT(SYSCFG->MEMRMP, SYSCFG_MEMRMP_MEM_MODE)
427 … SET_BIT(SYSCFG->SWPR, (__SRAM2WRP__));\
436 … SET_BIT(SYSCFG->SWPR2, (__SRAM2WRP__));\
[all …]
Dstm32l4xx_hal_firewall.h168 #define __HAL_FIREWALL_IS_ENABLED() HAL_IS_BIT_CLR(SYSCFG->CFGR1, SYSCFG_CFGR1_FWDIS)
/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Inc/
Dstm32l0xx_ll_system.h63 #if defined (FLASH) || defined (SYSCFG) || defined (DBGMCU)
305 MODIFY_REG(SYSCFG->CFGR1, SYSCFG_CFGR1_MEM_MODE, Memory); in LL_SYSCFG_SetRemapMemory()
318 return (uint32_t)(READ_BIT(SYSCFG->CFGR1, SYSCFG_CFGR1_MEM_MODE)); in LL_SYSCFG_GetRemapMemory()
332 MODIFY_REG(SYSCFG->CFGR1, SYSCFG_CFGR1_UFB, Bank); in LL_SYSCFG_SetFlashBankMode()
344 return (uint32_t)(READ_BIT(SYSCFG->CFGR1, SYSCFG_CFGR1_UFB)); in LL_SYSCFG_GetFlashBankMode()
362 return (uint32_t)(READ_BIT(SYSCFG->CFGR1, SYSCFG_CFGR1_BOOT_MODE)); in LL_SYSCFG_GetBootMode()
372 CLEAR_BIT(SYSCFG->CFGR2, SYSCFG_CFGR2_FWDISEN); in LL_SYSCFG_EnableFirewall()
382 return !(READ_BIT(SYSCFG->CFGR2, SYSCFG_CFGR2_FWDISEN) == SYSCFG_CFGR2_FWDISEN); in LL_SYSCFG_IsEnabledFirewall()
406 MODIFY_REG(SYSCFG->CFGR2, SYSCFG_CFGR2_CAPA, IoPinConnect); in LL_SYSCFG_SetVLCDRailConnection()
429 return (uint32_t)(READ_BIT(SYSCFG->CFGR2, SYSCFG_CFGR2_CAPA)); in LL_SYSCFG_GetVLCDRailConnection()
[all …]
Dstm32l0xx_hal.h271 #define __HAL_SYSCFG_REMAPMEMORY_FLASH() CLEAR_BIT(SYSCFG->CFGR1, SYSCFG_CFGR1_MEM_MODE)
275 #define __HAL_SYSCFG_REMAPMEMORY_SYSTEMFLASH() MODIFY_REG(SYSCFG->CFGR1, SYSCFG_CFGR1_MEM_MODE…
280 #define __HAL_SYSCFG_REMAPMEMORY_SRAM() MODIFY_REG(SYSCFG->CFGR1, SYSCFG_CFGR1_MEM_MODE…
307 MODIFY_REG(SYSCFG->CFGR2, SYSCFG_LCD_EXT_CAPA, (uint32_t)(__SYSCFG_VLCD_CAPA__))
318 #define __HAL_SYSCFG_GET_VLCD_CAPA_CONFIG() READ_BIT(SYSCFG->CFGR2, SYSCFG_LCD_EXT_CAPA)
329 #define __HAL_SYSCFG_GET_BOOT_MODE() READ_BIT(SYSCFG->CFGR1, SYSCFG_CFGR1_BOOT_MODE)
337 #define __HAL_SYSCFG_GET_FLAG(__FLAG__) (((SYSCFG->CFGR3) & (__FLAG__)) == (__FLAG__))
347 … SET_BIT(SYSCFG->CFGR2, (__FASTMODEPLUS__)); \
357 … CLEAR_BIT(SYSCFG->CFGR2, (__FASTMODEPLUS__)); \
Dstm32l0xx_hal_firewall.h170 #define __HAL_FIREWALL_IS_ENABLED() HAL_IS_BIT_CLR(SYSCFG->CFGR2, SYSCFG_CFGR2_FWDISEN)
Dstm32l0xx_hal_rcc_ex.h1907 SET_BIT(SYSCFG->CFGR3, SYSCFG_CFGR3_ENREF_HSI48); \
1913 CLEAR_BIT(SYSCFG->CFGR3, SYSCFG_CFGR3_ENREF_HSI48); \
/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Src/
Dstm32l0xx_hal_adc_ex.c275 SET_BIT(SYSCFG->CFGR3, SYSCFG_CFGR3_ENBUF_VREFINT_ADC); in HAL_ADCEx_EnableVREFINT()
281 while(HAL_IS_BIT_CLR(SYSCFG->CFGR3, SYSCFG_CFGR3_VREFINT_RDYF)) in HAL_ADCEx_EnableVREFINT()
300 CLEAR_BIT(SYSCFG->CFGR3, SYSCFG_CFGR3_ENBUF_VREFINT_ADC); in HAL_ADCEx_DisableVREFINT()
316 SET_BIT(SYSCFG->CFGR3, SYSCFG_CFGR3_ENBUF_SENSOR_ADC); in HAL_ADCEx_EnableVREFINTTempSensor()
322 while(HAL_IS_BIT_CLR(SYSCFG->CFGR3, SYSCFG_CFGR3_VREFINT_RDYF)) in HAL_ADCEx_EnableVREFINTTempSensor()
341 CLEAR_BIT(SYSCFG->CFGR3, SYSCFG_CFGR3_ENBUF_SENSOR_ADC); in HAL_ADCEx_DisableVREFINTTempSensor()
Dstm32l0xx_hal.c498 return (SYSCFG->CFGR1 & SYSCFG_CFGR1_BOOT_MODE); in HAL_SYSCFG_GetBootMode()
519 SYSCFG->CFGR3 &= ~(SYSCFG_CFGR3_VREF_OUT); in HAL_SYSCFG_VREFINT_OutputSelect()
520 SYSCFG->CFGR3 |= (uint32_t)(SYSCFG_Vrefint_OUTPUT); in HAL_SYSCFG_VREFINT_OutputSelect()
530 SET_BIT(SYSCFG->CFGR3, SYSCFG_CFGR3_REF_LOCK); in HAL_SYSCFG_Enable_Lock_VREFINT()
540 CLEAR_BIT(SYSCFG->CFGR3, SYSCFG_CFGR3_REF_LOCK); in HAL_SYSCFG_Disable_Lock_VREFINT()
Dstm32l0xx_hal_comp_ex.c109 SYSCFG->CFGR3 |= (SYSCFG_CFGR3_ENBUFLP_VREFINT_COMP); in HAL_COMPEx_EnableVREFINT()
129 SYSCFG->CFGR3 &= (uint32_t)~((uint32_t)(SYSCFG_CFGR3_ENBUFLP_VREFINT_COMP)); in HAL_COMPEx_DisableVREFINT()
Dstm32l0xx_hal_gpio.c253 temp = SYSCFG->EXTICR[position >> 2U]; in HAL_GPIO_Init()
256 SYSCFG->EXTICR[position >> 2U] = temp; in HAL_GPIO_Init()
342 tmp = SYSCFG->EXTICR[position >> 2U]; in HAL_GPIO_DeInit()
347 SYSCFG->EXTICR[position >> 2U] &= ~tmp; in HAL_GPIO_DeInit()
Dstm32l0xx_hal_i2c_ex.c304 SET_BIT(SYSCFG->CFGR2, (uint32_t)ConfigFastModePlus); in HAL_I2CEx_EnableFastModePlus()
331 CLEAR_BIT(SYSCFG->CFGR2, (uint32_t)ConfigFastModePlus); in HAL_I2CEx_DisableFastModePlus()
Dstm32l0xx_hal_comp.c293 …comp_voltage_scaler_not_initialized = (READ_BIT(SYSCFG->CFGR3, SYSCFG_CFGR3_ENBUFLP_VREFINT_COMP) … in HAL_COMP_Init()
295 SET_BIT(SYSCFG->CFGR3, SYSCFG_CFGR3_ENBUFLP_VREFINT_COMP ); in HAL_COMP_Init()
Dstm32l0xx_hal_firewall.c231 CLEAR_BIT(SYSCFG->CFGR2, SYSCFG_CFGR2_FWDISEN); in HAL_FIREWALL_EnableFirewall()
Dstm32l0xx_hal_rcc_ex.c771 SET_BIT (SYSCFG->CFGR3, SYSCFG_CFGR3_ENREF_HSI48); in HAL_RCCEx_EnableHSI48_VREFINT()
782 CLEAR_BIT(SYSCFG->CFGR3, SYSCFG_CFGR3_ENREF_HSI48); in HAL_RCCEx_DisableHSI48_VREFINT()
/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Inc/
Dstm32l1xx_ll_system.h64 #if defined (FLASH) || defined (SYSCFG) || defined (DBGMCU) || defined(RI)
452 MODIFY_REG(SYSCFG->MEMRMP, SYSCFG_MEMRMP_MEM_MODE, Memory); in LL_SYSCFG_SetRemapMemory()
468 return (uint32_t)(READ_BIT(SYSCFG->MEMRMP, SYSCFG_MEMRMP_MEM_MODE)); in LL_SYSCFG_GetRemapMemory()
484 return (uint32_t)(READ_BIT(SYSCFG->MEMRMP, SYSCFG_MEMRMP_BOOT_MODE)); in LL_SYSCFG_GetBootMode()
494 SET_BIT(SYSCFG->PMC, SYSCFG_PMC_USB_PU); in LL_SYSCFG_EnableUSBPullUp()
504 CLEAR_BIT(SYSCFG->PMC, SYSCFG_PMC_USB_PU); in LL_SYSCFG_DisableUSBPullUp()
521 SET_BIT(SYSCFG->PMC, Pin); in LL_SYSCFG_EnableLCDCapacitanceConnection()
537 CLEAR_BIT(SYSCFG->PMC, Pin); in LL_SYSCFG_DisableLCDCapacitanceConnection()
639 MODIFY_REG(SYSCFG->EXTICR[Line & 0xFF], (Line >> 16), Port << POSITION_VAL((Line >> 16))); in LL_SYSCFG_SetEXTISource()
739 …return (uint32_t)(READ_BIT(SYSCFG->EXTICR[Line & 0xFF], (Line >> 16)) >> POSITION_VAL(Line >> 16)); in LL_SYSCFG_GetEXTISource()
Dstm32l1xx_hal.h528 #define __HAL_SYSCFG_REMAPMEMORY_FLASH() CLEAR_BIT(SYSCFG->MEMRMP, SYSCFG_MEMRMP_MEM_MO…
532 #define __HAL_SYSCFG_REMAPMEMORY_SYSTEMFLASH() MODIFY_REG(SYSCFG->MEMRMP, SYSCFG_MEMRMP_MEM_M…
536 #define __HAL_SYSCFG_REMAPMEMORY_SRAM() MODIFY_REG(SYSCFG->MEMRMP, SYSCFG_MEMRMP_MEM_M…
541 #define __HAL_SYSCFG_REMAPMEMORY_FSMC() MODIFY_REG(SYSCFG->MEMRMP, SYSCFG_MEMRMP_MEM_M…
554 #define __HAL_SYSCFG_GET_BOOT_MODE() READ_BIT(SYSCFG->MEMRMP, SYSCFG_MEMRMP_BOOT_MODE)
567 #define __HAL_SYSCFG_USBPULLUP_ENABLE() SET_BIT(SYSCFG->PMC, SYSCFG_PMC_USB_PU)
569 #define __HAL_SYSCFG_USBPULLUP_DISABLE() CLEAR_BIT(SYSCFG->PMC, SYSCFG_PMC_USB_PU)
/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Src/
Dstm32l4xx_hal.c559 SYSCFG->SKR = 0xCA; in HAL_SYSCFG_SRAM2Erase()
560 SYSCFG->SKR = 0x53; in HAL_SYSCFG_SRAM2Erase()
686 SET_BIT(SYSCFG->CFGR1, SYSCFG_CFGR1_BOOSTEN); in HAL_SYSCFG_EnableIOAnalogSwitchBooster()
696 CLEAR_BIT(SYSCFG->CFGR1, SYSCFG_CFGR1_BOOSTEN); in HAL_SYSCFG_DisableIOAnalogSwitchBooster()
Dstm32l4xx_hal_exti.c231 regval = SYSCFG->EXTICR[linepos >> 2u]; in HAL_EXTI_SetConfigLine()
234 SYSCFG->EXTICR[linepos >> 2u] = regval; in HAL_EXTI_SetConfigLine()
365 regval = SYSCFG->EXTICR[linepos >> 2u]; in HAL_EXTI_GetConfigLine()
436 regval = SYSCFG->EXTICR[linepos >> 2u]; in HAL_EXTI_ClearConfigLine()
438 SYSCFG->EXTICR[linepos >> 2u] = regval; in HAL_EXTI_ClearConfigLine()
Dstm32l4xx_hal_gpio.c275 temp = SYSCFG->EXTICR[position >> 2u]; in HAL_GPIO_Init()
278 SYSCFG->EXTICR[position >> 2u] = temp; in HAL_GPIO_Init()
369 tmp = SYSCFG->EXTICR[position >> 2u]; in HAL_GPIO_DeInit()
374 SYSCFG->EXTICR[position >> 2u] &= ~tmp; in HAL_GPIO_DeInit()
Dstm32l4xx_hal_i2c_ex.c306 SET_BIT(SYSCFG->CFGR1, (uint32_t)ConfigFastModePlus); in HAL_I2CEx_EnableFastModePlus()
335 CLEAR_BIT(SYSCFG->CFGR1, (uint32_t)ConfigFastModePlus); in HAL_I2CEx_DisableFastModePlus()
Dstm32l4xx_hal_firewall.c240 CLEAR_BIT(SYSCFG->CFGR1, SYSCFG_CFGR1_FWDIS); in HAL_FIREWALL_EnableFirewall()
Dstm32l4xx_hal_flash_ex.c1042 if (READ_BIT(SYSCFG->MEMRMP, SYSCFG_MEMRMP_FB_MODE) == 0U) in FLASH_OB_PCROPConfig()
1248 if (READ_BIT(SYSCFG->MEMRMP, SYSCFG_MEMRMP_FB_MODE) == 0U) in FLASH_OB_GetPCROP()
/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Src/
Dstm32l1xx_hal_gpio.c268 temp = SYSCFG->EXTICR[position >> 2]; in HAL_GPIO_Init()
271 SYSCFG->EXTICR[position >> 2] = temp; in HAL_GPIO_Init()
357 tmp = SYSCFG->EXTICR[position >> 2]; in HAL_GPIO_DeInit()
362 CLEAR_BIT(SYSCFG->EXTICR[position >> 2], tmp); in HAL_GPIO_DeInit()
/loramac-node-2.7.6/src/boards/mcu/stm32/EEPROM_Emul/Porting/STM32L4/
Dflash_interface.c138 if (READ_BIT(SYSCFG->MEMRMP, SYSCFG_MEMRMP_FB_MODE) == 0U) in GetBankNumber()

12