Home
last modified time | relevance | path

Searched refs:SWPMIx (Results 1 – 4 of 4) sorted by relevance

/hal_stm32-latest/stm32cube/stm32h7xx/drivers/include/
Dstm32h7xx_ll_swpmi.h262 __STATIC_INLINE void LL_SWPMI_SetReceptionMode(SWPMI_TypeDef *SWPMIx, uint32_t RxBufferingMode) in LL_SWPMI_SetReceptionMode() argument
264 MODIFY_REG(SWPMIx->CR, SWPMI_CR_RXMODE, RxBufferingMode); in LL_SWPMI_SetReceptionMode()
275 __STATIC_INLINE uint32_t LL_SWPMI_GetReceptionMode(const SWPMI_TypeDef *SWPMIx) in LL_SWPMI_GetReceptionMode() argument
277 return (uint32_t)(READ_BIT(SWPMIx->CR, SWPMI_CR_RXMODE)); in LL_SWPMI_GetReceptionMode()
290 __STATIC_INLINE void LL_SWPMI_SetTransmissionMode(SWPMI_TypeDef *SWPMIx, uint32_t TxBufferingMode) in LL_SWPMI_SetTransmissionMode() argument
292 MODIFY_REG(SWPMIx->CR, SWPMI_CR_TXMODE, TxBufferingMode); in LL_SWPMI_SetTransmissionMode()
303 __STATIC_INLINE uint32_t LL_SWPMI_GetTransmissionMode(const SWPMI_TypeDef *SWPMIx) in LL_SWPMI_GetTransmissionMode() argument
305 return (uint32_t)(READ_BIT(SWPMIx->CR, SWPMI_CR_TXMODE)); in LL_SWPMI_GetTransmissionMode()
314 __STATIC_INLINE void LL_SWPMI_EnableLoopback(SWPMI_TypeDef *SWPMIx) in LL_SWPMI_EnableLoopback() argument
316 SET_BIT(SWPMIx->CR, SWPMI_CR_LPBK); in LL_SWPMI_EnableLoopback()
[all …]
/hal_stm32-latest/stm32cube/stm32l4xx/drivers/include/
Dstm32l4xx_ll_swpmi.h257 __STATIC_INLINE void LL_SWPMI_SetReceptionMode(SWPMI_TypeDef *SWPMIx, uint32_t RxBufferingMode) in LL_SWPMI_SetReceptionMode() argument
259 MODIFY_REG(SWPMIx->CR, SWPMI_CR_RXMODE, RxBufferingMode); in LL_SWPMI_SetReceptionMode()
270 __STATIC_INLINE uint32_t LL_SWPMI_GetReceptionMode(const SWPMI_TypeDef *SWPMIx) in LL_SWPMI_GetReceptionMode() argument
272 return (uint32_t)(READ_BIT(SWPMIx->CR, SWPMI_CR_RXMODE)); in LL_SWPMI_GetReceptionMode()
285 __STATIC_INLINE void LL_SWPMI_SetTransmissionMode(SWPMI_TypeDef *SWPMIx, uint32_t TxBufferingMode) in LL_SWPMI_SetTransmissionMode() argument
287 MODIFY_REG(SWPMIx->CR, SWPMI_CR_TXMODE, TxBufferingMode); in LL_SWPMI_SetTransmissionMode()
298 __STATIC_INLINE uint32_t LL_SWPMI_GetTransmissionMode(const SWPMI_TypeDef *SWPMIx) in LL_SWPMI_GetTransmissionMode() argument
300 return (uint32_t)(READ_BIT(SWPMIx->CR, SWPMI_CR_TXMODE)); in LL_SWPMI_GetTransmissionMode()
309 __STATIC_INLINE void LL_SWPMI_EnableLoopback(SWPMI_TypeDef *SWPMIx) in LL_SWPMI_EnableLoopback() argument
311 SET_BIT(SWPMIx->CR, SWPMI_CR_LPBK); in LL_SWPMI_EnableLoopback()
[all …]
/hal_stm32-latest/stm32cube/stm32h7xx/drivers/src/
Dstm32h7xx_ll_swpmi.c79 ErrorStatus LL_SWPMI_DeInit(const SWPMI_TypeDef *SWPMIx) in LL_SWPMI_DeInit() argument
84 assert_param(IS_SWPMI_INSTANCE(SWPMIx)); in LL_SWPMI_DeInit()
86 if (SWPMIx == SWPMI1) in LL_SWPMI_DeInit()
111 ErrorStatus LL_SWPMI_Init(SWPMI_TypeDef *SWPMIx, const LL_SWPMI_InitTypeDef *SWPMI_InitStruct) in LL_SWPMI_Init() argument
116 assert_param(IS_SWPMI_INSTANCE(SWPMIx)); in LL_SWPMI_Init()
123 if (LL_SWPMI_IsActivated(SWPMIx) == 0U) in LL_SWPMI_Init()
126 LL_SWPMI_SetBitRatePrescaler(SWPMIx, SWPMI_InitStruct->BitRatePrescaler); in LL_SWPMI_Init()
129 LL_SWPMI_SetVoltageClass(SWPMIx, SWPMI_InitStruct->VoltageClass); in LL_SWPMI_Init()
132 MODIFY_REG(SWPMIx->CR, in LL_SWPMI_Init()
/hal_stm32-latest/stm32cube/stm32l4xx/drivers/src/
Dstm32l4xx_ll_swpmi.c80 ErrorStatus LL_SWPMI_DeInit(const SWPMI_TypeDef *SWPMIx) in LL_SWPMI_DeInit() argument
85 assert_param(IS_SWPMI_INSTANCE(SWPMIx)); in LL_SWPMI_DeInit()
87 if (SWPMIx == SWPMI1) in LL_SWPMI_DeInit()
112 ErrorStatus LL_SWPMI_Init(SWPMI_TypeDef *SWPMIx, const LL_SWPMI_InitTypeDef *SWPMI_InitStruct) in LL_SWPMI_Init() argument
117 assert_param(IS_SWPMI_INSTANCE(SWPMIx)); in LL_SWPMI_Init()
124 if (LL_SWPMI_IsActivated(SWPMIx) == 0U) in LL_SWPMI_Init()
127 LL_SWPMI_SetBitRatePrescaler(SWPMIx, SWPMI_InitStruct->BitRatePrescaler); in LL_SWPMI_Init()
130 LL_SWPMI_SetVoltageClass(SWPMIx, SWPMI_InitStruct->VoltageClass); in LL_SWPMI_Init()
133 MODIFY_REG(SWPMIx->CR, in LL_SWPMI_Init()