Home
last modified time | relevance | path

Searched refs:Item (Results 1 – 25 of 32) sorted by relevance

12

/hal_stm32-latest/stm32cube/stm32n6xx/drivers/src/
Dstm32n6xx_hal_pwr.c902 void HAL_PWR_ConfigAttributes(uint32_t Item, uint32_t Attributes) in HAL_PWR_ConfigAttributes() argument
905 assert_param(IS_PWR_ITEMS_ATTRIBUTES(Item)); in HAL_PWR_ConfigAttributes()
915 SET_BIT(PWR_S->SECCFGR, Item); in HAL_PWR_ConfigAttributes()
916 SET_BIT(PWR->PRIVCFGR, Item); in HAL_PWR_ConfigAttributes()
920 SET_BIT(PWR_S->SECCFGR, Item); in HAL_PWR_ConfigAttributes()
921 CLEAR_BIT(PWR->PRIVCFGR, Item); in HAL_PWR_ConfigAttributes()
930 CLEAR_BIT(PWR_S->SECCFGR, Item); in HAL_PWR_ConfigAttributes()
931 SET_BIT(PWR->PRIVCFGR, Item); in HAL_PWR_ConfigAttributes()
935 CLEAR_BIT(PWR_S->SECCFGR, Item); in HAL_PWR_ConfigAttributes()
936 CLEAR_BIT(PWR->PRIVCFGR, Item); in HAL_PWR_ConfigAttributes()
[all …]
Dstm32n6xx_hal_rcc.c134 static void RCC_ATTR_ConfigItemGroup(uint32_t ItemGroup, uint32_t Item, uint32_t Attributes);
1902 void HAL_RCC_ConfigAttributes(uint32_t Item, uint32_t Attributes) in HAL_RCC_ConfigAttributes() argument
1906 assert_param(IS_RCC_ITEM_ATTRIBUTES(Item)); in HAL_RCC_ConfigAttributes()
1910 if ((Item & RCC_ITEM_GROUP_OSC) == RCC_ITEM_GROUP_OSC) in HAL_RCC_ConfigAttributes()
1912 RCC_ATTR_ConfigItemGroup(RCC_ITEM_GROUP_IDX_OSC, Item & RCC_ITEM_GROUP_OSC_MASK, Attributes); in HAL_RCC_ConfigAttributes()
1916 if ((Item & RCC_ITEM_GROUP_PLL) == RCC_ITEM_GROUP_PLL) in HAL_RCC_ConfigAttributes()
1918 RCC_ATTR_ConfigItemGroup(RCC_ITEM_GROUP_IDX_PLL, Item & RCC_ITEM_GROUP_PLL_MASK, Attributes); in HAL_RCC_ConfigAttributes()
1922 if ((Item & RCC_ITEM_GROUP_IC) == RCC_ITEM_GROUP_IC) in HAL_RCC_ConfigAttributes()
1924 RCC_ATTR_ConfigItemGroup(RCC_ITEM_GROUP_IDX_IC, Item & RCC_ITEM_GROUP_IC_MASK, Attributes); in HAL_RCC_ConfigAttributes()
1928 if ((Item & RCC_ITEM_GROUP_SYSCFG) == RCC_ITEM_GROUP_SYSCFG) in HAL_RCC_ConfigAttributes()
[all …]
Dstm32n6xx_hal.c678 void HAL_SYSCFG_Lock(uint32_t Item) in HAL_SYSCFG_Lock() argument
681 assert_param(IS_SYSCFG_LOCK_ITEMS(Item)); in HAL_SYSCFG_Lock()
683 MODIFY_REG(SYSCFG->CM55CR, SYSCFG_LOCK_ALL, Item); in HAL_SYSCFG_Lock()
768 void HAL_SYSCFG_LockWriteAccess(uint32_t Item) in HAL_SYSCFG_LockWriteAccess() argument
771 assert_param(IS_SYSCFG_LOCK_WRACCESS(Item)); in HAL_SYSCFG_LockWriteAccess()
773 MODIFY_REG(SYSCFG->CM55TCMCR, SYSCFG_LOCK_WR_ALL, Item); in HAL_SYSCFG_LockWriteAccess()
/hal_stm32-latest/stm32cube/stm32u5xx/drivers/src/
Dstm32u5xx_hal_pwr.c851 void HAL_PWR_ConfigAttributes(uint32_t Item, uint32_t Attributes) in HAL_PWR_ConfigAttributes() argument
854 assert_param(IS_PWR_ITEMS_ATTRIBUTES(Item)); in HAL_PWR_ConfigAttributes()
864 SET_BIT(PWR->SECCFGR, Item); in HAL_PWR_ConfigAttributes()
869 SET_BIT(PWR->SECCFGR, Item); in HAL_PWR_ConfigAttributes()
879 CLEAR_BIT(PWR->SECCFGR, Item); in HAL_PWR_ConfigAttributes()
884 CLEAR_BIT(PWR->SECCFGR, Item); in HAL_PWR_ConfigAttributes()
890 UNUSED(Item); in HAL_PWR_ConfigAttributes()
916 HAL_StatusTypeDef HAL_PWR_GetConfigAttributes(uint32_t Item, uint32_t *pAttributes) in HAL_PWR_GetConfigAttributes() argument
927 assert_param(IS_PWR_ITEMS_ATTRIBUTES(Item)); in HAL_PWR_GetConfigAttributes()
931 if ((PWR->SECCFGR & Item) == Item) in HAL_PWR_GetConfigAttributes()
[all …]
Dstm32u5xx_hal.c853 void HAL_SYSCFG_Lock(uint32_t Item) in HAL_SYSCFG_Lock() argument
856 assert_param(IS_SYSCFG_LOCK_ITEMS(Item)); in HAL_SYSCFG_Lock()
859 SYSCFG->CNSLCKR = (0xFFFFU & Item); /* non-secure lock item in 16 lowest bits */ in HAL_SYSCFG_Lock()
863 SYSCFG->CSLCKR = ((0xFFFF0000U & Item) >> 16U); /* Secure-only lock item in 16 highest bits */ in HAL_SYSCFG_Lock()
924 void HAL_SYSCFG_ConfigAttributes(uint32_t Item, uint32_t Attributes) in HAL_SYSCFG_ConfigAttributes() argument
929 assert_param(IS_SYSCFG_ITEMS_ATTRIBUTES(Item)); in HAL_SYSCFG_ConfigAttributes()
937 tmp |= Item; in HAL_SYSCFG_ConfigAttributes()
941 tmp &= ~Item; in HAL_SYSCFG_ConfigAttributes()
956 HAL_StatusTypeDef HAL_SYSCFG_GetConfigAttributes(uint32_t Item, uint32_t *pAttributes) in HAL_SYSCFG_GetConfigAttributes() argument
965 assert_param(IS_SYSCFG_ITEMS_ATTRIBUTES(Item)); in HAL_SYSCFG_GetConfigAttributes()
[all …]
Dstm32u5xx_hal_rcc.c2083 void HAL_RCC_ConfigAttributes(uint32_t Item, uint32_t Attributes) in HAL_RCC_ConfigAttributes() argument
2086 assert_param(IS_RCC_ITEM_ATTRIBUTES(Item)); in HAL_RCC_ConfigAttributes()
2094 SET_BIT(RCC->SECCFGR, Item); in HAL_RCC_ConfigAttributes()
2099 SET_BIT(RCC->SECCFGR, Item); in HAL_RCC_ConfigAttributes()
2104 CLEAR_BIT(RCC->SECCFGR, Item); in HAL_RCC_ConfigAttributes()
2109 CLEAR_BIT(RCC->SECCFGR, Item); in HAL_RCC_ConfigAttributes()
2117 UNUSED(Item); in HAL_RCC_ConfigAttributes()
2123 UNUSED(Item); in HAL_RCC_ConfigAttributes()
2144 HAL_StatusTypeDef HAL_RCC_GetConfigAttributes(uint32_t Item, uint32_t *pAttributes) in HAL_RCC_GetConfigAttributes() argument
2155 assert_param(IS_RCC_ITEM_ATTRIBUTES(Item)); in HAL_RCC_GetConfigAttributes()
[all …]
/hal_stm32-latest/stm32cube/stm32h5xx/drivers/src/
Dstm32h5xx_hal_pwr.c534 void HAL_PWR_ConfigAttributes(uint32_t Item, uint32_t Attributes) in HAL_PWR_ConfigAttributes() argument
540 assert_param(IS_PWR_ITEMS_ATTRIBUTES(Item)); in HAL_PWR_ConfigAttributes()
549 SET_BIT(PWR->SECCFGR, Item); in HAL_PWR_ConfigAttributes()
554 SET_BIT(PWR->SECCFGR, Item); in HAL_PWR_ConfigAttributes()
564 CLEAR_BIT(PWR->SECCFGR, Item); in HAL_PWR_ConfigAttributes()
569 CLEAR_BIT(PWR->SECCFGR, Item); in HAL_PWR_ConfigAttributes()
591 UNUSED(Item); in HAL_PWR_ConfigAttributes()
617 HAL_StatusTypeDef HAL_PWR_GetConfigAttributes(uint32_t Item, uint32_t *pAttributes) in HAL_PWR_GetConfigAttributes() argument
628 assert_param(IS_PWR_ITEMS_ATTRIBUTES(Item)); in HAL_PWR_GetConfigAttributes()
631 if ((PWR->SECCFGR & Item) == Item) in HAL_PWR_GetConfigAttributes()
[all …]
Dstm32h5xx_hal.c1183 void HAL_SBS_Lock(uint32_t Item) in HAL_SBS_Lock() argument
1186 assert_param(IS_SBS_LOCK_ITEMS(Item)); in HAL_SBS_Lock()
1189 SBS->CNSLCKR = (0xFFFFU & Item); /* non-secure lock item in 16 lowest bits */ in HAL_SBS_Lock()
1193 SBS->CSLCKR = ((0xFFFF0000U & Item) >> 16U); /* Secure-only lock item in 16 highest bits */ in HAL_SBS_Lock()
1255 void HAL_SBS_ConfigAttributes(uint32_t Item, uint32_t Attributes) in HAL_SBS_ConfigAttributes() argument
1260 assert_param(IS_SBS_ITEMS_ATTRIBUTES(Item)); in HAL_SBS_ConfigAttributes()
1268 tmp |= Item; in HAL_SBS_ConfigAttributes()
1272 tmp &= ~Item; in HAL_SBS_ConfigAttributes()
1288 HAL_StatusTypeDef HAL_SBS_GetConfigAttributes(uint32_t Item, uint32_t *pAttributes) in HAL_SBS_GetConfigAttributes() argument
1297 assert_param(IS_SBS_ITEMS_ATTRIBUTES(Item)); in HAL_SBS_GetConfigAttributes()
[all …]
Dstm32h5xx_hal_rcc.c1761 void HAL_RCC_ConfigAttributes(uint32_t Item, uint32_t Attributes) in HAL_RCC_ConfigAttributes() argument
1768 assert_param(IS_RCC_ITEM_ATTRIBUTES(Item)); in HAL_RCC_ConfigAttributes()
1775 SET_BIT(RCC->SECCFGR, Item); in HAL_RCC_ConfigAttributes()
1780 SET_BIT(RCC->SECCFGR, Item); in HAL_RCC_ConfigAttributes()
1785 CLEAR_BIT(RCC->SECCFGR, Item); in HAL_RCC_ConfigAttributes()
1790 CLEAR_BIT(RCC->SECCFGR, Item); in HAL_RCC_ConfigAttributes()
1810 UNUSED(Item); in HAL_RCC_ConfigAttributes()
1841 HAL_StatusTypeDef HAL_RCC_GetConfigAttributes(uint32_t Item, uint32_t *pAttributes) in HAL_RCC_GetConfigAttributes() argument
1853 assert_param(IS_RCC_SINGLE_ITEM_ATTRIBUTES(Item)); in HAL_RCC_GetConfigAttributes()
1858 if ((RCC->SECCFGR & Item) == Item) in HAL_RCC_GetConfigAttributes()
[all …]
/hal_stm32-latest/stm32cube/stm32l5xx/drivers/src/
Dstm32l5xx_hal.c733 void HAL_SYSCFG_Lock(uint32_t Item) in HAL_SYSCFG_Lock() argument
736 assert_param(IS_SYSCFG_LOCK_ITEMS(Item)); in HAL_SYSCFG_Lock()
739 SYSCFG->CNSLCKR = (0xFFFFU & Item); /* non-secure lock item in 16 lowest bits */ in HAL_SYSCFG_Lock()
743 SYSCFG->CSLCKR = ((0xFFFF0000U & Item) >> 16U); /* Secure-only lock item in 16 highest bits */ in HAL_SYSCFG_Lock()
806 void HAL_SYSCFG_ConfigAttributes(uint32_t Item, uint32_t Attributes) in HAL_SYSCFG_ConfigAttributes() argument
811 assert_param(IS_SYSCFG_ITEMS_ATTRIBUTES(Item)); in HAL_SYSCFG_ConfigAttributes()
819 tmp |= Item; in HAL_SYSCFG_ConfigAttributes()
823 tmp &= ~Item; in HAL_SYSCFG_ConfigAttributes()
838 HAL_StatusTypeDef HAL_SYSCFG_GetConfigAttributes(uint32_t Item, uint32_t *pAttributes) in HAL_SYSCFG_GetConfigAttributes() argument
847 assert_param(IS_SYSCFG_ITEMS_ATTRIBUTES(Item)); in HAL_SYSCFG_GetConfigAttributes()
[all …]
Dstm32l5xx_hal_pwr.c670 void HAL_PWR_ConfigAttributes(uint32_t Item, uint32_t Attributes) in HAL_PWR_ConfigAttributes() argument
693 assert_param(IS_PWR_ITEMS_ATTRIBUTES(Item)); in HAL_PWR_ConfigAttributes()
698 SET_BIT(PWR_S->SECCFGR, Item); in HAL_PWR_ConfigAttributes()
702 CLEAR_BIT(PWR_S->SECCFGR, Item); in HAL_PWR_ConfigAttributes()
712 UNUSED(Item); in HAL_PWR_ConfigAttributes()
725 HAL_StatusTypeDef HAL_PWR_GetConfigAttributes(uint32_t Item, uint32_t *pAttributes) in HAL_PWR_GetConfigAttributes() argument
748 assert_param(IS_PWR_ITEMS_ATTRIBUTES(Item)); in HAL_PWR_GetConfigAttributes()
751 if ((PWR_S->SECCFGR & Item) == Item) in HAL_PWR_GetConfigAttributes()
763 UNUSED(Item); in HAL_PWR_GetConfigAttributes()
Dstm32l5xx_hal_rcc.c1814 void HAL_RCC_ConfigAttributes(uint32_t Item, uint32_t Attributes) in HAL_RCC_ConfigAttributes() argument
1836 assert_param(IS_RCC_ITEMS_ATTRIBUTES(Item)); in HAL_RCC_ConfigAttributes()
1841 SET_BIT(RCC_S->SECCFGR, Item); in HAL_RCC_ConfigAttributes()
1845 CLEAR_BIT(RCC_S->SECCFGR, Item); in HAL_RCC_ConfigAttributes()
1855 UNUSED(Item); in HAL_RCC_ConfigAttributes()
1868 HAL_StatusTypeDef HAL_RCC_GetConfigAttributes(uint32_t Item, uint32_t *pAttributes) in HAL_RCC_GetConfigAttributes() argument
1892 assert_param(IS_RCC_ITEMS_ATTRIBUTES(Item)); in HAL_RCC_GetConfigAttributes()
1895 if ((RCC_S->SECCFGR & Item) == Item) in HAL_RCC_GetConfigAttributes()
1907 UNUSED(Item); in HAL_RCC_GetConfigAttributes()
/hal_stm32-latest/stm32cube/stm32wbaxx/drivers/src/
Dstm32wbaxx_hal.c853 void HAL_SYSCFG_Lock(uint32_t Item) in HAL_SYSCFG_Lock() argument
856 assert_param(IS_SYSCFG_LOCK_ITEMS(Item)); in HAL_SYSCFG_Lock()
859 SYSCFG->CNSLCKR = (0xFFFFU & Item); /* non-secure lock item in 16 lowest bits */ in HAL_SYSCFG_Lock()
863 SYSCFG->CSLCKR = ((0xFFFF0000U & Item) >> 16U); /* Secure-only lock item in 16 highest bits */ in HAL_SYSCFG_Lock()
926 void HAL_SYSCFG_ConfigAttributes(uint32_t Item, uint32_t Attributes) in HAL_SYSCFG_ConfigAttributes() argument
931 assert_param(IS_SYSCFG_ITEMS_ATTRIBUTES(Item)); in HAL_SYSCFG_ConfigAttributes()
939 tmp |= Item; in HAL_SYSCFG_ConfigAttributes()
943 tmp &= ~Item; in HAL_SYSCFG_ConfigAttributes()
960 HAL_StatusTypeDef HAL_SYSCFG_GetConfigAttributes(uint32_t Item, uint32_t *pAttributes) in HAL_SYSCFG_GetConfigAttributes() argument
969 assert_param(IS_SYSCFG_SINGLE_ITEMS_ATTRIBUTES(Item)); in HAL_SYSCFG_GetConfigAttributes()
[all …]
Dstm32wbaxx_hal_pwr.c1042 void HAL_PWR_ConfigAttributes(uint32_t Item, uint32_t Attributes) in HAL_PWR_ConfigAttributes() argument
1045 assert_param(IS_PWR_ITEMS_ATTRIBUTES(Item)); in HAL_PWR_ConfigAttributes()
1055 SET_BIT(PWR_S->SECCFGR, Item); in HAL_PWR_ConfigAttributes()
1060 SET_BIT(PWR_S->SECCFGR, Item); in HAL_PWR_ConfigAttributes()
1070 CLEAR_BIT(PWR_S->SECCFGR, Item); in HAL_PWR_ConfigAttributes()
1075 CLEAR_BIT(PWR_S->SECCFGR, Item); in HAL_PWR_ConfigAttributes()
1105 HAL_StatusTypeDef HAL_PWR_GetConfigAttributes(uint32_t Item, uint32_t *pAttributes) in HAL_PWR_GetConfigAttributes() argument
1116 assert_param(IS_PWR_ITEMS_ATTRIBUTES(Item)); in HAL_PWR_GetConfigAttributes()
1120 if ((PWR->SECCFGR & Item) == Item) in HAL_PWR_GetConfigAttributes()
Dstm32wbaxx_hal_rcc.c1651 void HAL_RCC_ConfigAttributes(uint32_t Item, uint32_t Attributes) in HAL_RCC_ConfigAttributes() argument
1654 assert_param(IS_RCC_ITEM_ATTRIBUTES(Item)); in HAL_RCC_ConfigAttributes()
1662 SET_BIT(RCC->SECCFGR, Item); in HAL_RCC_ConfigAttributes()
1667 SET_BIT(RCC->SECCFGR, Item); in HAL_RCC_ConfigAttributes()
1672 CLEAR_BIT(RCC->SECCFGR, Item); in HAL_RCC_ConfigAttributes()
1677 CLEAR_BIT(RCC->SECCFGR, Item); in HAL_RCC_ConfigAttributes()
1708 HAL_StatusTypeDef HAL_RCC_GetConfigAttributes(uint32_t Item, uint32_t *pAttributes) in HAL_RCC_GetConfigAttributes() argument
1719 assert_param(IS_RCC_ITEM_ATTRIBUTES(Item)); in HAL_RCC_GetConfigAttributes()
1723 if ((RCC->SECCFGR & Item) == Item) in HAL_RCC_GetConfigAttributes()
/hal_stm32-latest/stm32cube/stm32u5xx/drivers/include/
Dstm32u5xx_ll_system.h881 __STATIC_INLINE void LL_SYSCFG_LockConfig(uint32_t Item) in LL_SYSCFG_LockConfig() argument
884 …SCFG->CSLCKR, (SYSCFG_CSLCKR_LOCKSVTAIRCR | SYSCFG_CSLCKR_LOCKSMPU | SYSCFG_CSLCKR_LOCKSAU), Item); in LL_SYSCFG_LockConfig()
886 MODIFY_REG(SYSCFG->CNSLCKR, (SYSCFG_CNSLCKR_LOCKNSVTOR | SYSCFG_CNSLCKR_LOCKNSMPU), Item); in LL_SYSCFG_LockConfig()
901 __STATIC_INLINE void LL_SYSCFG_LockConfig_NS(uint32_t Item) in LL_SYSCFG_LockConfig_NS() argument
903 MODIFY_REG(SYSCFG->CNSLCKR, (SYSCFG_CNSLCKR_LOCKNSVTOR | SYSCFG_CNSLCKR_LOCKNSMPU), Item); in LL_SYSCFG_LockConfig_NS()
Dstm32u5xx_hal.h811 void HAL_SYSCFG_Lock(uint32_t Item);
825 void HAL_SYSCFG_ConfigAttributes(uint32_t Item, uint32_t Attributes);
826 HAL_StatusTypeDef HAL_SYSCFG_GetConfigAttributes(uint32_t Item, uint32_t *pAttributes);
Dstm32u5xx_hal_pwr.h787 void HAL_PWR_ConfigAttributes(uint32_t Item, uint32_t Attributes);
788 HAL_StatusTypeDef HAL_PWR_GetConfigAttributes(uint32_t Item, uint32_t *pAttributes);
/hal_stm32-latest/stm32cube/stm32h5xx/drivers/include/
Dstm32h5xx_ll_system.h906 __STATIC_INLINE void LL_SBS_NonSecureLock(uint32_t Item) in LL_SBS_NonSecureLock() argument
909 SBS->CNSLCKR = Item; in LL_SBS_NonSecureLock()
943 __STATIC_INLINE void LL_SBS_SecureLock(uint32_t Item) in LL_SBS_SecureLock() argument
946 SBS->CSLCKR = Item; in LL_SBS_SecureLock()
Dstm32h5xx_hal.h857 void HAL_SBS_Lock(uint32_t Item);
870 void HAL_SBS_ConfigAttributes(uint32_t Item, uint32_t Attributes);
871 HAL_StatusTypeDef HAL_SBS_GetConfigAttributes(uint32_t Item, uint32_t *pAttributes);
Dstm32h5xx_hal_pwr.h669 void HAL_PWR_ConfigAttributes(uint32_t Item, uint32_t Attributes);
670 HAL_StatusTypeDef HAL_PWR_GetConfigAttributes(uint32_t Item, uint32_t *pAttributes);
/hal_stm32-latest/stm32cube/stm32wbaxx/drivers/include/
Dstm32wbaxx_hal.h675 void HAL_SYSCFG_Lock(uint32_t Item);
689 void HAL_SYSCFG_ConfigAttributes(uint32_t Item, uint32_t Attributes);
691 HAL_StatusTypeDef HAL_SYSCFG_GetConfigAttributes(uint32_t Item, uint32_t *pAttributes);
/hal_stm32-latest/stm32cube/stm32l5xx/drivers/include/
Dstm32l5xx_hal.h662 void HAL_SYSCFG_Lock(uint32_t Item);
676 void HAL_SYSCFG_ConfigAttributes(uint32_t Item, uint32_t Attributes);
677 HAL_StatusTypeDef HAL_SYSCFG_GetConfigAttributes(uint32_t Item, uint32_t *pAttributes);
Dstm32l5xx_hal_pwr.h474 void HAL_PWR_ConfigAttributes(uint32_t Item, uint32_t Attributes);
475 HAL_StatusTypeDef HAL_PWR_GetConfigAttributes(uint32_t Item, uint32_t *pAttributes);
/hal_stm32-latest/stm32cube/stm32n6xx/drivers/include/
Dstm32n6xx_hal_pwr.h660 void HAL_PWR_ConfigAttributes(uint32_t Item, uint32_t Attributes);
661 HAL_StatusTypeDef HAL_PWR_GetConfigAttributes(uint32_t Item, uint32_t *pAttributes);

12