Searched refs:USART_InitStructure (Results 1 – 11 of 11) sorted by relevance
60 USART_InitTypeDef USART_InitStructure; in hk32_configure() local69 USART_StructInit(&USART_InitStructure); in hk32_configure()72 USART_InitStructure.USART_BaudRate = cfg->baud_rate; in hk32_configure()93 USART_InitStructure.USART_StopBits = USART_StopBits_1; in hk32_configure()96 USART_InitStructure.USART_StopBits = USART_StopBits_2; in hk32_configure()99 USART_InitStructure.USART_StopBits = USART_StopBits_1; in hk32_configure()106 USART_InitStructure.USART_Parity = USART_Parity_No; in hk32_configure()109 USART_InitStructure.USART_Parity = USART_Parity_Odd; in hk32_configure()112 USART_InitStructure.USART_Parity = USART_Parity_Even; in hk32_configure()115 USART_InitStructure.USART_Parity = USART_Parity_No; in hk32_configure()[all …]
61 USART_InitTypeDef USART_InitStructure; in ch32f1_usart_configure() local71 USART_StructInit(&USART_InitStructure); in ch32f1_usart_configure()73 USART_InitStructure.USART_BaudRate = cfg->baud_rate; in ch32f1_usart_configure()94 USART_InitStructure.USART_StopBits = USART_StopBits_1; in ch32f1_usart_configure()97 USART_InitStructure.USART_StopBits = USART_StopBits_2; in ch32f1_usart_configure()100 USART_InitStructure.USART_StopBits = USART_StopBits_1; in ch32f1_usart_configure()107 USART_InitStructure.USART_Parity = USART_Parity_No; in ch32f1_usart_configure()110 USART_InitStructure.USART_Parity = USART_Parity_Odd; in ch32f1_usart_configure()113 USART_InitStructure.USART_Parity = USART_Parity_Even; in ch32f1_usart_configure()116 USART_InitStructure.USART_Parity = USART_Parity_No; in ch32f1_usart_configure()[all …]
101 USART_InitTypeDef USART_InitStructure; in ch32f2_usart_configure() local111 USART_StructInit(&USART_InitStructure); in ch32f2_usart_configure()113 USART_InitStructure.USART_BaudRate = cfg->baud_rate; in ch32f2_usart_configure()134 USART_InitStructure.USART_StopBits = USART_StopBits_1; in ch32f2_usart_configure()137 USART_InitStructure.USART_StopBits = USART_StopBits_2; in ch32f2_usart_configure()140 USART_InitStructure.USART_StopBits = USART_StopBits_1; in ch32f2_usart_configure()147 USART_InitStructure.USART_Parity = USART_Parity_No; in ch32f2_usart_configure()150 USART_InitStructure.USART_Parity = USART_Parity_Odd; in ch32f2_usart_configure()153 USART_InitStructure.USART_Parity = USART_Parity_Even; in ch32f2_usart_configure()156 USART_InitStructure.USART_Parity = USART_Parity_No; in ch32f2_usart_configure()[all …]
95 USART_InitTypeDef USART_InitStructure; in USART_Printf_Init() local125 USART_InitStructure.USART_BaudRate = baudrate; in USART_Printf_Init()126 USART_InitStructure.USART_WordLength = USART_WordLength_8b; in USART_Printf_Init()127 USART_InitStructure.USART_StopBits = USART_StopBits_1; in USART_Printf_Init()128 USART_InitStructure.USART_Parity = USART_Parity_No; in USART_Printf_Init()129 USART_InitStructure.USART_HardwareFlowControl = USART_HardwareFlowControl_None; in USART_Printf_Init()130 USART_InitStructure.USART_Mode = USART_Mode_Tx; in USART_Printf_Init()133 USART_Init(USART1, &USART_InitStructure); in USART_Printf_Init()137 USART_Init(USART2, &USART_InitStructure); in USART_Printf_Init()141 USART_Init(USART3, &USART_InitStructure); in USART_Printf_Init()
107 USART_InitTypeDef USART_InitStructure = {0}; in ht32_configure() local144 USART_InitStructure.USART_BaudRate = (cfg->baud_rate); in ht32_configure()167 USART_InitStructure.USART_StopBits = USART_STOPBITS_1; in ht32_configure()170 USART_InitStructure.USART_StopBits = USART_STOPBITS_2; in ht32_configure()173 USART_InitStructure.USART_StopBits = USART_STOPBITS_1; in ht32_configure()180 USART_InitStructure.USART_Parity = USART_PARITY_NO; in ht32_configure()183 USART_InitStructure.USART_Parity = USART_PARITY_ODD; in ht32_configure()186 USART_InitStructure.USART_Parity = USART_PARITY_EVEN; in ht32_configure()189 USART_InitStructure.USART_Parity = USART_PARITY_NO; in ht32_configure()194 USART_InitStructure.USART_Mode = USART_MODE_NORMAL; in ht32_configure()[all …]
125 USART_InitTypeDef USART_InitStructure; in RETARGET_Configuration() local127 USART_InitStructure.USART_BaudRate = RETARGET_UxART_BAUDRATE; in RETARGET_Configuration()129 USART_InitStructure.USART_BaudRate = 115200; in RETARGET_Configuration()131 USART_InitStructure.USART_WordLength = USART_WORDLENGTH_8B; in RETARGET_Configuration()132 USART_InitStructure.USART_StopBits = USART_STOPBITS_1; in RETARGET_Configuration()133 USART_InitStructure.USART_Parity = USART_PARITY_NO; in RETARGET_Configuration()134 USART_InitStructure.USART_Mode = USART_MODE_NORMAL; in RETARGET_Configuration()137 HT32F_DVB_COMInit(RETARGET_COM_PORT, &USART_InitStructure); in RETARGET_Configuration()145 USART_Init(RETARGET_USART_PORT, &USART_InitStructure); in RETARGET_Configuration()
415 USART_InitType USART_InitStructure; in n32_configure() local424 USART_InitStructure.BaudRate = cfg->baud_rate; in n32_configure()429 USART_InitStructure.WordLength = USART_WL_9B; in n32_configure()433 USART_InitStructure.WordLength = USART_WL_8B;; in n32_configure()440 USART_InitStructure.StopBits = USART_STPB_1; in n32_configure()443 USART_InitStructure.StopBits = USART_STPB_0_5; in n32_configure()446 USART_InitStructure.StopBits = USART_STPB_2; in n32_configure()458 USART_InitStructure.Parity = USART_PE_ODD; in n32_configure()461 USART_InitStructure.Parity = USART_PE_EVEN; in n32_configure()464 USART_InitStructure.Parity = USART_PE_NO; in n32_configure()[all …]
51 USART_InitType USART_InitStructure; in n32_uart_configure() local61 USART_InitStructure.BaudRate = cfg->baud_rate; in n32_uart_configure()65 USART_InitStructure.WordLength = USART_WL_8B; in n32_uart_configure()69 USART_InitStructure.WordLength = USART_WL_9B; in n32_uart_configure()74 USART_InitStructure.StopBits = USART_STPB_1; in n32_uart_configure()78 USART_InitStructure.StopBits = USART_STPB_2; in n32_uart_configure()83 USART_InitStructure.Parity = USART_PE_NO; in n32_uart_configure()87 USART_InitStructure.Parity = USART_PE_ODD; in n32_uart_configure()91 USART_InitStructure.Parity = USART_PE_EVEN; in n32_uart_configure()95 USART_InitStructure.Mode = USART_MODE_RX | USART_MODE_TX; in n32_uart_configure()[all …]
441 void USART_Init(HT_USART_TypeDef* USARTx, USART_InitTypeDef* USART_InitStructure);442 void USART_StructInit(USART_InitTypeDef* USART_InitStructure);
518 void USART_Init(HT_USART_TypeDef* USARTx, USART_InitTypeDef* USART_InitStructure);519 void USART_StructInit(USART_InitTypeDef* USART_InitStructure);
Completed in 23 milliseconds