mirror of
https://github.com/Dev-KATECH/ADM.git
synced 2026-05-17 01:43:59 +09:00
115 lines
5.4 KiB
C
115 lines
5.4 KiB
C
/*==================================================================================================
|
|
* Project : RTD AUTOSAR 4.4
|
|
* Platform : CORTEXM
|
|
* Peripheral : FLEXIO
|
|
* Dependencies :
|
|
*
|
|
* Autosar Version : 4.4.0
|
|
* Autosar Revision : ASR_REL_4_4_REV_0000
|
|
* Autosar Conf.Variant :
|
|
* SW Version : 0.9.0
|
|
* Build Version : S32K3_RTD_0_9_0__ASR_REL_4_4_REV_0000_20210326
|
|
*
|
|
* (c) Copyright 2020 - 2021 NXP Semiconductors
|
|
* All Rights Reserved.
|
|
*
|
|
* NXP Confidential. This software is owned or controlled by NXP and may only be
|
|
* used strictly in accordance with the applicable license terms. By expressly
|
|
* accepting such terms or by downloading, installing, activating and/or otherwise
|
|
* using the software, you are agreeing that you have read, and that you agree to
|
|
* comply with and are bound by, such license terms. If you do not agree to be
|
|
* bound by the applicable license terms, then you may not retain, install,
|
|
* activate or otherwise use the software.
|
|
==================================================================================================*/
|
|
|
|
#ifndef LPUART_UART_IP_DEFINES_H
|
|
#define LPUART_UART_IP_DEFINES_H
|
|
|
|
/**
|
|
* @file
|
|
* @defgroup lpuart_uart_ip Lpuart UART IPL
|
|
* @addtogroup lpuart_uart_ip Lpuart UART IPL
|
|
* @{
|
|
*/
|
|
|
|
/*==================================================================================================
|
|
* INCLUDE FILES
|
|
* 1) system and project includes
|
|
* 2) needed interfaces from external units
|
|
* 3) internal and external interfaces from this unit
|
|
* 4) user callback header files
|
|
==================================================================================================*/
|
|
#include "Mcal.h"
|
|
/*==================================================================================================
|
|
* SOURCE FILE VERSION INFORMATION
|
|
==================================================================================================*/
|
|
#define LPUART_UART_IP_DEFINES_VENDOR_ID 43
|
|
#define LPUART_UART_IP_DEFINES_AR_RELEASE_MAJOR_VERSION 4
|
|
#define LPUART_UART_IP_DEFINES_AR_RELEASE_MINOR_VERSION 4
|
|
#define LPUART_UART_IP_DEFINES_AR_RELEASE_REVISION_VERSION 0
|
|
#define LPUART_UART_IP_DEFINES_SW_MAJOR_VERSION 0
|
|
#define LPUART_UART_IP_DEFINES_SW_MINOR_VERSION 9
|
|
#define LPUART_UART_IP_DEFINES_SW_PATCH_VERSION 0
|
|
|
|
/*==================================================================================================
|
|
* FILE VERSION CHECKS
|
|
==================================================================================================*/
|
|
|
|
/*==================================================================================================
|
|
* CONSTANTS
|
|
==================================================================================================*/
|
|
|
|
/*==================================================================================================
|
|
* DEFINES AND MACROS
|
|
==================================================================================================*/
|
|
/* @brief Development error detection */
|
|
#define LPUART_UART_IP_DEV_ERROR_DETECT (STD_ON)
|
|
|
|
/* @brief Number of available hardware instances */
|
|
#define LPUART_UART_IP_NUMBER_OF_INSTANCES (16U)
|
|
|
|
/* @brief Uart Osif source counter. This parameter is used to select between different OsIf counter implementation */
|
|
#define LPUART_UART_IP_TIMEOUT_TYPE (OSIF_COUNTER_DUMMY)
|
|
|
|
/* @brief Number of loops before returning STATUS_TIMEOUT.*/
|
|
#define LPUART_UART_IP_TIMEOUT_VALUE_US (0)
|
|
|
|
/* @brief Lpuart DMA support */
|
|
#define LPUART_UART_IP_HAS_DMA_ENABLED (STD_OFF)
|
|
|
|
/* @brief Lpuart Usermode support */
|
|
#define LPUART_UART_ENABLE_USER_MODE_SUPPORT (STD_OFF) /* Disable User Mode */
|
|
|
|
/* @brief Lpuart DMA enabled instances */
|
|
#define FEATURE_LPUART_IP_INST_HAS_DMA {TRUE,TRUE,TRUE,TRUE,TRUE,TRUE,TRUE,TRUE,TRUE,TRUE,TRUE,TRUE,TRUE,TRUE,TRUE,TRUE}
|
|
|
|
/* @brief Lpuart Base instance list */
|
|
#define FEATURE_LPUART_IP_SPECIFIC_BASE_PTR {LPUART_0,LPUART_1,LPUART_2,LPUART_3,LPUART_4,LPUART_5,LPUART_6,LPUART_7,LPUART_8,LPUART_9,LPUART_10,LPUART_11,LPUART_12,LPUART_13,LPUART_14,LPUART_15}
|
|
|
|
/*==================================================================================================
|
|
* ENUMS
|
|
==================================================================================================*/
|
|
|
|
/*==================================================================================================
|
|
* STRUCTURES AND OTHER TYPEDEFS
|
|
==================================================================================================*/
|
|
|
|
/*==================================================================================================
|
|
* GLOBAL VARIABLE DECLARATIONS
|
|
==================================================================================================*/
|
|
|
|
/*==================================================================================================
|
|
* FUNCTION PROTOTYPES
|
|
==================================================================================================*/
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
/** @} */
|
|
|
|
#endif /* LPUART_UART_IP_DEFINES_H */
|
|
|