In some cases HAL_UART_DeInit is used before using HAL_UART_Init, why is that?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-03-01 4:38 AM
In some cases HAL_UART_DeInit is used before using HAL_UART_Init, why is that?
Labels:
- Labels:
-
STM32Cube MCU Packages
-
UART-USART
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-03-02 2:28 PM
This probably depends on the case. Could you give examples?
-- pa
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-03-08 3:47 AM
Not really :grinning_face: since I don't know when it is used and when it isn't used. Perhaps you can give some cases where HAL_UART_DeInit should be used and explain why?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-03-08 4:06 AM
Deinit is to me to restore the peripheral to is after reset state.
