-
Notifications
You must be signed in to change notification settings - Fork 0
/
Port_Cfg.h
62 lines (51 loc) · 1.8 KB
/
Port_Cfg.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
/******************************************************************************
*
* Module: PORT
*
* File Name: Port_Cfg.h
*
* Description: Pre-Compile Configuration Header file for TM4C123GH6PM Microcontroller - Port Driver
*
* Author: Assem Khaled
******************************************************************************/
#ifndef PORT_CFG_H
#define PORT_CFG_H
/*
* Module Version 1.0.0
*/
#define PORT_CFG_SW_MAJOR_VERSION (1U)
#define PORT_CFG_SW_MINOR_VERSION (0U)
#define PORT_CFG_SW_PATCH_VERSION (0U)
/*
* AUTOSAR Version 4.0.3
*/
#define PORT_CFG_AR_RELEASE_MAJOR_VERSION (4U)
#define PORT_CFG_AR_RELEASE_MINOR_VERSION (0U)
#define PORT_CFG_AR_RELEASE_PATCH_VERSION (3U)
/* Pre-compile option for Development Error Detect */
#define PORT_DEV_ERROR_DETECT (STD_ON)
/* Pre-compile option for Version Info API */
#define PORT_VERSION_INFO_API (STD_ON)
/* Pre-compile option for presence of Port_SetPinDirection API */
#define PORT_SET_PIN_DIRECTION_API (STD_ON)
/* Pre-compile option for presence of Port_SetPinMode API */
#define PORT_SET_PIN_MODE_API (STD_ON)
/* Number of PINS */
#define PORT_CONFIGURED_PINS (43U)
/* Tiva-c Ports */
#define PORT_PortA (0U)
#define PORT_PortB (1U)
#define PORT_PortC (2U)
#define PORT_PortD (3U)
#define PORT_PortE (4U)
#define PORT_PortF (5U)
/* Tiva-c Pins */
#define PORT_Pin0 (0U)
#define PORT_Pin1 (1U)
#define PORT_Pin2 (2U)
#define PORT_Pin3 (3U)
#define PORT_Pin4 (4U)
#define PORT_Pin5 (5U)
#define PORT_Pin6 (6U)
#define PORT_Pin7 (7U)
#endif /* PORT_CFG_H */