79 lines
2.5 KiB
C
79 lines
2.5 KiB
C
/* ###################################################################
|
|
** This component module is generated by Processor Expert. Do not modify it.
|
|
** Filename : lpuart1.c
|
|
** Project : S32K118_reva1_BaseDemo_LQFP48
|
|
** Processor : S32K118_48
|
|
** Component : lpuart
|
|
** Version : Component SDK_S32K1xx_15, Driver 01.00, CPU db: 3.00.000
|
|
** Repository : SDK_S32K1xx_15
|
|
** Compiler : GNU C Compiler
|
|
** Date/Time : 2021-09-16, 21:36, # CodeGen: 6
|
|
** Abstract :
|
|
**
|
|
**
|
|
** Copyright 1997 - 2015 Freescale Semiconductor, Inc.
|
|
** Copyright 2016-2017 NXP
|
|
** All Rights Reserved.
|
|
**
|
|
** THIS SOFTWARE IS PROVIDED BY NXP "AS IS" AND ANY EXPRESSED 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 NXP OR ITS 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.
|
|
** ###################################################################*/
|
|
/*!
|
|
** @file lpuart1.c
|
|
** @version 01.00
|
|
** @brief
|
|
**
|
|
*/
|
|
/*!
|
|
** @addtogroup lpuart1_module lpuart1 module documentation
|
|
** @{
|
|
*/
|
|
|
|
/* MODULE lpuart1
|
|
*
|
|
* @page misra_violations MISRA-C:2012 violations
|
|
*
|
|
* @section [global]
|
|
* Violates MISRA 2012 Advisory Rule 8.7, External could be made static.
|
|
* Structure is defined for usage by application code.
|
|
*/
|
|
|
|
#include "lpuart1.h"
|
|
|
|
/*! lpuart1 configuration structure */
|
|
const lpuart_user_config_t lpuart1_InitConfig0 = {
|
|
.transferType = LPUART_USING_INTERRUPTS,
|
|
.baudRate = 115200U,
|
|
.parityMode = LPUART_PARITY_DISABLED,
|
|
.stopBitCount = LPUART_ONE_STOP_BIT,
|
|
.bitCountPerChar = LPUART_8_BITS_PER_CHAR,
|
|
.rxDMAChannel = 0U,
|
|
.txDMAChannel = 0U,
|
|
};
|
|
|
|
|
|
/*! Driver state structure */
|
|
lpuart_state_t lpuart1_State;
|
|
|
|
/* END lpuart1. */
|
|
/*!
|
|
** @}
|
|
*/
|
|
/*
|
|
** ###################################################################
|
|
**
|
|
** This file was created by Processor Expert 10.1 [05.21]
|
|
** for the Freescale S32K series of microcontrollers.
|
|
**
|
|
** ###################################################################
|
|
*/
|