-* @brief Initializes a uart instance with the uart handle and the user configuration structure.\r
-*\r
-* This function configures the uart module with user-defined settings. The user can configure the configuration\r
-* structure. The parameter handle is a pointer to point to a memory space of size #HAL_UART_HANDLE_SIZE allocated by the\r
-* caller.\r
-* Example below shows how to use this API to configure the uart.\r
-* @code\r
-* uint8_t g_UartHandleBuffer[HAL_UART_HANDLE_SIZE];\r
-* hal_uart_handle_t g_UartHandle = &g_UartHandleBuffer[0];\r
-* hal_uart_config_t config;\r
-* config.srcClock_Hz = 48000000;\r
-* config.baudRate_Bps = 115200U;\r
-* config.parityMode = kHAL_UartParityDisabled;\r
-* config.stopBitCount = kHAL_UartOneStopBit;\r
-* config.enableRx = 1;\r
-* config.enableTx = 1;\r
-* config.instance = 0;\r
-* HAL_UartInit(g_UartHandle, &config);\r
-* @endcode\r
-*\r
-* @param handle Pointer to point to a memory space of size #HAL_UART_HANDLE_SIZE allocated by the caller.\r
-* @param config Pointer to user-defined configuration structure.\r
-* @retval kStatus_HAL_UartBaudrateNotSupport Baudrate is not support in current clock source.\r
-* @retval kStatus_HAL_UartSuccess uart initialization succeed\r
-*/\r
+ * @brief Initializes a UART instance with the UART handle and the user configuration structure.\r
+ *\r
+ * This function configures the UART module with user-defined settings. The user can configure the configuration\r
+ * structure. The parameter handle is a pointer to point to a memory space of size #HAL_UART_HANDLE_SIZE allocated by\r
+ * the caller. Example below shows how to use this API to configure the UART.\r
+ * @code\r
+ * uint32_t g_UartHandleBuffer[((HAL_UART_HANDLE_SIZE + sizeof(uint32_t) - 1) / sizeof(uitn32_t))];\r
+ * hal_uart_handle_t g_UartHandle = (hal_uart_handle_t)&g_UartHandleBuffer[0];\r
+ * hal_uart_config_t config;\r
+ * config.srcClock_Hz = 48000000;\r
+ * config.baudRate_Bps = 115200U;\r
+ * config.parityMode = kHAL_UartParityDisabled;\r
+ * config.stopBitCount = kHAL_UartOneStopBit;\r
+ * config.enableRx = 1;\r
+ * config.enableTx = 1;\r
+ * config.instance = 0;\r
+ * HAL_UartInit(g_UartHandle, &config);\r
+ * @endcode\r
+ *\r
+ * @param handle Pointer to point to a memory space of size #HAL_UART_HANDLE_SIZE allocated by the caller.\r
+ * The handle should be 4 byte aligned, because unaligned access does not support on some devices.\r
+ * @param config Pointer to user-defined configuration structure.\r
+ * @retval kStatus_HAL_UartBaudrateNotSupport Baudrate is not support in current clock source.\r
+ * @retval kStatus_HAL_UartSuccess UART initialization succeed\r
+ */\r