/*
 * Copyright 2020 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

/* ###################################################################
**     This component module is generated by Processor Expert. Do not modify it.
**     Filename    : DataUart.h
**     Project     : Luchador Serial Fimware KL27
**     Processor   : MKL27Z256VLH4
**     Component   : fsl_lpuart
**     Version     : Component 1.3.0, Driver 01.00, CPU db: 3.00.000
**     Repository  : KSDK 1.3.0
**     Compiler    : GNU C Compiler
**     Date/Time   : 2018-12-08, 16:34, # CodeGen: 37
**     Contents    :
**         LPUART_DRV_DmaInit                - lpuart_status_t LPUART_DRV_DmaInit(uint32_t instance,lpuart_dma_state_t *...
**         LPUART_DRV_DmaDeinit              - lpuart_status_t LPUART_DRV_DmaDeinit(uint32_t instance);
**         LPUART_DRV_DmaSendDataBlocking    - lpuart_status_t LPUART_DRV_DmaSendDataBlocking(uint32_t instance,const...
**         LPUART_DRV_DmaSendData            - lpuart_status_t LPUART_DRV_DmaSendData(uint32_t instance,const uint8_t *...
**         LPUART_DRV_DmaGetTransmitStatus   - lpuart_status_t LPUART_DRV_DmaGetTransmitStatus(uint32_t instance,uint32_t *...
**         LPUART_DRV_DmaAbortSendingData    - lpuart_status_t LPUART_DRV_DmaAbortSendingData(uint32_t instance);
**         LPUART_DRV_DmaReceiveDataBlocking - lpuart_status_t LPUART_DRV_DmaReceiveDataBlocking(uint32_t instance,uint8_t *...
**         LPUART_DRV_DmaReceiveData         - lpuart_status_t LPUART_DRV_DmaReceiveData(uint32_t instance,uint8_t *...
**         LPUART_DRV_DmaGetReceiveStatus    - lpuart_status_t LPUART_DRV_DmaGetReceiveStatus(uint32_t instance,uint32_t *...
**         LPUART_DRV_DmaAbortReceivingData  - lpuart_status_t LPUART_DRV_DmaAbortReceivingData(uint32_t instance);
**
**     Copyright : 1997 - 2015 Freescale Semiconductor, Inc. 
**     All Rights Reserved.
**     
**     Redistribution and use in source and binary forms, with or without modification,
**     are permitted provided that the following conditions are met:
**     
**     o Redistributions of source code must retain the above copyright notice, this list
**       of conditions and the following disclaimer.
**     
**     o Redistributions in binary form must reproduce the above copyright notice, this
**       list of conditions and the following disclaimer in the documentation and/or
**       other materials provided with the distribution.
**     
**     o Neither the name of Freescale Semiconductor, Inc. nor the names of its
**       contributors may be used to endorse or promote products derived from this
**       software without specific prior written permission.
**     
**     THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
**     ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
**     WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
**     DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
**     ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
**     (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
**     LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
**     ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
**     (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
**     SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
**     
**     http: www.freescale.com
**     mail: support@freescale.com
** ###################################################################*/
/*!
** @file DataUart.h
** @version 01.00
*/         
/*!
**  @addtogroup DataUart_module DataUart module documentation
**  @{
*/         
#ifndef __DataUart_H
#define __DataUart_H
/* MODULE DataUart. */
/* Include inherited beans */
#include "osa1.h"
#include "clockMan1.h"
#include "dmaController1.h"
#include "Cpu.h"
#include "fsl_lpuart_dma_driver.h"
/*! @brief Device instance number */
#define DataUart_IDX LPUART0_IDX
/*! @brief Device instance number for backward compatibility */
#define FSL_DATAUART DataUart_IDX
  
/*! Driver state structure with DMA */
extern lpuart_dma_state_t DataUart_State;

/*! @brief Configuration declaration */
extern const lpuart_dma_user_config_t DataUart_InitConfig0;
    
#endif
/* ifndef __DataUart_H */
/*!
** @}
*/
/*
** ###################################################################
**
**     This file was created by Processor Expert 10.5 [05.21]
**     for the Freescale Kinetis series of microcontrollers.
**
** ###################################################################
*/
