123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143 |
- #ifndef FLEXIO_UART_IP_CFG_DEFINES_H
- #define FLEXIO_UART_IP_CFG_DEFINES_H
- #ifdef __cplusplus
- extern "C"{
- #endif
- #include "Mcal.h"
- #define FLEXIO_UART_IP_CFG_DEFINES_VENDOR_ID 43
- #define FLEXIO_UART_IP_CFG_DEFINES_AR_RELEASE_MAJOR_VERSION 4
- #define FLEXIO_UART_IP_CFG_DEFINES_AR_RELEASE_MINOR_VERSION 4
- #define FLEXIO_UART_IP_CFG_DEFINES_AR_RELEASE_REVISION_VERSION 0
- #define FLEXIO_UART_IP_CFG_DEFINES_SW_MAJOR_VERSION 1
- #define FLEXIO_UART_IP_CFG_DEFINES_SW_MINOR_VERSION 0
- #define FLEXIO_UART_IP_CFG_DEFINES_SW_PATCH_VERSION 0
- #ifndef DISABLE_MCAL_INTERMODULE_ASR_CHECK
-
- #if ((FLEXIO_UART_IP_CFG_DEFINES_AR_RELEASE_MAJOR_VERSION != MCAL_AR_RELEASE_MAJOR_VERSION) || \
- (FLEXIO_UART_IP_CFG_DEFINES_AR_RELEASE_MINOR_VERSION != MCAL_AR_RELEASE_MINOR_VERSION))
- #error "AUTOSAR Version Numbers of Flexio_Uart_Ip_CfgDefines.h and Mcal.h are different"
- #endif
- #endif
- #ifndef FLEXIO_0_CH_0_USED
- #define FLEXIO_0_CH_0_USED
- #else
- #error "CHANNEL_0 cannot be used by UART driver. Channel locked by another driver!"
- #endif
- #ifndef FLEXIO_0_CH_1_USED
- #define FLEXIO_0_CH_1_USED
- #else
- #error "CHANNEL_1 cannot be used by UART driver. Channel locked by another driver!"
- #endif
- #ifndef FLEXIO_0_PIN_6_USED
- #define FLEXIO_0_PIN_6_USED
- #else
- #error "PIN_6 cannot be used by UART driver. Pin used by another driver!"
- #endif
- #ifndef FLEXIO_0_PIN_7_USED
- #define FLEXIO_0_PIN_7_USED
- #else
- #error "PIN_7 cannot be used by UART driver. Pin used by another driver!"
- #endif
- #ifdef FLEXIO_0_CH_0_USED
- #define UART_CHANNEL_0_USED
- #else
- #error "CHANNEL_0 cannot be used by UART driver. Channel locked by other driver!"
- #endif
- #ifdef FLEXIO_0_CH_1_USED
- #define UART_CHANNEL_1_USED
- #else
- #error "CHANNEL_1 cannot be used by UART driver. Channel locked by other driver!"
- #endif
- #ifdef __cplusplus
- }
- #endif
- #endif
|