Home
last modified time | relevance | path

Searched refs:usartConfig (Results 1 – 8 of 8) sorted by relevance

/bsp/apm32/libraries/APM32F4xx_Library/APM32F4xx_StdPeriphDriver/src/
A Dapm32f4xx_usart.c109 usart->CTRL1_B.RXEN = usartConfig->mode & 0x01; in USART_Config()
110 usart->CTRL1_B.TXEN = usartConfig->mode >> 1; in USART_Config()
111 usart->CTRL1_B.PCFG = usartConfig->parity >> 1; in USART_Config()
112 usart->CTRL1_B.PCEN = usartConfig->parity & 0x01; in USART_Config()
113 usart->CTRL1_B.DBLCFG = usartConfig->wordLength; in USART_Config()
115 usart->CTRL2_B.STOPCFG = usartConfig->stopBits; in USART_Config()
164 usartConfig->baudRate = 9600; in USART_ConfigStructInit()
165 usartConfig->wordLength = USART_WORD_LEN_8B; in USART_ConfigStructInit()
166 usartConfig->stopBits = USART_STOP_BIT_1; in USART_ConfigStructInit()
167 usartConfig->parity = USART_PARITY_NONE ; in USART_ConfigStructInit()
[all …]
/bsp/apm32/libraries/APM32E10x_Library/APM32E10x_StdPeriphDriver/src/
A Dapm32e10x_usart.c97 temp |= (uint32_t)usartConfig->mode | \ in USART_Config()
98 (uint32_t)usartConfig->parity | \ in USART_Config()
99 (uint32_t)usartConfig->wordLength; in USART_Config()
104 temp |= usartConfig->stopBits; in USART_Config()
109 temp |= (uint32_t)usartConfig->hardwareFlow; in USART_Config()
136 void USART_ConfigStructInit(USART_Config_T* usartConfig) in USART_ConfigStructInit() argument
138 usartConfig->baudRate = 9600; in USART_ConfigStructInit()
139 usartConfig->wordLength = USART_WORD_LEN_8B; in USART_ConfigStructInit()
140 usartConfig->stopBits = USART_STOP_BIT_1; in USART_ConfigStructInit()
141 usartConfig->parity = USART_PARITY_NONE ; in USART_ConfigStructInit()
[all …]
/bsp/apm32/libraries/APM32F10x_Library/APM32F10x_StdPeriphDriver/src/
A Dapm32f10x_usart.c97 temp |= (uint32_t)usartConfig->mode | \ in USART_Config()
98 (uint32_t)usartConfig->parity | \ in USART_Config()
99 (uint32_t)usartConfig->wordLength; in USART_Config()
104 temp |= usartConfig->stopBits; in USART_Config()
109 temp |= (uint32_t)usartConfig->hardwareFlow; in USART_Config()
136 void USART_ConfigStructInit(USART_Config_T* usartConfig) in USART_ConfigStructInit() argument
138 usartConfig->baudRate = 9600; in USART_ConfigStructInit()
139 usartConfig->wordLength = USART_WORD_LEN_8B; in USART_ConfigStructInit()
140 usartConfig->stopBits = USART_STOP_BIT_1; in USART_ConfigStructInit()
141 usartConfig->parity = USART_PARITY_NONE ; in USART_ConfigStructInit()
[all …]
/bsp/apm32/libraries/APM32S10x_Library/APM32S10x_StdPeriphDriver/src/
A Dapm32s10x_usart.c87 temp |= (uint32_t)usartConfig->mode | \ in USART_Config()
88 (uint32_t)usartConfig->parity | \ in USART_Config()
89 (uint32_t)usartConfig->wordLength; in USART_Config()
94 temp |= usartConfig->stopBits; in USART_Config()
99 temp |= (uint32_t)usartConfig->hardwareFlow; in USART_Config()
126 void USART_ConfigStructInit(USART_Config_T* usartConfig) in USART_ConfigStructInit() argument
128 usartConfig->baudRate = 9600; in USART_ConfigStructInit()
129 usartConfig->wordLength = USART_WORD_LEN_8B; in USART_ConfigStructInit()
130 usartConfig->stopBits = USART_STOP_BIT_1; in USART_ConfigStructInit()
131 usartConfig->parity = USART_PARITY_NONE ; in USART_ConfigStructInit()
[all …]
/bsp/apm32/libraries/APM32F4xx_Library/APM32F4xx_StdPeriphDriver/inc/
A Dapm32f4xx_usart.h249 void USART_Config(USART_T* uart, USART_Config_T* usartConfig);
250 void USART_ConfigStructInit(USART_Config_T* usartConfig);
/bsp/apm32/libraries/APM32E10x_Library/APM32E10x_StdPeriphDriver/inc/
A Dapm32e10x_usart.h246 void USART_Config(USART_T* uart, USART_Config_T* usartConfig);
247 void USART_ConfigStructInit(USART_Config_T* usartConfig);
/bsp/apm32/libraries/APM32F10x_Library/APM32F10x_StdPeriphDriver/inc/
A Dapm32f10x_usart.h246 void USART_Config(USART_T* uart, USART_Config_T* usartConfig);
247 void USART_ConfigStructInit(USART_Config_T* usartConfig);
/bsp/apm32/libraries/APM32S10x_Library/APM32S10x_StdPeriphDriver/inc/
A Dapm32s10x_usart.h246 void USART_Config(USART_T* uart, USART_Config_T* usartConfig);
247 void USART_ConfigStructInit(USART_Config_T* usartConfig);

Completed in 13 milliseconds