Home
last modified time | relevance | path

Searched refs:UCPDx (Results 1 – 14 of 14) sorted by relevance

/hal_stm32-latest/stm32cube/stm32h5xx/drivers/include/
Dstm32h5xx_ll_ucpd.h346 __STATIC_INLINE void LL_UCPD_Enable(UCPD_TypeDef *UCPDx) in LL_UCPD_Enable() argument
348 SET_BIT(UCPDx->CFG1, UCPD_CFG1_UCPDEN); in LL_UCPD_Enable()
358 __STATIC_INLINE void LL_UCPD_Disable(UCPD_TypeDef *UCPDx) in LL_UCPD_Disable() argument
360 CLEAR_BIT(UCPDx->CFG1, UCPD_CFG1_UCPDEN); in LL_UCPD_Disable()
369 __STATIC_INLINE uint32_t LL_UCPD_IsEnabled(UCPD_TypeDef const *const UCPDx) in LL_UCPD_IsEnabled() argument
371 return ((READ_BIT(UCPDx->CFG1, UCPD_CFG1_UCPDEN) == (UCPD_CFG1_UCPDEN)) ? 1UL : 0UL); in LL_UCPD_IsEnabled()
390 __STATIC_INLINE void LL_UCPD_SetRxOrderSet(UCPD_TypeDef *UCPDx, uint32_t OrderSet) in LL_UCPD_SetRxOrderSet() argument
392 MODIFY_REG(UCPDx->CFG1, UCPD_CFG1_RXORDSETEN, OrderSet); in LL_UCPD_SetRxOrderSet()
407 __STATIC_INLINE void LL_UCPD_SetPSCClk(UCPD_TypeDef *UCPDx, uint32_t Psc) in LL_UCPD_SetPSCClk() argument
409 MODIFY_REG(UCPDx->CFG1, UCPD_CFG1_PSC_UCPDCLK, Psc); in LL_UCPD_SetPSCClk()
[all …]
/hal_stm32-latest/stm32cube/stm32u5xx/drivers/include/
Dstm32u5xx_ll_ucpd.h346 __STATIC_INLINE void LL_UCPD_Enable(UCPD_TypeDef *UCPDx) in LL_UCPD_Enable() argument
348 SET_BIT(UCPDx->CFG1, UCPD_CFG1_UCPDEN); in LL_UCPD_Enable()
358 __STATIC_INLINE void LL_UCPD_Disable(UCPD_TypeDef *UCPDx) in LL_UCPD_Disable() argument
360 CLEAR_BIT(UCPDx->CFG1, UCPD_CFG1_UCPDEN); in LL_UCPD_Disable()
369 __STATIC_INLINE uint32_t LL_UCPD_IsEnabled(UCPD_TypeDef const *const UCPDx) in LL_UCPD_IsEnabled() argument
371 return ((READ_BIT(UCPDx->CFG1, UCPD_CFG1_UCPDEN) == (UCPD_CFG1_UCPDEN)) ? 1UL : 0UL); in LL_UCPD_IsEnabled()
390 __STATIC_INLINE void LL_UCPD_SetRxOrderSet(UCPD_TypeDef *UCPDx, uint32_t OrderSet) in LL_UCPD_SetRxOrderSet() argument
392 MODIFY_REG(UCPDx->CFG1, UCPD_CFG1_RXORDSETEN, OrderSet); in LL_UCPD_SetRxOrderSet()
407 __STATIC_INLINE void LL_UCPD_SetPSCClk(UCPD_TypeDef *UCPDx, uint32_t Psc) in LL_UCPD_SetPSCClk() argument
409 MODIFY_REG(UCPDx->CFG1, UCPD_CFG1_PSC_UCPDCLK, Psc); in LL_UCPD_SetPSCClk()
[all …]
/hal_stm32-latest/stm32cube/stm32h7rsxx/drivers/include/
Dstm32h7rsxx_ll_ucpd.h346 __STATIC_INLINE void LL_UCPD_Enable(UCPD_TypeDef *UCPDx) in LL_UCPD_Enable() argument
348 SET_BIT(UCPDx->CFG1, UCPD_CFG1_UCPDEN); in LL_UCPD_Enable()
358 __STATIC_INLINE void LL_UCPD_Disable(UCPD_TypeDef *UCPDx) in LL_UCPD_Disable() argument
360 CLEAR_BIT(UCPDx->CFG1, UCPD_CFG1_UCPDEN); in LL_UCPD_Disable()
369 __STATIC_INLINE uint32_t LL_UCPD_IsEnabled(UCPD_TypeDef const *const UCPDx) in LL_UCPD_IsEnabled() argument
371 return ((READ_BIT(UCPDx->CFG1, UCPD_CFG1_UCPDEN) == (UCPD_CFG1_UCPDEN)) ? 1UL : 0UL); in LL_UCPD_IsEnabled()
390 __STATIC_INLINE void LL_UCPD_SetRxOrderSet(UCPD_TypeDef *UCPDx, uint32_t OrderSet) in LL_UCPD_SetRxOrderSet() argument
392 MODIFY_REG(UCPDx->CFG1, UCPD_CFG1_RXORDSETEN, OrderSet); in LL_UCPD_SetRxOrderSet()
407 __STATIC_INLINE void LL_UCPD_SetPSCClk(UCPD_TypeDef *UCPDx, uint32_t Psc) in LL_UCPD_SetPSCClk() argument
409 MODIFY_REG(UCPDx->CFG1, UCPD_CFG1_PSC_UCPDCLK, Psc); in LL_UCPD_SetPSCClk()
[all …]
/hal_stm32-latest/stm32cube/stm32g4xx/drivers/include/
Dstm32g4xx_ll_ucpd.h346 __STATIC_INLINE void LL_UCPD_Enable(UCPD_TypeDef *UCPDx) in LL_UCPD_Enable() argument
348 SET_BIT(UCPDx->CFG1, UCPD_CFG1_UCPDEN); in LL_UCPD_Enable()
358 __STATIC_INLINE void LL_UCPD_Disable(UCPD_TypeDef *UCPDx) in LL_UCPD_Disable() argument
360 CLEAR_BIT(UCPDx->CFG1, UCPD_CFG1_UCPDEN); in LL_UCPD_Disable()
369 __STATIC_INLINE uint32_t LL_UCPD_IsEnabled(UCPD_TypeDef const *const UCPDx) in LL_UCPD_IsEnabled() argument
371 return ((READ_BIT(UCPDx->CFG1, UCPD_CFG1_UCPDEN) == (UCPD_CFG1_UCPDEN)) ? 1UL : 0UL); in LL_UCPD_IsEnabled()
390 __STATIC_INLINE void LL_UCPD_SetRxOrderSet(UCPD_TypeDef *UCPDx, uint32_t OrderSet) in LL_UCPD_SetRxOrderSet() argument
392 MODIFY_REG(UCPDx->CFG1, UCPD_CFG1_RXORDSETEN, OrderSet); in LL_UCPD_SetRxOrderSet()
407 __STATIC_INLINE void LL_UCPD_SetPSCClk(UCPD_TypeDef *UCPDx, uint32_t Psc) in LL_UCPD_SetPSCClk() argument
409 MODIFY_REG(UCPDx->CFG1, UCPD_CFG1_PSC_UCPDCLK, Psc); in LL_UCPD_SetPSCClk()
[all …]
/hal_stm32-latest/stm32cube/stm32g0xx/drivers/include/
Dstm32g0xx_ll_ucpd.h346 __STATIC_INLINE void LL_UCPD_Enable(UCPD_TypeDef *UCPDx) in LL_UCPD_Enable() argument
348 SET_BIT(UCPDx->CFG1, UCPD_CFG1_UCPDEN); in LL_UCPD_Enable()
358 __STATIC_INLINE void LL_UCPD_Disable(UCPD_TypeDef *UCPDx) in LL_UCPD_Disable() argument
360 CLEAR_BIT(UCPDx->CFG1, UCPD_CFG1_UCPDEN); in LL_UCPD_Disable()
369 __STATIC_INLINE uint32_t LL_UCPD_IsEnabled(UCPD_TypeDef const *const UCPDx) in LL_UCPD_IsEnabled() argument
371 return ((READ_BIT(UCPDx->CFG1, UCPD_CFG1_UCPDEN) == (UCPD_CFG1_UCPDEN)) ? 1UL : 0UL); in LL_UCPD_IsEnabled()
390 __STATIC_INLINE void LL_UCPD_SetRxOrderSet(UCPD_TypeDef *UCPDx, uint32_t OrderSet) in LL_UCPD_SetRxOrderSet() argument
392 MODIFY_REG(UCPDx->CFG1, UCPD_CFG1_RXORDSETEN, OrderSet); in LL_UCPD_SetRxOrderSet()
407 __STATIC_INLINE void LL_UCPD_SetPSCClk(UCPD_TypeDef *UCPDx, uint32_t Psc) in LL_UCPD_SetPSCClk() argument
409 MODIFY_REG(UCPDx->CFG1, UCPD_CFG1_PSC_UCPDCLK, Psc); in LL_UCPD_SetPSCClk()
[all …]
/hal_stm32-latest/stm32cube/stm32l5xx/drivers/include/
Dstm32l5xx_ll_ucpd.h346 __STATIC_INLINE void LL_UCPD_Enable(UCPD_TypeDef *UCPDx) in LL_UCPD_Enable() argument
348 SET_BIT(UCPDx->CFG1, UCPD_CFG1_UCPDEN); in LL_UCPD_Enable()
358 __STATIC_INLINE void LL_UCPD_Disable(UCPD_TypeDef *UCPDx) in LL_UCPD_Disable() argument
360 CLEAR_BIT(UCPDx->CFG1, UCPD_CFG1_UCPDEN); in LL_UCPD_Disable()
369 __STATIC_INLINE uint32_t LL_UCPD_IsEnabled(UCPD_TypeDef const *const UCPDx) in LL_UCPD_IsEnabled() argument
371 return ((READ_BIT(UCPDx->CFG1, UCPD_CFG1_UCPDEN) == (UCPD_CFG1_UCPDEN)) ? 1UL : 0UL); in LL_UCPD_IsEnabled()
390 __STATIC_INLINE void LL_UCPD_SetRxOrderSet(UCPD_TypeDef *UCPDx, uint32_t OrderSet) in LL_UCPD_SetRxOrderSet() argument
392 MODIFY_REG(UCPDx->CFG1, UCPD_CFG1_RXORDSETEN, OrderSet); in LL_UCPD_SetRxOrderSet()
407 __STATIC_INLINE void LL_UCPD_SetPSCClk(UCPD_TypeDef *UCPDx, uint32_t Psc) in LL_UCPD_SetPSCClk() argument
409 MODIFY_REG(UCPDx->CFG1, UCPD_CFG1_PSC_UCPDCLK, Psc); in LL_UCPD_SetPSCClk()
[all …]
/hal_stm32-latest/stm32cube/stm32n6xx/drivers/include/
Dstm32n6xx_ll_ucpd.h344 __STATIC_INLINE void LL_UCPD_Enable(UCPD_TypeDef *UCPDx) in LL_UCPD_Enable() argument
346 SET_BIT(UCPDx->CFG1, UCPD_CFG1_UCPDEN); in LL_UCPD_Enable()
356 __STATIC_INLINE void LL_UCPD_Disable(UCPD_TypeDef *UCPDx) in LL_UCPD_Disable() argument
358 CLEAR_BIT(UCPDx->CFG1, UCPD_CFG1_UCPDEN); in LL_UCPD_Disable()
367 __STATIC_INLINE uint32_t LL_UCPD_IsEnabled(UCPD_TypeDef const *const UCPDx) in LL_UCPD_IsEnabled() argument
369 return ((READ_BIT(UCPDx->CFG1, UCPD_CFG1_UCPDEN) == (UCPD_CFG1_UCPDEN)) ? 1UL : 0UL); in LL_UCPD_IsEnabled()
388 __STATIC_INLINE void LL_UCPD_SetRxOrderSet(UCPD_TypeDef *UCPDx, uint32_t OrderSet) in LL_UCPD_SetRxOrderSet() argument
390 MODIFY_REG(UCPDx->CFG1, UCPD_CFG1_RXORDSETEN, OrderSet); in LL_UCPD_SetRxOrderSet()
405 __STATIC_INLINE void LL_UCPD_SetPSCClk(UCPD_TypeDef *UCPDx, uint32_t Psc) in LL_UCPD_SetPSCClk() argument
407 MODIFY_REG(UCPDx->CFG1, UCPD_CFG1_PSC_UCPDCLK, Psc); in LL_UCPD_SetPSCClk()
[all …]
/hal_stm32-latest/stm32cube/stm32g0xx/drivers/src/
Dstm32g0xx_ll_ucpd.c79 ErrorStatus LL_UCPD_DeInit(UCPD_TypeDef *UCPDx) in LL_UCPD_DeInit() argument
84 assert_param(IS_UCPD_ALL_INSTANCE(UCPDx)); in LL_UCPD_DeInit()
86 LL_UCPD_Disable(UCPDx); in LL_UCPD_DeInit()
88 if (UCPD1 == UCPDx) in LL_UCPD_DeInit()
101 if (UCPD2 == UCPDx) in LL_UCPD_DeInit()
128 ErrorStatus LL_UCPD_Init(UCPD_TypeDef *UCPDx, LL_UCPD_InitTypeDef *UCPD_InitStruct) in LL_UCPD_Init() argument
131 assert_param(IS_UCPD_ALL_INSTANCE(UCPDx)); in LL_UCPD_Init()
133 if (UCPD1 == UCPDx) in LL_UCPD_Init()
138 if (UCPD2 == UCPDx) in LL_UCPD_Init()
143 LL_UCPD_Disable(UCPDx); in LL_UCPD_Init()
[all …]
/hal_stm32-latest/stm32cube/stm32h7rsxx/drivers/src/
Dstm32h7rsxx_ll_ucpd.c79 ErrorStatus LL_UCPD_DeInit(UCPD_TypeDef *UCPDx) in LL_UCPD_DeInit() argument
84 assert_param(IS_UCPD_ALL_INSTANCE(UCPDx)); in LL_UCPD_DeInit()
86 LL_UCPD_Disable(UCPDx); in LL_UCPD_DeInit()
88 if (UCPD1 == UCPDx) in LL_UCPD_DeInit()
115 ErrorStatus LL_UCPD_Init(UCPD_TypeDef *UCPDx, const LL_UCPD_InitTypeDef *UCPD_InitStruct) in LL_UCPD_Init() argument
118 assert_param(IS_UCPD_ALL_INSTANCE(UCPDx)); in LL_UCPD_Init()
120 if (UCPD1 == UCPDx) in LL_UCPD_Init()
126 LL_UCPD_Disable(UCPDx); in LL_UCPD_Init()
129 MODIFY_REG(UCPDx->CFG1, in LL_UCPD_Init()
/hal_stm32-latest/stm32cube/stm32u5xx/drivers/src/
Dstm32u5xx_ll_ucpd.c79 ErrorStatus LL_UCPD_DeInit(UCPD_TypeDef *UCPDx) in LL_UCPD_DeInit() argument
84 assert_param(IS_UCPD_ALL_INSTANCE(UCPDx)); in LL_UCPD_DeInit()
86 LL_UCPD_Disable(UCPDx); in LL_UCPD_DeInit()
88 if (UCPD1 == UCPDx) in LL_UCPD_DeInit()
115 ErrorStatus LL_UCPD_Init(UCPD_TypeDef *UCPDx, const LL_UCPD_InitTypeDef *UCPD_InitStruct) in LL_UCPD_Init() argument
118 assert_param(IS_UCPD_ALL_INSTANCE(UCPDx)); in LL_UCPD_Init()
120 if (UCPD1 == UCPDx) in LL_UCPD_Init()
126 LL_UCPD_Disable(UCPDx); in LL_UCPD_Init()
129 MODIFY_REG(UCPDx->CFG1, in LL_UCPD_Init()
/hal_stm32-latest/stm32cube/stm32l5xx/drivers/src/
Dstm32l5xx_ll_ucpd.c79 ErrorStatus LL_UCPD_DeInit(UCPD_TypeDef *UCPDx) in LL_UCPD_DeInit() argument
84 assert_param(IS_UCPD_ALL_INSTANCE(UCPDx)); in LL_UCPD_DeInit()
86 LL_UCPD_Disable(UCPDx); in LL_UCPD_DeInit()
88 if (UCPD1 == UCPDx) in LL_UCPD_DeInit()
115 ErrorStatus LL_UCPD_Init(UCPD_TypeDef *UCPDx, const LL_UCPD_InitTypeDef *UCPD_InitStruct) in LL_UCPD_Init() argument
118 assert_param(IS_UCPD_ALL_INSTANCE(UCPDx)); in LL_UCPD_Init()
120 if (UCPD1 == UCPDx) in LL_UCPD_Init()
126 LL_UCPD_Disable(UCPDx); in LL_UCPD_Init()
129 MODIFY_REG(UCPDx->CFG1, in LL_UCPD_Init()
/hal_stm32-latest/stm32cube/stm32n6xx/drivers/src/
Dstm32n6xx_ll_ucpd.c79 ErrorStatus LL_UCPD_DeInit(UCPD_TypeDef *UCPDx) in LL_UCPD_DeInit() argument
84 assert_param(IS_UCPD_ALL_INSTANCE(UCPDx)); in LL_UCPD_DeInit()
86 LL_UCPD_Disable(UCPDx); in LL_UCPD_DeInit()
88 if (UCPD1 == UCPDx) in LL_UCPD_DeInit()
115 ErrorStatus LL_UCPD_Init(UCPD_TypeDef *UCPDx, const LL_UCPD_InitTypeDef *UCPD_InitStruct) in LL_UCPD_Init() argument
118 assert_param(IS_UCPD_ALL_INSTANCE(UCPDx)); in LL_UCPD_Init()
120 if (UCPD1 == UCPDx) in LL_UCPD_Init()
126 LL_UCPD_Disable(UCPDx); in LL_UCPD_Init()
129 MODIFY_REG(UCPDx->CFG1, in LL_UCPD_Init()
/hal_stm32-latest/stm32cube/stm32g4xx/drivers/src/
Dstm32g4xx_ll_ucpd.c79 ErrorStatus LL_UCPD_DeInit(UCPD_TypeDef *UCPDx) in LL_UCPD_DeInit() argument
84 assert_param(IS_UCPD_ALL_INSTANCE(UCPDx)); in LL_UCPD_DeInit()
86 LL_UCPD_Disable(UCPDx); in LL_UCPD_DeInit()
88 if (UCPD1 == UCPDx) in LL_UCPD_DeInit()
115 ErrorStatus LL_UCPD_Init(UCPD_TypeDef *UCPDx, const LL_UCPD_InitTypeDef *UCPD_InitStruct) in LL_UCPD_Init() argument
118 assert_param(IS_UCPD_ALL_INSTANCE(UCPDx)); in LL_UCPD_Init()
120 if (UCPD1 == UCPDx) in LL_UCPD_Init()
126 LL_UCPD_Disable(UCPDx); in LL_UCPD_Init()
129 MODIFY_REG(UCPDx->CFG1, in LL_UCPD_Init()
/hal_stm32-latest/stm32cube/stm32h5xx/drivers/src/
Dstm32h5xx_ll_ucpd.c79 ErrorStatus LL_UCPD_DeInit(UCPD_TypeDef *UCPDx) in LL_UCPD_DeInit() argument
84 assert_param(IS_UCPD_ALL_INSTANCE(UCPDx)); in LL_UCPD_DeInit()
86 LL_UCPD_Disable(UCPDx); in LL_UCPD_DeInit()
88 if (UCPD1 == UCPDx) in LL_UCPD_DeInit()
115 ErrorStatus LL_UCPD_Init(UCPD_TypeDef *UCPDx, const LL_UCPD_InitTypeDef *UCPD_InitStruct) in LL_UCPD_Init() argument
118 assert_param(IS_UCPD_ALL_INSTANCE(UCPDx)); in LL_UCPD_Init()
120 if (UCPD1 == UCPDx) in LL_UCPD_Init()
126 LL_UCPD_Disable(UCPDx); in LL_UCPD_Init()
129 MODIFY_REG(UCPDx->CFG1, in LL_UCPD_Init()