/****************************************************************************** * Copyright (C) 2021, Xiaohua Semiconductor Co., Ltd. All rights reserved. * * This software component is licensed by XHSC under BSD 3-Clause license * (the "License"); You may not use this file except in compliance with the * License. You may obtain a copy of the License at: * opensource.org/licenses/BSD-3-Clause * ******************************************************************************/ /****************************************************************************** * @file lpuart.h * * @brief Header file for LPUART functions * * @author MADS Team * ******************************************************************************/ #ifndef __LPUART_H__ #define __LPUART_H__ /***************************************************************************** * Include files *****************************************************************************/ #include "ddl.h" #ifdef __cplusplus extern "C" { #endif /** ****************************************************************************** ** \defgroup LPUartGroup Universal Asynchronous Receiver/Transmitter (LPUART) ** ******************************************************************************/ //@{ /******************************************************************************/ /* Global pre-processor symbols/macros ('#define') */ /******************************************************************************/ /****************************************************************************** * Global type definitions ******************************************************************************/ /** ****************************************************************************** **\brief LPuart通道选择 ******************************************************************************/ /** ****************************************************************************** ** \brief lpuart 的sclk时钟源选择 ******************************************************************************/ typedef enum en_lpuart_sclk_sel { LPUartMskPclk = 0u<<11, ///