| Electronic Components Datasheet Search |
|
AN4457 Datasheet(PDF) 17 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN4457 Datasheet(HTML) 17 Page - STMicroelectronics |
|
17 / 24 page ![]() DocID026046 Rev 1 17/24 AN4457 Software description 23 2.4.3 UART main functions This section provides a set of functions ensuring UART transmission/reception emulation. Callback functions are also available. They allow the user to implement his own code in the user file. Table 3. Callback functions Table 2. Transmission/reception functions Function Parameters Description HAL_UART_Emul_Transmit_DMA (UART_Emul_HandleTypeDef *huart, uint8_t *pData, uint16_t Size) huart: UART Emulator handle pData: Pointer to data buffer Size: Amount of data to be sent Sends data HAL_StatusTypeDef HAL_UART_Emul_Receive_DMA (UART_Emul_HandleTypeDef *huart, uint8_t *pData, uint16_t Size) huart: UART Emulator handle pData: Pointer to data buffer Size: Amount of data to be received Receives data Function Parameters Description __weak void HAL_UART_Emul_TxCpltCallback (UART_Emul_HandleTypeDef *huart) huart: UART Emulator handle This function is called at the end of transmit process. __weak void HAL_UART_Emul_RxCpltCallback (UART_Emul_HandleTypeDef *huart) huart: UART Emulator handle This function is called at the end of receive process. __weak void HAL_UART_Emul_ErrorCallback (UART_Emul_HandleTypeDef *huart) huart: UART Emulator handle This function is called when a communication error is detected. |
|
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |