Home
last modified time | relevance | path

Searched refs:USART_InitStruct (Results 1 – 25 of 30) sorted by relevance

12

/bsp/stm32/libraries/STM32L1xx_HAL/STM32L1xx_HAL_Driver/Src/
A Dstm32l1xx_ll_usart.c208 assert_param(IS_LL_USART_PARITY(USART_InitStruct->Parity)); in LL_USART_Init()
227 (USART_InitStruct->DataWidth | USART_InitStruct->Parity | in LL_USART_Init()
228 USART_InitStruct->TransferDirection | USART_InitStruct->OverSampling)); in LL_USART_Init()
281 && (USART_InitStruct->BaudRate != 0U)) in LL_USART_Init()
286 USART_InitStruct->OverSampling, in LL_USART_Init()
287 USART_InitStruct->BaudRate); in LL_USART_Init()
305 void LL_USART_StructInit(LL_USART_InitTypeDef *USART_InitStruct) in LL_USART_StructInit() argument
308 USART_InitStruct->BaudRate = 9600U; in LL_USART_StructInit()
309 USART_InitStruct->DataWidth = LL_USART_DATAWIDTH_8B; in LL_USART_StructInit()
310 USART_InitStruct->StopBits = LL_USART_STOPBITS_1; in LL_USART_StructInit()
[all …]
/bsp/n32/libraries/N32L43x_Firmware_Library/n32l43x_std_periph_driver/src/
A Dn32l43x_usart.c187 assert_param(IS_USART_PARITY(USART_InitStruct->Parity)); in USART_Init()
188 assert_param(IS_USART_MODE(USART_InitStruct->Mode)); in USART_Init()
204 tmpregister |= (uint32_t)USART_InitStruct->StopBits; in USART_Init()
217 …tmpregister |= (uint32_t)USART_InitStruct->WordLength | USART_InitStruct->Parity | USART_InitStruc… in USART_Init()
227 tmpregister |= USART_InitStruct->HardwareFlowControl; in USART_Init()
262 void USART_StructInit(USART_InitType* USART_InitStruct) in USART_StructInit() argument
265 USART_InitStruct->BaudRate = 9600; in USART_StructInit()
266 USART_InitStruct->WordLength = USART_WL_8B; in USART_StructInit()
267 USART_InitStruct->StopBits = USART_STPB_1; in USART_StructInit()
268 USART_InitStruct->Parity = USART_PE_NO; in USART_StructInit()
[all …]
/bsp/n32/libraries/N32L40x_Firmware_Library/n32l40x_std_periph_driver/src/
A Dn32l40x_usart.c187 assert_param(IS_USART_PARITY(USART_InitStruct->Parity)); in USART_Init()
188 assert_param(IS_USART_MODE(USART_InitStruct->Mode)); in USART_Init()
204 tmpregister |= (uint32_t)USART_InitStruct->StopBits; in USART_Init()
217 …tmpregister |= (uint32_t)USART_InitStruct->WordLength | USART_InitStruct->Parity | USART_InitStruc… in USART_Init()
227 tmpregister |= USART_InitStruct->HardwareFlowControl; in USART_Init()
262 void USART_StructInit(USART_InitType* USART_InitStruct) in USART_StructInit() argument
265 USART_InitStruct->BaudRate = 9600; in USART_StructInit()
266 USART_InitStruct->WordLength = USART_WL_8B; in USART_StructInit()
267 USART_InitStruct->StopBits = USART_STPB_1; in USART_StructInit()
268 USART_InitStruct->Parity = USART_PE_NO; in USART_StructInit()
[all …]
/bsp/n32/libraries/N32G43x_Firmware_Library/n32g43x_std_periph_driver/src/
A Dn32g43x_usart.c187 assert_param(IS_USART_PARITY(USART_InitStruct->Parity)); in USART_Init()
188 assert_param(IS_USART_MODE(USART_InitStruct->Mode)); in USART_Init()
204 tmpregister |= (uint32_t)USART_InitStruct->StopBits; in USART_Init()
217 …tmpregister |= (uint32_t)USART_InitStruct->WordLength | USART_InitStruct->Parity | USART_InitStruc… in USART_Init()
227 tmpregister |= USART_InitStruct->HardwareFlowControl; in USART_Init()
262 void USART_StructInit(USART_InitType* USART_InitStruct) in USART_StructInit() argument
265 USART_InitStruct->BaudRate = 9600; in USART_StructInit()
266 USART_InitStruct->WordLength = USART_WL_8B; in USART_StructInit()
267 USART_InitStruct->StopBits = USART_STPB_1; in USART_StructInit()
268 USART_InitStruct->Parity = USART_PE_NO; in USART_StructInit()
[all …]
/bsp/airm2m/air32f103/libraries/AIR32F10xLib/src/
A Dair32f10x_usart.c167 assert_param(IS_USART_PARITY(USART_InitStruct->USART_Parity)); in USART_Init()
168 assert_param(IS_USART_MODE(USART_InitStruct->USART_Mode)); in USART_Init()
184 tmpreg |= (uint32_t)USART_InitStruct->USART_StopBits; in USART_Init()
197 tmpreg |= (uint32_t)USART_InitStruct->USART_WordLength | USART_InitStruct->USART_Parity | in USART_Init()
198 USART_InitStruct->USART_Mode; in USART_Init()
208 tmpreg |= USART_InitStruct->USART_HardwareFlowControl; in USART_Init()
261 void USART_StructInit(USART_InitTypeDef* USART_InitStruct) in USART_StructInit() argument
264 USART_InitStruct->USART_BaudRate = 9600; in USART_StructInit()
265 USART_InitStruct->USART_WordLength = USART_WordLength_8b; in USART_StructInit()
266 USART_InitStruct->USART_StopBits = USART_StopBits_1; in USART_StructInit()
[all …]
/bsp/ft32/libraries/FT32F0xx/FT32F0xx_Driver/Src/
A Dft32f0xx_usart.c86 assert_param(IS_USART_MODE(USART_InitStruct->USART_Mode)); in USART_Init()
99 tmpreg |= (uint32_t)USART_InitStruct->USART_StopBits; in USART_Init()
113 tmpreg |= (uint32_t)USART_InitStruct->USART_WordLength | USART_InitStruct->USART_Parity | in USART_Init()
114 USART_InitStruct->USART_Mode; in USART_Init()
126 tmpreg |= USART_InitStruct->USART_HardwareFlowControl; in USART_Init()
159 if (tmpreg >= (USART_InitStruct->USART_BaudRate) / 2) in USART_Init()
184 void USART_StructInit(USART_InitTypeDef* USART_InitStruct) in USART_StructInit() argument
187 USART_InitStruct->USART_BaudRate = 9600; in USART_StructInit()
188 USART_InitStruct->USART_WordLength = USART_WordLength_8b; in USART_StructInit()
189 USART_InitStruct->USART_StopBits = USART_StopBits_1; in USART_StructInit()
[all …]
/bsp/n32/libraries/N32G4FR_Firmware_Library/n32g4fr_std_periph_driver/src/
A Dn32g4fr_usart.c200 assert_param(IS_USART_PARITY(USART_InitStruct->Parity)); in USART_Init()
201 assert_param(IS_USART_MODE(USART_InitStruct->Mode)); in USART_Init()
217 tmpregister |= (uint32_t)USART_InitStruct->StopBits; in USART_Init()
230 …tmpregister |= (uint32_t)USART_InitStruct->WordLength | USART_InitStruct->Parity | USART_InitStruc… in USART_Init()
240 tmpregister |= USART_InitStruct->HardwareFlowControl; in USART_Init()
280 void USART_StructInit(USART_InitType* USART_InitStruct) in USART_StructInit() argument
283 USART_InitStruct->BaudRate = 9600; in USART_StructInit()
284 USART_InitStruct->WordLength = USART_WL_8B; in USART_StructInit()
285 USART_InitStruct->StopBits = USART_STPB_1; in USART_StructInit()
286 USART_InitStruct->Parity = USART_PE_NO; in USART_StructInit()
[all …]
/bsp/n32/libraries/N32G45x_Firmware_Library/n32g45x_std_periph_driver/src/
A Dn32g45x_usart.c200 assert_param(IS_USART_PARITY(USART_InitStruct->Parity)); in USART_Init()
201 assert_param(IS_USART_MODE(USART_InitStruct->Mode)); in USART_Init()
217 tmpregister |= (uint32_t)USART_InitStruct->StopBits; in USART_Init()
230 …tmpregister |= (uint32_t)USART_InitStruct->WordLength | USART_InitStruct->Parity | USART_InitStruc… in USART_Init()
240 tmpregister |= USART_InitStruct->HardwareFlowControl; in USART_Init()
280 void USART_StructInit(USART_InitType* USART_InitStruct) in USART_StructInit() argument
283 USART_InitStruct->BaudRate = 9600; in USART_StructInit()
284 USART_InitStruct->WordLength = USART_WL_8B; in USART_StructInit()
285 USART_InitStruct->StopBits = USART_STPB_1; in USART_StructInit()
286 USART_InitStruct->Parity = USART_PE_NO; in USART_StructInit()
[all …]
/bsp/n32/libraries/N32WB452_Firmware_Library/n32wb452_std_periph_driver/src/
A Dn32wb452_usart.c200 assert_param(IS_USART_PARITY(USART_InitStruct->Parity)); in USART_Init()
201 assert_param(IS_USART_MODE(USART_InitStruct->Mode)); in USART_Init()
217 tmpregister |= (uint32_t)USART_InitStruct->StopBits; in USART_Init()
230 …tmpregister |= (uint32_t)USART_InitStruct->WordLength | USART_InitStruct->Parity | USART_InitStruc… in USART_Init()
240 tmpregister |= USART_InitStruct->HardwareFlowControl; in USART_Init()
280 void USART_StructInit(USART_InitType* USART_InitStruct) in USART_StructInit() argument
283 USART_InitStruct->BaudRate = 9600; in USART_StructInit()
284 USART_InitStruct->WordLength = USART_WL_8B; in USART_StructInit()
285 USART_InitStruct->StopBits = USART_STPB_1; in USART_StructInit()
286 USART_InitStruct->Parity = USART_PE_NO; in USART_StructInit()
[all …]
/bsp/n32g452xx/Libraries/N32_Std_Driver/n32g45x_std_periph_driver/src/
A Dn32g45x_usart.c200 assert_param(IS_USART_PARITY(USART_InitStruct->Parity)); in USART_Init()
201 assert_param(IS_USART_MODE(USART_InitStruct->Mode)); in USART_Init()
217 tmpregister |= (uint32_t)USART_InitStruct->StopBits; in USART_Init()
230 …tmpregister |= (uint32_t)USART_InitStruct->WordLength | USART_InitStruct->Parity | USART_InitStruc… in USART_Init()
240 tmpregister |= USART_InitStruct->HardwareFlowControl; in USART_Init()
275 void USART_StructInit(USART_InitType* USART_InitStruct) in USART_StructInit() argument
278 USART_InitStruct->BaudRate = 9600; in USART_StructInit()
279 USART_InitStruct->WordLength = USART_WL_8B; in USART_StructInit()
280 USART_InitStruct->StopBits = USART_STPB_1; in USART_StructInit()
281 USART_InitStruct->Parity = USART_PE_NO; in USART_StructInit()
[all …]
/bsp/wch/arm/Libraries/CH32F10x_StdPeriph_Driver/StdPeriph_Driver/src/
A Dch32f10x_usart.c105 void USART_Init(USART_TypeDef* USARTx, USART_InitTypeDef* USART_InitStruct) in USART_Init() argument
120 tmpreg |= (uint32_t)USART_InitStruct->USART_StopBits; in USART_Init()
125 tmpreg |= (uint32_t)USART_InitStruct->USART_WordLength | USART_InitStruct->USART_Parity | in USART_Init()
126 USART_InitStruct->USART_Mode; in USART_Init()
131 tmpreg |= USART_InitStruct->USART_HardwareFlowControl; in USART_Init()
176 void USART_StructInit(USART_InitTypeDef* USART_InitStruct) in USART_StructInit() argument
178 USART_InitStruct->USART_BaudRate = 9600; in USART_StructInit()
179 USART_InitStruct->USART_WordLength = USART_WordLength_8b; in USART_StructInit()
180 USART_InitStruct->USART_StopBits = USART_StopBits_1; in USART_StructInit()
181 USART_InitStruct->USART_Parity = USART_Parity_No ; in USART_StructInit()
[all …]
/bsp/wch/arm/Libraries/CH32F20x_StdPeriph_Driver/StdPeriph_Driver/src/
A Dch32f20x_usart.c104 void USART_Init(USART_TypeDef* USARTx, USART_InitTypeDef* USART_InitStruct) in USART_Init() argument
119 tmpreg |= (uint32_t)USART_InitStruct->USART_StopBits; in USART_Init()
124 tmpreg |= (uint32_t)USART_InitStruct->USART_WordLength | USART_InitStruct->USART_Parity | in USART_Init()
125 USART_InitStruct->USART_Mode; in USART_Init()
130 tmpreg |= USART_InitStruct->USART_HardwareFlowControl; in USART_Init()
175 void USART_StructInit(USART_InitTypeDef* USART_InitStruct) in USART_StructInit() argument
177 USART_InitStruct->USART_BaudRate = 9600; in USART_StructInit()
178 USART_InitStruct->USART_WordLength = USART_WordLength_8b; in USART_StructInit()
179 USART_InitStruct->USART_StopBits = USART_StopBits_1; in USART_StructInit()
180 USART_InitStruct->USART_Parity = USART_Parity_No ; in USART_StructInit()
[all …]
/bsp/wch/risc-v/Libraries/CH32V10x_StdPeriph_Driver/StdPeriph_Driver/src/
A Dch32v10x_usart.c113 void USART_Init(USART_TypeDef *USARTx, USART_InitTypeDef *USART_InitStruct) in USART_Init() argument
128 tmpreg |= (uint32_t)USART_InitStruct->USART_StopBits; in USART_Init()
133 tmpreg |= (uint32_t)USART_InitStruct->USART_WordLength | USART_InitStruct->USART_Parity | in USART_Init()
134 USART_InitStruct->USART_Mode; in USART_Init()
139 tmpreg |= USART_InitStruct->USART_HardwareFlowControl; in USART_Init()
187 void USART_StructInit(USART_InitTypeDef *USART_InitStruct) in USART_StructInit() argument
189 USART_InitStruct->USART_BaudRate = 9600; in USART_StructInit()
190 USART_InitStruct->USART_WordLength = USART_WordLength_8b; in USART_StructInit()
191 USART_InitStruct->USART_StopBits = USART_StopBits_1; in USART_StructInit()
192 USART_InitStruct->USART_Parity = USART_Parity_No; in USART_StructInit()
[all …]
/bsp/ht32/libraries/HT32_STD_1xxxx_FWLib/library/HT32F1xxxx_Driver/src/
A Dht32f1xxxx_usart.c164 Assert_Param(IS_USART_PARITY(USART_InitStruct->USART_Parity)); in USART_Init()
165 Assert_Param(IS_USART_MODE(USART_InitStruct->USART_Mode)); in USART_Init()
169 USART_InitStruct->USART_WordLength | USART_InitStruct->USART_Parity; in USART_Init()
174 USART_InitStruct->USART_WordLength | USART_InitStruct->USART_Parity | in USART_Init()
175 USART_InitStruct->USART_Mode; in USART_Init()
212 void USART_StructInit(USART_InitTypeDef* USART_InitStruct) in USART_StructInit() argument
215 USART_InitStruct->USART_BaudRate = 9600; in USART_StructInit()
216 USART_InitStruct->USART_WordLength = USART_WORDLENGTH_8B; in USART_StructInit()
217 USART_InitStruct->USART_StopBits = USART_STOPBITS_1; in USART_StructInit()
218 USART_InitStruct->USART_Parity = USART_PARITY_NO; in USART_StructInit()
[all …]
/bsp/ht32/libraries/HT32_STD_5xxxx_FWLib/library/HT32F5xxxx_Driver/src/
A Dht32f5xxxx_usart.c163 Assert_Param(IS_USART_PARITY(USART_InitStruct->USART_Parity)); in USART_Init()
164 Assert_Param(IS_USART_MODE(USART_InitStruct->USART_Mode)); in USART_Init()
167 USART_InitStruct->USART_WordLength | USART_InitStruct->USART_Parity | in USART_Init()
168 USART_InitStruct->USART_Mode; in USART_Init()
214 USARTx->DLR = uIPClock / (u32)USART_InitStruct->USART_BaudRate; in USART_Init()
222 void USART_StructInit(USART_InitTypeDef* USART_InitStruct) in USART_StructInit() argument
225 USART_InitStruct->USART_BaudRate = 9600; in USART_StructInit()
226 USART_InitStruct->USART_WordLength = USART_WORDLENGTH_8B; in USART_StructInit()
227 USART_InitStruct->USART_StopBits = USART_STOPBITS_1; in USART_StructInit()
228 USART_InitStruct->USART_Parity = USART_PARITY_NO; in USART_StructInit()
[all …]
/bsp/hk32/libraries/HK32F0xx_StdPeriph_Driver/src/
A Dhk32f0xx_usart.c179 assert_param(IS_USART_MODE(USART_InitStruct->USART_Mode)); in USART_Init()
192 tmpreg |= (uint32_t)USART_InitStruct->USART_StopBits; in USART_Init()
206 tmpreg |= (uint32_t)USART_InitStruct->USART_WordLength | USART_InitStruct->USART_Parity | in USART_Init()
207 USART_InitStruct->USART_Mode; in USART_Init()
219 tmpreg |= USART_InitStruct->USART_HardwareFlowControl; in USART_Init()
256 if (tmpreg >= (USART_InitStruct->USART_BaudRate) / 2) in USART_Init()
281 void USART_StructInit(USART_InitTypeDef *USART_InitStruct) in USART_StructInit() argument
284 USART_InitStruct->USART_BaudRate = 9600; in USART_StructInit()
285 USART_InitStruct->USART_WordLength = USART_WordLength_8b; in USART_StructInit()
286 USART_InitStruct->USART_StopBits = USART_StopBits_1; in USART_StructInit()
[all …]
/bsp/wch/arm/Libraries/CH32F10x_StdPeriph_Driver/StdPeriph_Driver/inc/
A Dch32f10x_usart.h150 void USART_Init(USART_TypeDef* USARTx, USART_InitTypeDef* USART_InitStruct);
151 void USART_StructInit(USART_InitTypeDef* USART_InitStruct);
/bsp/wch/arm/Libraries/CH32F20x_StdPeriph_Driver/StdPeriph_Driver/inc/
A Dch32f20x_usart.h153 void USART_Init(USART_TypeDef* USARTx, USART_InitTypeDef* USART_InitStruct);
154 void USART_StructInit(USART_InitTypeDef* USART_InitStruct);
/bsp/wch/risc-v/Libraries/CH32V10x_StdPeriph_Driver/StdPeriph_Driver/inc/
A Dch32v10x_usart.h152 void USART_Init(USART_TypeDef *USARTx, USART_InitTypeDef *USART_InitStruct);
153 void USART_StructInit(USART_InitTypeDef *USART_InitStruct);
/bsp/airm2m/air32f103/libraries/AIR32F10xLib/inc/
A Dair32f10x_usart.h344 void USART_Init(USART_TypeDef* USARTx, USART_InitTypeDef* USART_InitStruct);
345 void USART_StructInit(USART_InitTypeDef* USART_InitStruct);
/bsp/n32/libraries/N32L43x_Firmware_Library/n32l43x_std_periph_driver/inc/
A Dn32l43x_usart.h355 void USART_Init(USART_Module* USARTx, USART_InitType* USART_InitStruct);
356 void USART_StructInit(USART_InitType* USART_InitStruct);
/bsp/n32/libraries/N32WB452_Firmware_Library/n32wb452_std_periph_driver/inc/
A Dn32wb452_usart.h356 void USART_Init(USART_Module* USARTx, USART_InitType* USART_InitStruct);
357 void USART_StructInit(USART_InitType* USART_InitStruct);
/bsp/n32/libraries/N32L40x_Firmware_Library/n32l40x_std_periph_driver/inc/
A Dn32l40x_usart.h355 void USART_Init(USART_Module* USARTx, USART_InitType* USART_InitStruct);
356 void USART_StructInit(USART_InitType* USART_InitStruct);
/bsp/n32/libraries/N32G4FR_Firmware_Library/n32g4fr_std_periph_driver/inc/
A Dn32g4fr_usart.h356 void USART_Init(USART_Module* USARTx, USART_InitType* USART_InitStruct);
357 void USART_StructInit(USART_InitType* USART_InitStruct);
/bsp/n32/libraries/N32G43x_Firmware_Library/n32g43x_std_periph_driver/inc/
A Dn32g43x_usart.h355 void USART_Init(USART_Module* USARTx, USART_InitType* USART_InitStruct);
356 void USART_StructInit(USART_InitType* USART_InitStruct);

Completed in 58 milliseconds

12