<p>This section describes the programming interface of the LPUART Cortex Microcontroller Software Interface Standard (CMSIS) driver. And this driver defines generic peripheral driver interfaces for middleware making it reusable across a wide range of supported microcontroller devices. The API connects microcontroller peripherals with middleware that implements for example communication stacks, file systems, or graphic user interfaces. More information and usage methord please refer to <ahref="http://www.keil.com/pack/doc/cmsis/Driver/html/index.html">http://www.keil.com/pack/doc/cmsis/Driver/html/index.html</a>.</p>
<p>The LPUART driver includes transactional APIs.</p>
<p>Transactional APIs can be used to enable the peripheral quickly and in the application if the code size and performance of transactional APIs can satisfy the requirements. If the code size and performance are critical requirements please write custom code.</p>
<h1><aclass="anchor"id="LPUARTFunGrps"></a>
Function groups</h1>
<h2><aclass="anchor"id="LPUARTGetVersionOps"></a>
LPUART CMSIS GetVersion Operation</h2>
<p>This function group will return the LPUART CMSIS Driver version to user.</p>
<h2><aclass="anchor"id="LPUARTGetCapOps"></a>
LPUART CMSIS GetCapabilities Operation</h2>
<p>This function group will return the capabilities of this driver.</p>
<h2><aclass="anchor"id="LPUARTInitResetOps"></a>
LPUART CMSIS Initialize and Uninitialize Operation</h2>
<p>This function will initialize and uninitialize the lpuart instance . And this API must be called before you configure a lpuart instance or after you Deinit a lpuart instance.The right steps to start an instance is that you must initialize the instance which been slected firstly,then you can power on the instance.After these all have been done,you can configure the instance by using control operation.If you want to Uninitialize the instance, you must power off the instance first.</p>
<h2><aclass="anchor"id="LPUARTTransOps"></a>
LPUART CMSIS Transfer Operation</h2>
<p>This function group controls the transfer, send/receive data.</p>
<h2><aclass="anchor"id="LPUARTStatusOps"></a>
LPUART CMSIS Status Operation</h2>
<p>This function group gets the LPUART transfer status.</p>
<h2><aclass="anchor"id="LPUARTControlOps"></a>
LPUART CMSIS Control Operation</h2>
<p>This function can configure an instance ,set baudrate for lpuart, get current baudrate ,set transfer data bits and other control command. </p>