Home
last modified time | relevance | path

Searched refs:usart (Results 1 – 6 of 6) sorted by relevance

/hal_silabs-latest/gecko/emlib/src/
Dem_usart.c173 static void prsRxInput(USART_TypeDef *usart, USART_PRS_Channel_t ch) in prsRxInput() argument
176 usart->INPUT = ((uint32_t)ch << _USART_INPUT_RXPRSSEL_SHIFT) in prsRxInput()
179 if (usart == USART0) { in prsRxInput()
183 else if (usart == USART1) { in prsRxInput()
188 else if (usart == USART2) { in prsRxInput()
192 usart->CTRLX |= USART_CTRLX_RXPRSEN; in prsRxInput()
208 static void prsIrInput(USART_TypeDef *usart, USART_PRS_Channel_t ch) in prsIrInput() argument
211 usart->IRCTRL |= ((uint32_t)ch << _USART_IRCTRL_IRPRSSEL_SHIFT) in prsIrInput()
215 usart->IRCTRL |= USART_IRCTRL_IRPRSEN; in prsIrInput()
231 static void prsIrInput(USART_TypeDef *usart, USART_PRS_Channel_t ch) in prsIrInput() argument
[all …]
/hal_silabs-latest/simplicity_sdk/platform/emlib/src/
Dem_usart.c173 static void prsRxInput(USART_TypeDef *usart, USART_PRS_Channel_t ch) in prsRxInput() argument
176 usart->INPUT = ((uint32_t)ch << _USART_INPUT_RXPRSSEL_SHIFT) in prsRxInput()
179 if (usart == USART0) { in prsRxInput()
183 else if (usart == USART1) { in prsRxInput()
188 else if (usart == USART2) { in prsRxInput()
192 usart->CTRLX |= USART_CTRLX_RXPRSEN; in prsRxInput()
208 static void prsIrInput(USART_TypeDef *usart, USART_PRS_Channel_t ch) in prsIrInput() argument
211 usart->IRCTRL |= ((uint32_t)ch << _USART_IRCTRL_IRPRSSEL_SHIFT) in prsIrInput()
215 usart->IRCTRL |= USART_IRCTRL_IRPRSEN; in prsIrInput()
231 static void prsIrInput(USART_TypeDef *usart, USART_PRS_Channel_t ch) in prsIrInput() argument
[all …]
/hal_silabs-latest/gecko/emlib/inc/
Dem_usart.h769 void USART_BaudrateAsyncSet(USART_TypeDef *usart,
777 uint32_t USART_BaudrateGet(USART_TypeDef *usart);
778 void USART_BaudrateSyncSet(USART_TypeDef *usart,
781 void USART_Enable(USART_TypeDef *usart, USART_Enable_TypeDef enable);
783 void USART_InitAsync(USART_TypeDef *usart, const USART_InitAsync_TypeDef *init);
784 void USART_InitSync(USART_TypeDef *usart, const USART_InitSync_TypeDef *init);
785 void USARTn_InitIrDA(USART_TypeDef *usart, const USART_InitIrDA_TypeDef *init);
788 void USART_InitI2s(USART_TypeDef *usart, USART_InitI2s_TypeDef *init);
790 void USART_InitPrsTrigger(USART_TypeDef *usart, const USART_PrsTriggerInit_TypeDef *init);
803 __STATIC_INLINE void USART_IntClear(USART_TypeDef *usart, uint32_t flags) in USART_IntClear() argument
[all …]
/hal_silabs-latest/simplicity_sdk/platform/emlib/inc/
Dem_usart.h769 void USART_BaudrateAsyncSet(USART_TypeDef *usart,
777 uint32_t USART_BaudrateGet(USART_TypeDef *usart);
778 void USART_BaudrateSyncSet(USART_TypeDef *usart,
781 void USART_Enable(USART_TypeDef *usart, USART_Enable_TypeDef enable);
783 void USART_InitAsync(USART_TypeDef *usart, const USART_InitAsync_TypeDef *init);
784 void USART_InitSync(USART_TypeDef *usart, const USART_InitSync_TypeDef *init);
785 void USARTn_InitIrDA(USART_TypeDef *usart, const USART_InitIrDA_TypeDef *init);
788 void USART_InitI2s(USART_TypeDef *usart, USART_InitI2s_TypeDef *init);
790 void USART_InitPrsTrigger(USART_TypeDef *usart, const USART_PrsTriggerInit_TypeDef *init);
803 __STATIC_INLINE void USART_IntClear(USART_TypeDef *usart, uint32_t flags) in USART_IntClear() argument
[all …]
/hal_silabs-latest/wiseconnect/components/device/silabs/si91x/mcu/drivers/rom_driver/inc/
Drsi_rom_table_si91x.h458 USART_RESOURCES *usart,
463 int32_t (*USART_Uninitialize)(USART_RESOURCES *usart, UDMA_RESOURCES *udma);
465 USART_RESOURCES *usart,
468 int32_t (*USART_SetBaudrate)(uint32_t baudrate, uint32_t baseClk, USART_RESOURCES *usart);
471 USART_RESOURCES *usart,
477 USART_RESOURCES *usart,
484 USART_RESOURCES *usart,
488 uint32_t (*USART_GetTxCount)(USART_RESOURCES *usart);
489 uint32_t (*USART_GetRxCount)(USART_RESOURCES *usart);
493 USART_RESOURCES *usart,
[all …]
/hal_silabs-latest/wiseconnect/components/device/silabs/si91x/mcu/drivers/cmsis_driver/
DUSART.h264 ARM_USART_CAPABILITIES USART_GetCapabilities (const USART_RESOURCES *usart);