Home
last modified time | relevance | path

Searched refs:UserType (Results 1 – 15 of 15) sorted by relevance

/hal_stm32-latest/stm32cube/stm32u5xx/drivers/src/
Dstm32u5xx_hal_flash_ex.c128 static void FLASH_OB_UserConfig(uint32_t UserType, uint32_t UserConfig);
1095 static void FLASH_OB_UserConfig(uint32_t UserType, uint32_t UserConfig) in FLASH_OB_UserConfig() argument
1101 assert_param(IS_OB_USER_TYPE(UserType)); in FLASH_OB_UserConfig()
1103 if ((UserType & OB_USER_BOR_LEV) != 0U) in FLASH_OB_UserConfig()
1113 if ((UserType & OB_USER_NRST_STOP) != 0U) in FLASH_OB_UserConfig()
1123 if ((UserType & OB_USER_NRST_STDBY) != 0U) in FLASH_OB_UserConfig()
1133 if ((UserType & OB_USER_NRST_SHDW) != 0U) in FLASH_OB_UserConfig()
1143 if ((UserType & OB_USER_SRAM_RST) != 0U) in FLASH_OB_UserConfig()
1153 if ((UserType & OB_USER_IWDG_SW) != 0U) in FLASH_OB_UserConfig()
1163 if ((UserType & OB_USER_IWDG_STOP) != 0U) in FLASH_OB_UserConfig()
[all …]
/hal_stm32-latest/stm32cube/stm32h5xx/drivers/src/
Dstm32h5xx_hal_flash_ex.c117 static void FLASH_OB_UserConfig(uint32_t UserType, uint32_t UserConfig1, uint32_t UserConfig2);
1201 static void FLASH_OB_UserConfig(uint32_t UserType, uint32_t UserConfig1, uint32_t UserConfig2) in FLASH_OB_UserConfig() argument
1209 assert_param(IS_OB_USER_TYPE(UserType)); in FLASH_OB_UserConfig()
1211 if ((UserType & OB_USER_BOR_LEV) != 0U) in FLASH_OB_UserConfig()
1221 if ((UserType & OB_USER_BORH_EN) != 0U) in FLASH_OB_UserConfig()
1231 if ((UserType & OB_USER_IWDG_SW) != 0U) in FLASH_OB_UserConfig()
1241 if ((UserType & OB_USER_WWDG_SW) != 0U) in FLASH_OB_UserConfig()
1251 if ((UserType & OB_USER_NRST_STOP) != 0U) in FLASH_OB_UserConfig()
1261 if ((UserType & OB_USER_NRST_STDBY) != 0U) in FLASH_OB_UserConfig()
1271 if ((UserType & OB_USER_IO_VDD_HSLV) != 0U) in FLASH_OB_UserConfig()
[all …]
/hal_stm32-latest/stm32cube/stm32l5xx/drivers/src/
Dstm32l5xx_hal_flash_ex.c119 static void FLASH_OB_UserConfig(uint32_t UserType, uint32_t UserConfig);
956 static void FLASH_OB_UserConfig(uint32_t UserType, uint32_t UserConfig) in FLASH_OB_UserConfig() argument
962 assert_param(IS_OB_USER_TYPE(UserType)); in FLASH_OB_UserConfig()
964 if((UserType & OB_USER_BOR_LEV) != 0U) in FLASH_OB_UserConfig()
974 if((UserType & OB_USER_nRST_STOP) != 0U) in FLASH_OB_UserConfig()
984 if((UserType & OB_USER_nRST_STDBY) != 0U) in FLASH_OB_UserConfig()
994 if((UserType & OB_USER_nRST_SHDW) != 0U) in FLASH_OB_UserConfig()
1004 if((UserType & OB_USER_IWDG_SW) != 0U) in FLASH_OB_UserConfig()
1014 if((UserType & OB_USER_IWDG_STOP) != 0U) in FLASH_OB_UserConfig()
1024 if((UserType & OB_USER_IWDG_STDBY) != 0U) in FLASH_OB_UserConfig()
[all …]
/hal_stm32-latest/stm32cube/stm32g4xx/drivers/src/
Dstm32g4xx_hal_flash_ex.c95 static HAL_StatusTypeDef FLASH_OB_UserConfig(uint32_t UserType, uint32_t UserConfig);
786 static HAL_StatusTypeDef FLASH_OB_UserConfig(uint32_t UserType, uint32_t UserConfig) in FLASH_OB_UserConfig() argument
793 assert_param(IS_OB_USER_TYPE(UserType)); in FLASH_OB_UserConfig()
801 if ((UserType & OB_USER_PB4_PUPEN) != 0U) in FLASH_OB_UserConfig()
812 if ((UserType & OB_USER_BOR_LEV) != 0U) in FLASH_OB_UserConfig()
822 if ((UserType & OB_USER_nRST_STOP) != 0U) in FLASH_OB_UserConfig()
832 if ((UserType & OB_USER_nRST_STDBY) != 0U) in FLASH_OB_UserConfig()
842 if ((UserType & OB_USER_nRST_SHDW) != 0U) in FLASH_OB_UserConfig()
852 if ((UserType & OB_USER_IWDG_SW) != 0U) in FLASH_OB_UserConfig()
862 if ((UserType & OB_USER_IWDG_STOP) != 0U) in FLASH_OB_UserConfig()
[all …]
/hal_stm32-latest/stm32cube/stm32h7rsxx/drivers/src/
Dstm32h7rsxx_hal_flash_ex.c117 static void FLASH_OB_UserConfig(uint32_t UserType, uint32_t UserConfig1, uint32_t User…
952 static void FLASH_OB_UserConfig(uint32_t UserType, uint32_t UserConfig1, uint32_t UserConfig2) in FLASH_OB_UserConfig() argument
958 assert_param(IS_OB_USER_TYPE(UserType)); in FLASH_OB_UserConfig()
960 if ((UserType & OB_USER_BOR_LEV) != 0U) in FLASH_OB_UserConfig()
970 if ((UserType & OB_USER_IWDG_SW) != 0U) in FLASH_OB_UserConfig()
980 if ((UserType & OB_USER_NRST_STOP) != 0U) in FLASH_OB_UserConfig()
990 if ((UserType & OB_USER_NRST_STDBY) != 0U) in FLASH_OB_UserConfig()
1000 if ((UserType & OB_USER_XSPI1_HSLV) != 0U) in FLASH_OB_UserConfig()
1010 if ((UserType & OB_USER_XSPI2_HSLV) != 0U) in FLASH_OB_UserConfig()
1020 if ((UserType & OB_USER_IWDG_STOP) != 0U) in FLASH_OB_UserConfig()
[all …]
/hal_stm32-latest/stm32cube/stm32l4xx/drivers/src/
Dstm32l4xx_hal_flash_ex.c85 static HAL_StatusTypeDef FLASH_OB_UserConfig(uint32_t UserType, uint32_t UserConfig);
771 static HAL_StatusTypeDef FLASH_OB_UserConfig(uint32_t UserType, uint32_t UserConfig) in FLASH_OB_UserConfig() argument
778 assert_param(IS_OB_USER_TYPE(UserType)); in FLASH_OB_UserConfig()
785 if((UserType & OB_USER_BOR_LEV) != 0U) in FLASH_OB_UserConfig()
795 if((UserType & OB_USER_nRST_STOP) != 0U) in FLASH_OB_UserConfig()
805 if((UserType & OB_USER_nRST_STDBY) != 0U) in FLASH_OB_UserConfig()
815 if((UserType & OB_USER_nRST_SHDW) != 0U) in FLASH_OB_UserConfig()
825 if((UserType & OB_USER_IWDG_SW) != 0U) in FLASH_OB_UserConfig()
835 if((UserType & OB_USER_IWDG_STOP) != 0U) in FLASH_OB_UserConfig()
845 if((UserType & OB_USER_IWDG_STDBY) != 0U) in FLASH_OB_UserConfig()
[all …]
/hal_stm32-latest/stm32cube/stm32wbaxx/drivers/src/
Dstm32wbaxx_hal_flash_ex.c126 static void FLASH_OB_UserConfig(uint32_t UserType, uint32_t UserConfig);
1164 static void FLASH_OB_UserConfig(uint32_t UserType, uint32_t UserConfig) in FLASH_OB_UserConfig() argument
1170 assert_param(IS_OB_USER_TYPE(UserType)); in FLASH_OB_UserConfig()
1172 if ((UserType & OB_USER_BOR_LEV) != 0U) in FLASH_OB_UserConfig()
1182 if ((UserType & OB_USER_nRST_STOP) != 0U) in FLASH_OB_UserConfig()
1192 if ((UserType & OB_USER_nRST_STDBY) != 0U) in FLASH_OB_UserConfig()
1202 if ((UserType & OB_USER_SRAM1_RST) != 0U) in FLASH_OB_UserConfig()
1212 if ((UserType & OB_USER_IWDG_SW) != 0U) in FLASH_OB_UserConfig()
1222 if ((UserType & OB_USER_IWDG_STOP) != 0U) in FLASH_OB_UserConfig()
1232 if ((UserType & OB_USER_IWDG_STDBY) != 0U) in FLASH_OB_UserConfig()
[all …]
/hal_stm32-latest/stm32cube/stm32h7xx/drivers/src/
Dstm32h7xx_hal_flash_ex.c124 static void FLASH_OB_UserConfig(uint32_t UserType, uint32_t UserConfig);
1430 static void FLASH_OB_UserConfig(uint32_t UserType, uint32_t UserConfig) in FLASH_OB_UserConfig() argument
1436 assert_param(IS_OB_USER_TYPE(UserType)); in FLASH_OB_UserConfig()
1438 if((UserType & OB_USER_IWDG1_SW) != 0U) in FLASH_OB_UserConfig()
1448 if((UserType & OB_USER_IWDG2_SW) != 0U) in FLASH_OB_UserConfig()
1458 if((UserType & OB_USER_NRST_STOP_D1) != 0U) in FLASH_OB_UserConfig()
1468 if((UserType & OB_USER_NRST_STDBY_D1) != 0U) in FLASH_OB_UserConfig()
1478 if((UserType & OB_USER_IWDG_STOP) != 0U) in FLASH_OB_UserConfig()
1488 if((UserType & OB_USER_IWDG_STDBY) != 0U) in FLASH_OB_UserConfig()
1498 if((UserType & OB_USER_ST_RAM_SIZE) != 0U) in FLASH_OB_UserConfig()
[all …]
/hal_stm32-latest/stm32cube/stm32wbxx/drivers/src/
Dstm32wbxx_hal_flash_ex.c103 static void FLASH_OB_OptrConfig(uint32_t UserType, uint32_t UserConfig, uint32_t RDPLe…
295 FLASH_OB_OptrConfig(pOBInit->UserType, pOBInit->UserConfig, pOBInit->RDPLevel); in HAL_FLASHEx_OBProgram()
311 FLASH_OB_OptrConfig(pOBInit->UserType, pOBInit->UserConfig, optr); in HAL_FLASHEx_OBProgram()
387 pOBInit->UserType = OB_USER_ALL; in HAL_FLASHEx_OBGetConfig()
633 static void FLASH_OB_OptrConfig(uint32_t UserType, uint32_t UserConfig, uint32_t RDPLevel) in FLASH_OB_OptrConfig() argument
638 assert_param(IS_OB_USER_TYPE(UserType)); in FLASH_OB_OptrConfig()
639 assert_param(IS_OB_USER_CONFIG(UserType, UserConfig)); in FLASH_OB_OptrConfig()
644 optr &= ~(UserType | FLASH_OPTR_RDP); in FLASH_OB_OptrConfig()
/hal_stm32-latest/stm32cube/stm32wlxx/drivers/src/
Dstm32wlxx_hal_flash_ex.c117 static void FLASH_OB_OptrConfig(uint32_t UserType, uint32_t UserConfig, uint32_t RDPLe…
334 FLASH_OB_OptrConfig(pOBInit->UserType, pOBInit->UserConfig, pOBInit->RDPLevel); in HAL_FLASHEx_OBProgram()
350 FLASH_OB_OptrConfig(pOBInit->UserType, pOBInit->UserConfig, optr); in HAL_FLASHEx_OBProgram()
428 pOBInit->UserType = OB_USER_ALL; in HAL_FLASHEx_OBGetConfig()
820 static void FLASH_OB_OptrConfig(uint32_t UserType, uint32_t UserConfig, uint32_t RDPLevel) in FLASH_OB_OptrConfig() argument
825 assert_param(IS_OB_USER_TYPE(UserType)); in FLASH_OB_OptrConfig()
826 assert_param(IS_OB_USER_CONFIG(UserType, UserConfig)); in FLASH_OB_OptrConfig()
831 optr &= ~(UserType | FLASH_OPTR_RDP); in FLASH_OB_OptrConfig()
/hal_stm32-latest/stm32cube/stm32u0xx/drivers/src/
Dstm32u0xx_hal_flash_ex.c98 static void FLASH_OB_OptrConfig(uint32_t UserType, uint32_t UserConfig, uint32_t RDPL…
597 static void FLASH_OB_OptrConfig(uint32_t UserType, uint32_t UserConfig, uint32_t RDPLevel) in FLASH_OB_OptrConfig() argument
602 assert_param(IS_OB_USER_TYPE(UserType)); in FLASH_OB_OptrConfig()
603 assert_param(IS_OB_USER_CONFIG(UserType, UserConfig)); in FLASH_OB_OptrConfig()
608 optr &= ~(UserType | FLASH_OPTR_RDP); in FLASH_OB_OptrConfig()
/hal_stm32-latest/stm32cube/stm32c0xx/drivers/src/
Dstm32c0xx_hal_flash_ex.c97 static void FLASH_OB_OptrConfig(uint32_t UserType, uint32_t UserConfig, uint32_t RDPLeve…
594 static void FLASH_OB_OptrConfig(uint32_t UserType, uint32_t UserConfig, uint32_t RDPLevel) in FLASH_OB_OptrConfig() argument
599 assert_param(IS_OB_USER_TYPE(UserType)); in FLASH_OB_OptrConfig()
600 assert_param(IS_OB_USER_CONFIG(UserType, UserConfig)); in FLASH_OB_OptrConfig()
605 optr &= ~(UserType | FLASH_OPTR_RDP); in FLASH_OB_OptrConfig()
/hal_stm32-latest/stm32cube/stm32g0xx/drivers/src/
Dstm32g0xx_hal_flash_ex.c96 static void FLASH_OB_OptrConfig(uint32_t UserType, uint32_t UserConfig, uint32_t RDPL…
764 static void FLASH_OB_OptrConfig(uint32_t UserType, uint32_t UserConfig, uint32_t RDPLevel) in FLASH_OB_OptrConfig() argument
769 assert_param(IS_OB_USER_TYPE(UserType)); in FLASH_OB_OptrConfig()
770 assert_param(IS_OB_USER_CONFIG(UserType, UserConfig)); in FLASH_OB_OptrConfig()
775 optr &= ~(UserType | FLASH_OPTR_RDP); in FLASH_OB_OptrConfig()
/hal_stm32-latest/stm32cube/stm32wlxx/drivers/include/
Dstm32wlxx_hal_flash.h72 …uint32_t UserType; /*!< User option byte(s) to be configured (used for OPTIONBYTE_US… member
/hal_stm32-latest/stm32cube/stm32wbxx/drivers/include/
Dstm32wbxx_hal_flash.h72 …uint32_t UserType; /*!< User option byte(s) to be configured (used for OPTIONBYTE_US… member