TLE986x Device Family SDK
port.h
Go to the documentation of this file.
1 /*
2  ***********************************************************************************************************************
3  *
4  * Copyright (c) 2015, Infineon Technologies AG
5  * All rights reserved.
6  *
7  * Redistribution and use in source and binary forms, with or without modification,are permitted provided that the
8  * following conditions are met:
9  *
10  * Redistributions of source code must retain the above copyright notice, this list of conditions and the following
11  * disclaimer.
12  *
13  * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the
14  * following disclaimer in the documentation and/or other materials provided with the distribution.
15  *
16  * Neither the name of the copyright holders nor the names of its contributors may be used to endorse or promote
17  * products derived from this software without specific prior written permission.
18  *
19  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
20  * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21  * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
22  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
23  * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
24  * WHETHER IN CONTRACT, STRICT LIABILITY,OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
25  * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26  *
27  **********************************************************************************************************************/
39 /*******************************************************************************
40 ** Author(s) Identity **
41 ********************************************************************************
42 ** Initials Name **
43 ** ---------------------------------------------------------------------------**
44 ** SS Steffen Storandt **
45 ** DM Daniel Mysliwitz **
46 ** JO Julia Ott **
47 ** TA Thomas Albersinger **
48 ** BG Blandine Guillot **
49 *******************************************************************************/
50 
51 /*******************************************************************************
52 ** Revision Control History **
53 ********************************************************************************
54 ** V0.1.0: 2012-11-12, SS: Initial version **
55 ** V0.2.0: 2012-12-13, SS: New SFR format **
56 ** V0.3.0: 2013-02-10, DM: Function Port_ChangePin() enhanced by Port Dir **
57 ** adjustment, PORT_ChangePinAlt() added to set the **
58 ** alternative settings for a Port Pin at runtime **
59 ** V0.4.0: 2013-10-16, DM: Port Configuration changed into header file **
60 ** with Config Wizard **
61 ** Configuration stored into #defines **
62 ** Port_Init() modified **
63 ** V0.5.0: 2014-04-25, TA: Port_Init(): use #defines from Config Wizard **
64 ** V0.5.1: 2015-02-10, DM: Individual header file added **
65 ** V0.5.2: 2017-02-16, DM: Port prefix changed to capital letters **
66 ** API extended **
67 ** V0.5.3: 2017-10-10, DM: MISRA 2012 compliance, the following PC-Lint **
68 ** rules are globally deactivated: **
69 ** - Info 793: ANSI/ISO limit of 6 'significant **
70 ** characters in an external identifier **
71 ** - Info 835: A zero has been given as right **
72 ** argument to operator **
73 ** - Info 845: The left argument to operator '&' **
74 ** is certain to be 0 **
75 ** The following rules are locally deactivated: **
76 ** - Warning 572: Excessive shift value (precision **
77 ** 0 shifted right by 1) [MISRA Rule 38] **
78 ** V0.5.4: 2018-03-20, DM: Double slashes removed to meet MISRA 2012 **
79 ** Replaced macros by INLINE functions **
80 ** Replaced register accesses within functions by **
81 ** function calls **
82 ** Replaced __STATIC_INLINE by INLINE **
83 ** V0.5.5: 2018-11-27, JO: Doxygen update, moved revision history from **
84 ** port.c to port.h **
85 ** Port_Init() uses new defines at **
86 ** PORT_XML_VERSION >= 10303 **
87 ** Replaced __STATIC_INLINE by INLINE **
88 ** V0.5.6: 2020-02-28, BG: Updated revision history format **
89 *******************************************************************************/
90 
91 #ifndef PORT_H
92 #define PORT_H
93 
94 /*******************************************************************************
95 ** Includes **
96 *******************************************************************************/
97 #include "tle986x.h"
98 #include "types.h"
99 #include "cmsis_misra.h"
100 #include "sfr_access.h"
101 
102 /*******************************************************************************
103 ** Global Type Definitions **
104 *******************************************************************************/
106 #define PORT_P0 (0U)
107 
108 #define PORT_P1 (1U)
109 
110 #define PORT_P2 (2U)
111 
113 #define PORT_ACTION_CLEAR (0U)
114 
115 #define PORT_ACTION_SET (1U)
116 
117 #define PORT_ACTION_TOGGLE (2U)
118 
119 #define PORT_ACTION_INPUT (3U)
120 
121 #define PORT_ACTION_OUTPUT (4U)
122 
123 /*******************************************************************************
124 ** Global Inline Function Definitions **
125 *******************************************************************************/
140 INLINE void PORT_P00_Output_Set(void)
141 {
143 }
144 
160 INLINE void PORT_P00_Input_Set(void)
161 {
163 }
164 
179 INLINE void PORT_P01_Output_Set(void)
180 {
182 }
183 
199 INLINE void PORT_P01_Input_Set(void)
200 {
202 }
203 
218 INLINE void PORT_P02_Output_Set(void)
219 {
221 }
222 
238 INLINE void PORT_P02_Input_Set(void)
239 {
241 }
242 
257 INLINE void PORT_P03_Output_Set(void)
258 {
260 }
261 
277 INLINE void PORT_P03_Input_Set(void)
278 {
280 }
281 
296 INLINE void PORT_P04_Output_Set(void)
297 {
299 }
300 
316 INLINE void PORT_P04_Input_Set(void)
317 {
319 }
320 
336 {
338 }
339 
355 {
357 }
358 
374 {
375  Field_Inv8(&PORT->P0_DATA.reg, (uint8)PORT_P0_DATA_P0_Msk);
376 }
377 
393 {
395 }
396 
412 {
414 }
415 
431 {
432  Field_Inv8(&PORT->P0_DATA.reg, (uint8)PORT_P0_DATA_P1_Msk);
433 }
434 
450 {
452 }
453 
469 {
471 }
472 
488 {
489  Field_Inv8(&PORT->P0_DATA.reg, (uint8)PORT_P0_DATA_P2_Msk);
490 }
491 
507 {
509 }
510 
526 {
528 }
529 
545 {
546  Field_Inv8(&PORT->P0_DATA.reg, (uint8)PORT_P0_DATA_P3_Msk);
547 }
548 
564 {
566 }
567 
583 {
585 }
586 
602 {
603  Field_Inv8(&PORT->P0_DATA.reg, (uint8)PORT_P0_DATA_P4_Msk);
604 }
605 
624 {
625  return ( u8_Field_Rd8(&PORT->P0_DATA.reg, (uint8)PORT_P0_DATA_P0_Pos, (uint8)PORT_P0_DATA_P0_Msk) );
626 }
627 
646 {
647  return ( u8_Field_Rd8(&PORT->P0_DATA.reg, (uint8)PORT_P0_DATA_P1_Pos, (uint8)PORT_P0_DATA_P1_Msk) );
648 }
649 
668 {
669  return ( u8_Field_Rd8(&PORT->P0_DATA.reg, (uint8)PORT_P0_DATA_P2_Pos, (uint8)PORT_P0_DATA_P2_Msk) );
670 }
671 
690 {
691  return ( u8_Field_Rd8(&PORT->P0_DATA.reg, (uint8)PORT_P0_DATA_P3_Pos, (uint8)PORT_P0_DATA_P3_Msk) );
692 }
693 
712 {
713  return ( u8_Field_Rd8(&PORT->P0_DATA.reg, (uint8)PORT_P0_DATA_P4_Pos, (uint8)PORT_P0_DATA_P4_Msk) );
714 }
715 
730 INLINE void PORT_P00_OpenDrain_En(void)
731 {
733 }
734 
750 {
752 }
753 
768 INLINE void PORT_P01_OpenDrain_En(void)
769 {
771 }
772 
788 {
790 }
791 
806 INLINE void PORT_P02_OpenDrain_En(void)
807 {
809 }
810 
826 {
828 }
829 
844 INLINE void PORT_P03_OpenDrain_En(void)
845 {
847 }
848 
864 {
866 }
867 
882 INLINE void PORT_P04_OpenDrain_En(void)
883 {
885 }
886 
902 {
904 }
905 
919 {
921 }
922 
936 {
938 }
939 
953 {
955 }
956 
970 {
972 }
973 
987 {
989 }
990 
1004 {
1006 }
1007 
1020 INLINE void PORT_P03_PullUpDown_En(void)
1021 {
1023 }
1024 
1038 {
1040 }
1041 
1054 INLINE void PORT_P04_PullUpDown_En(void)
1055 {
1057 }
1058 
1072 {
1074 }
1075 
1089 INLINE void PORT_P00_PullUp_Set(void)
1090 {
1092 }
1093 
1107 INLINE void PORT_P00_PullDown_Set(void)
1108 {
1110 }
1111 
1125 INLINE void PORT_P01_PullUp_Set(void)
1126 {
1128 }
1129 
1143 INLINE void PORT_P01_PullDown_Set(void)
1144 {
1146 }
1147 
1161 INLINE void PORT_P02_PullUp_Set(void)
1162 {
1164 }
1165 
1179 INLINE void PORT_P02_PullDown_Set(void)
1180 {
1182 }
1183 
1197 INLINE void PORT_P03_PullUp_Set(void)
1198 {
1200 }
1201 
1215 INLINE void PORT_P03_PullDown_Set(void)
1216 {
1218 }
1219 
1233 INLINE void PORT_P04_PullUp_Set(void)
1234 {
1236 }
1237 
1251 INLINE void PORT_P04_PullDown_Set(void)
1252 {
1254 }
1255 
1270 INLINE void PORT_P10_Output_Set(void)
1271 {
1273 }
1274 
1290 INLINE void PORT_P10_Input_Set(void)
1291 {
1293 }
1294 
1309 INLINE void PORT_P11_Output_Set(void)
1310 {
1312 }
1313 
1329 INLINE void PORT_P11_Input_Set(void)
1330 {
1332 }
1333 
1348 INLINE void PORT_P12_Output_Set(void)
1349 {
1351 }
1352 
1368 INLINE void PORT_P12_Input_Set(void)
1369 {
1371 }
1372 
1387 INLINE void PORT_P13_Output_Set(void)
1388 {
1390 }
1391 
1407 INLINE void PORT_P13_Input_Set(void)
1408 {
1410 }
1411 
1426 INLINE void PORT_P14_Output_Set(void)
1427 {
1429 }
1430 
1446 INLINE void PORT_P14_Input_Set(void)
1447 {
1449 }
1450 
1466 {
1468 }
1469 
1485 {
1487 }
1488 
1504 {
1505  Field_Inv8(&PORT->P1_DATA.reg, (uint8)PORT_P1_DATA_P0_Msk);
1506 }
1507 
1523 {
1525 }
1526 
1542 {
1544 }
1545 
1561 {
1562  Field_Inv8(&PORT->P1_DATA.reg, (uint8)PORT_P1_DATA_P1_Msk);
1563 }
1564 
1580 {
1582 }
1583 
1599 {
1601 }
1602 
1618 {
1619  Field_Inv8(&PORT->P1_DATA.reg, (uint8)PORT_P1_DATA_P2_Msk);
1620 }
1621 
1637 {
1639 }
1640 
1656 {
1658 }
1659 
1675 {
1676  Field_Inv8(&PORT->P1_DATA.reg, (uint8)PORT_P1_DATA_P3_Msk);
1677 }
1678 
1694 {
1696 }
1697 
1713 {
1715 }
1716 
1732 {
1733  Field_Inv8(&PORT->P1_DATA.reg, (uint8)PORT_P1_DATA_P4_Msk);
1734 }
1735 
1754 {
1755  return ( u8_Field_Rd8(&PORT->P1_DATA.reg, (uint8)PORT_P1_DATA_P0_Pos, (uint8)PORT_P1_DATA_P0_Msk) );
1756 }
1757 
1776 {
1777  return ( u8_Field_Rd8(&PORT->P1_DATA.reg, (uint8)PORT_P1_DATA_P1_Pos, (uint8)PORT_P1_DATA_P1_Msk) );
1778 }
1779 
1796 {
1797  return ( u8_Field_Rd8(&PORT->P1_DATA.reg, (uint8)PORT_P1_DATA_P2_Pos, (uint8)PORT_P1_DATA_P2_Msk) );
1798 }
1799 
1816 {
1817  return ( u8_Field_Rd8(&PORT->P1_DATA.reg, (uint8)PORT_P1_DATA_P3_Pos, (uint8)PORT_P1_DATA_P3_Msk) );
1818 }
1819 
1836 {
1837  return ( u8_Field_Rd8(&PORT->P1_DATA.reg, (uint8)PORT_P1_DATA_P4_Pos, (uint8)PORT_P1_DATA_P4_Msk) );
1838 }
1839 
1854 INLINE void PORT_P10_OpenDrain_En(void)
1855 {
1857 }
1858 
1873 INLINE void PORT_P10_OpenDrain_Dis(void)
1874 {
1876 }
1877 
1892 INLINE void PORT_P11_OpenDrain_En(void)
1893 {
1895 }
1896 
1911 INLINE void PORT_P11_OpenDrain_Dis(void)
1912 {
1914 }
1915 
1931 {
1933 }
1934 
1950 {
1952 }
1953 
1968 INLINE void PORT_P14_OpenDrain_En(void)
1969 {
1971 }
1972 
1987 INLINE void PORT_P14_OpenDrain_Dis(void)
1988 {
1990 }
1991 
2004 INLINE void PORT_P10_PullUpDown_En(void)
2005 {
2007 }
2008 
2022 {
2024 }
2025 
2038 INLINE void PORT_P11_PullUpDown_En(void)
2039 {
2041 }
2042 
2056 {
2058 }
2059 
2072 INLINE void PORT_P12_PullUpDown_En(void)
2073 {
2075 }
2076 
2090 {
2092 }
2093 
2106 INLINE void PORT_P13_PullUpDown_En(void)
2107 {
2109 }
2110 
2124 {
2126 }
2127 
2140 INLINE void PORT_P14_PullUpDown_En(void)
2141 {
2143 }
2144 
2158 {
2160 }
2161 
2175 INLINE void PORT_P10_PullUp_Set(void)
2176 {
2178 }
2179 
2193 INLINE void PORT_P10_PullDown_Set(void)
2194 {
2196 }
2197 
2211 INLINE void PORT_P11_PullUp_Set(void)
2212 {
2214 }
2215 
2229 INLINE void PORT_P11_PullDown_Set(void)
2230 {
2232 }
2233 
2247 INLINE void PORT_P12_PullUp_Set(void)
2248 {
2250 }
2251 
2265 INLINE void PORT_P12_PullDown_Set(void)
2266 {
2268 }
2269 
2283 INLINE void PORT_P13_PullUp_Set(void)
2284 {
2286 }
2287 
2301 INLINE void PORT_P13_PullDown_Set(void)
2302 {
2304 }
2305 
2319 INLINE void PORT_P14_PullUp_Set(void)
2320 {
2322 }
2323 
2337 INLINE void PORT_P14_PullDown_Set(void)
2338 {
2340 }
2341 
2354 INLINE void PORT_P20_Dis(void)
2355 {
2357 }
2358 
2374 INLINE void PORT_P20_Input_Set(void)
2375 {
2377 }
2378 
2391 INLINE void PORT_P22_Dis(void)
2392 {
2394 }
2395 
2411 INLINE void PORT_P22_Input_Set(void)
2412 {
2414 }
2415 
2428 INLINE void PORT_P23_Dis(void)
2429 {
2431 }
2432 
2448 INLINE void PORT_P23_Input_Set(void)
2449 {
2451 }
2452 
2465 INLINE void PORT_P24_Dis(void)
2466 {
2468 }
2469 
2485 INLINE void PORT_P24_Input_Set(void)
2486 {
2488 }
2489 
2502 INLINE void PORT_P25_Dis(void)
2503 {
2505 }
2506 
2522 INLINE void PORT_P25_Input_Set(void)
2523 {
2525 }
2526 
2545 {
2546  return ( u8_Field_Rd8(&PORT->P2_DATA.reg, (uint8)PORT_P2_DATA_P0_Pos, (uint8)PORT_P2_DATA_P0_Msk) );
2547 }
2548 
2567 {
2568  return ( u8_Field_Rd8(&PORT->P2_DATA.reg, (uint8)PORT_P2_DATA_P2_Pos, (uint8)PORT_P2_DATA_P2_Msk) );
2569 }
2570 
2589 {
2590  return ( u8_Field_Rd8(&PORT->P2_DATA.reg, (uint8)PORT_P2_DATA_P3_Pos, (uint8)PORT_P2_DATA_P3_Msk) );
2591 }
2592 
2611 {
2612  return ( u8_Field_Rd8(&PORT->P2_DATA.reg, (uint8)PORT_P2_DATA_P4_Pos, (uint8)PORT_P2_DATA_P4_Msk) );
2613 }
2614 
2633 {
2634  return ( u8_Field_Rd8(&PORT->P2_DATA.reg, (uint8)PORT_P2_DATA_P5_Pos, (uint8)PORT_P2_DATA_P5_Msk) );
2635 }
2636 
2649 INLINE void PORT_P20_PullUpDown_En(void)
2650 {
2652 }
2653 
2667 {
2669 }
2670 
2683 INLINE void PORT_P22_PullUpDown_En(void)
2684 {
2686 }
2687 
2701 {
2703 }
2704 
2717 INLINE void PORT_P23_PullUpDown_En(void)
2718 {
2720 }
2721 
2735 {
2737 }
2738 
2751 INLINE void PORT_P24_PullUpDown_En(void)
2752 {
2754 }
2755 
2769 {
2771 }
2772 
2785 INLINE void PORT_P25_PullUpDown_En(void)
2786 {
2788 }
2789 
2803 {
2805 }
2806 
2820 INLINE void PORT_P20_PullUp_Set(void)
2821 {
2823 }
2824 
2838 INLINE void PORT_P20_PullDown_Set(void)
2839 {
2841 }
2842 
2856 INLINE void PORT_P22_PullUp_Set(void)
2857 {
2859 }
2860 
2874 INLINE void PORT_P22_PullDown_Set(void)
2875 {
2877 }
2878 
2892 INLINE void PORT_P23_PullUp_Set(void)
2893 {
2895 }
2896 
2910 INLINE void PORT_P23_PullDown_Set(void)
2911 {
2913 }
2914 
2928 INLINE void PORT_P24_PullUp_Set(void)
2929 {
2931 }
2932 
2946 INLINE void PORT_P24_PullDown_Set(void)
2947 {
2949 }
2950 
2964 INLINE void PORT_P25_PullUp_Set(void)
2965 {
2967 }
2968 
2982 INLINE void PORT_P25_PullDown_Set(void)
2983 {
2985 }
2986 
2987 
2988 
2989 /*******************************************************************************
2990 ** Global Function Declarations **
2991 *******************************************************************************/
2997 void PORT_Init(void);
2998 
3015 void PORT_ChangePin(uint32 PortPin, uint32 Action);
3016 
3035 uint8 PORT_ReadPin(uint32 PortPin);
3036 
3055 uint8 PORT_ReadPort(uint32 Port);
3056 
3057 
3075 void PORT_ChangePinAlt(uint32 PortPin, uint8 AltSel);
3076 
3077 
3078 #endif /* PORT_H */
PORT_P00_Get
INLINE uint8 PORT_P00_Get(void)
reads Port P00 Status.
Definition: port.h:618
PORT_P04_OpenDrain_En
INLINE void PORT_P04_OpenDrain_En(void)
enables Output OpenDrain for Port P04.
Definition: port.h:877
PORT_P2_DIR_P3_Msk
#define PORT_P2_DIR_P3_Msk
Definition: tle986x.h:8528
PORT_P2_PUDSEL_P2_Pos
#define PORT_P2_PUDSEL_P2_Pos
Definition: tle986x.h:8551
PORT_P00_OpenDrain_En
INLINE void PORT_P00_OpenDrain_En(void)
enables Output OpenDrain for Port P00.
Definition: port.h:725
PORT_P1_OD_P1_Msk
#define PORT_P1_OD_P1_Msk
Definition: tle986x.h:8480
PORT_P03_Output_High_Set
INLINE void PORT_P03_Output_High_Set(void)
sets Port P03 to High Status.
Definition: port.h:501
PORT_P01_Get
INLINE uint8 PORT_P01_Get(void)
reads Port P01 Status.
Definition: port.h:640
PORT_P0_DATA_P1_Msk
#define PORT_P0_DATA_P1_Msk
Definition: tle986x.h:8381
PORT_P0_DATA_P3_Pos
#define PORT_P0_DATA_P3_Pos
Definition: tle986x.h:8384
PORT_P04_Output_High_Set
INLINE void PORT_P04_Output_High_Set(void)
sets Port P04 to High Status.
Definition: port.h:558
PORT_P04_Get
INLINE uint8 PORT_P04_Get(void)
reads Port P04 Status.
Definition: port.h:706
PORT_P24_Get
INLINE uint8 PORT_P24_Get(void)
reads Port P24 Status.
Definition: port.h:2605
PORT_P02_Output_Set
INLINE void PORT_P02_Output_Set(void)
sets Port P02 to Output.
Definition: port.h:213
PORT_P0_PUDSEL_P4_Msk
#define PORT_P0_PUDSEL_P4_Msk
Definition: tle986x.h:8431
PORT_P02_PullUpDown_Dis
INLINE void PORT_P02_PullUpDown_Dis(void)
disables PullUpDown for Port P02.
Definition: port.h:998
PORT_P23_PullUp_Set
INLINE void PORT_P23_PullUp_Set(void)
sets PullUp for Port P23.
Definition: port.h:2887
PORT_P02_Input_Set
INLINE void PORT_P02_Input_Set(void)
sets Port P02 to Input.
Definition: port.h:233
PORT_P2_DATA_P5_Msk
#define PORT_P2_DATA_P5_Msk
Definition: tle986x.h:8519
PORT_P14_Get
INLINE uint8 PORT_P14_Get(void)
reads Port P14 Status.
Definition: port.h:1830
PORT_P25_PullUpDown_Dis
INLINE void PORT_P25_PullUpDown_Dis(void)
disables PullUpDown for Port P25.
Definition: port.h:2797
PORT_P03_PullUpDown_Dis
INLINE void PORT_P03_PullUpDown_Dis(void)
disables PullUpDown for Port P03.
Definition: port.h:1032
PORT_P24_PullDown_Set
INLINE void PORT_P24_PullDown_Set(void)
sets PullDown for Port P24.
Definition: port.h:2941
PORT_P0_DIR_P3_Msk
#define PORT_P0_DIR_P3_Msk
Definition: tle986x.h:8396
PORT_P10_Output_Set
INLINE void PORT_P10_Output_Set(void)
sets Port P10 to Output.
Definition: port.h:1265
PORT_P1_DIR_P0_Msk
#define PORT_P1_DIR_P0_Msk
Definition: tle986x.h:8467
PORT_P14_PullUpDown_En
INLINE void PORT_P14_PullUpDown_En(void)
enables PullUpDown for Port P14.
Definition: port.h:2135
PORT_P1_DIR_P3_Pos
#define PORT_P1_DIR_P3_Pos
Definition: tle986x.h:8472
PORT_ChangePin
void PORT_ChangePin(uint32 PortPin, uint32 Action)
Sets/clears/toggles a port pin in a safe way, i.e. with interrupt disable.
PORT_P2_DATA_P2_Pos
#define PORT_P2_DATA_P2_Pos
Definition: tle986x.h:8512
PORT_P02_PullUpDown_En
INLINE void PORT_P02_PullUpDown_En(void)
enables PullUpDown for Port P02.
Definition: port.h:981
PORT_P11_Get
INLINE uint8 PORT_P11_Get(void)
reads Port P11 Status.
Definition: port.h:1770
PORT_P13_Output_Low_Set
INLINE void PORT_P13_Output_Low_Set(void)
sets Port P13 to Low Status.
Definition: port.h:1650
types.h
General type declarations.
PORT_P20_Dis
INLINE void PORT_P20_Dis(void)
sets Port P20 to Disable.
Definition: port.h:2349
PORT_P22_PullUpDown_Dis
INLINE void PORT_P22_PullUpDown_Dis(void)
disables PullUpDown for Port P22.
Definition: port.h:2695
PORT_P14_PullUpDown_Dis
INLINE void PORT_P14_PullUpDown_Dis(void)
disables PullUpDown for Port P14.
Definition: port.h:2152
PORT_P0_DATA_P1_Pos
#define PORT_P0_DATA_P1_Pos
Definition: tle986x.h:8380
PORT_P1_PUDEN_P4_Pos
#define PORT_P1_PUDEN_P4_Pos
Definition: tle986x.h:8494
PORT_P0_PUDEN_P1_Pos
#define PORT_P0_PUDEN_P1_Pos
Definition: tle986x.h:8413
PORT_P1_PUDSEL_P4_Pos
#define PORT_P1_PUDSEL_P4_Pos
Definition: tle986x.h:8505
PORT_P2_DIR_P5_Pos
#define PORT_P2_DIR_P5_Pos
Definition: tle986x.h:8531
PORT_P13_Output_High_Set
INLINE void PORT_P13_Output_High_Set(void)
sets Port P13 to High Status.
Definition: port.h:1631
PORT_P1_DATA_P4_Msk
#define PORT_P1_DATA_P4_Msk
Definition: tle986x.h:8464
PORT_P1_OD_P0_Msk
#define PORT_P1_OD_P0_Msk
Definition: tle986x.h:8478
PORT_P2_PUDSEL_P3_Pos
#define PORT_P2_PUDSEL_P3_Pos
Definition: tle986x.h:8553
PORT_P1_PUDSEL_P3_Pos
#define PORT_P1_PUDSEL_P3_Pos
Definition: tle986x.h:8503
PORT_P03_Input_Set
INLINE void PORT_P03_Input_Set(void)
sets Port P03 to Input.
Definition: port.h:272
PORT_P22_PullUpDown_En
INLINE void PORT_P22_PullUpDown_En(void)
enables PullUpDown for Port P22.
Definition: port.h:2678
PORT_P23_Input_Set
INLINE void PORT_P23_Input_Set(void)
sets Port P23 to Input.
Definition: port.h:2443
PORT_P03_OpenDrain_En
INLINE void PORT_P03_OpenDrain_En(void)
enables Output OpenDrain for Port P03.
Definition: port.h:839
PORT_P1_OD_P1_Pos
#define PORT_P1_OD_P1_Pos
Definition: tle986x.h:8479
PORT_P2_PUDEN_P0_Pos
#define PORT_P2_PUDEN_P0_Pos
Definition: tle986x.h:8534
PORT_P20_PullUp_Set
INLINE void PORT_P20_PullUp_Set(void)
sets PullUp for Port P20.
Definition: port.h:2815
PORT_P0_OD_P3_Msk
#define PORT_P0_OD_P3_Msk
Definition: tle986x.h:8407
PORT_P13_PullUpDown_Dis
INLINE void PORT_P13_PullUpDown_Dis(void)
disables PullUpDown for Port P13.
Definition: port.h:2118
PORT_P1_DATA_P0_Msk
#define PORT_P1_DATA_P0_Msk
Definition: tle986x.h:8456
PORT_P0_PUDEN_P3_Pos
#define PORT_P0_PUDEN_P3_Pos
Definition: tle986x.h:8417
PORT_P0_DATA_P3_Msk
#define PORT_P0_DATA_P3_Msk
Definition: tle986x.h:8385
PORT_P00_Input_Set
INLINE void PORT_P00_Input_Set(void)
sets Port P00 to Input.
Definition: port.h:155
PORT_P2_DATA_P2_Msk
#define PORT_P2_DATA_P2_Msk
Definition: tle986x.h:8513
PORT_P25_Get
INLINE uint8 PORT_P25_Get(void)
reads Port P25 Status.
Definition: port.h:2627
PORT_P12_Input_Set
INLINE void PORT_P12_Input_Set(void)
sets Port P12 to Input.
Definition: port.h:1363
PORT_P00_PullUpDown_En
INLINE void PORT_P00_PullUpDown_En(void)
enables PullUpDown for Port P00.
Definition: port.h:913
PORT_P00_Output_Set
INLINE void PORT_P00_Output_Set(void)
sets Port P00 to Output.
Definition: port.h:135
PORT_P11_Output_Toggle_Set
INLINE void PORT_P11_Output_Toggle_Set(void)
sets Port P11 to Toggle Status.
Definition: port.h:1555
PORT_P0_DATA_P0_Pos
#define PORT_P0_DATA_P0_Pos
Definition: tle986x.h:8378
PORT_P2_PUDEN_P5_Msk
#define PORT_P2_PUDEN_P5_Msk
Definition: tle986x.h:8545
PORT
#define PORT
Definition: tle986x.h:6003
PORT_P0_DATA_P0_Msk
#define PORT_P0_DATA_P0_Msk
Definition: tle986x.h:8379
PORT_P2_PUDEN_P2_Msk
#define PORT_P2_PUDEN_P2_Msk
Definition: tle986x.h:8539
PORT_P13_Input_Set
INLINE void PORT_P13_Input_Set(void)
sets Port P13 to Input.
Definition: port.h:1402
PORT_P2_DIR_P2_Pos
#define PORT_P2_DIR_P2_Pos
Definition: tle986x.h:8525
PORT_P12_PullDown_Set
INLINE void PORT_P12_PullDown_Set(void)
sets PullDown for Port P12.
Definition: port.h:2260
PORT_P0_DIR_P4_Pos
#define PORT_P0_DIR_P4_Pos
Definition: tle986x.h:8397
PORT_P1_PUDEN_P4_Msk
#define PORT_P1_PUDEN_P4_Msk
Definition: tle986x.h:8495
PORT_P1_DATA_P3_Pos
#define PORT_P1_DATA_P3_Pos
Definition: tle986x.h:8461
PORT_P2_DATA_P3_Msk
#define PORT_P2_DATA_P3_Msk
Definition: tle986x.h:8515
PORT_P1_PUDEN_P2_Msk
#define PORT_P1_PUDEN_P2_Msk
Definition: tle986x.h:8491
PORT_P02_Output_Low_Set
INLINE void PORT_P02_Output_Low_Set(void)
sets Port P02 to Low Status.
Definition: port.h:463
PORT_P1_PUDEN_P2_Pos
#define PORT_P1_PUDEN_P2_Pos
Definition: tle986x.h:8490
PORT_P04_PullUpDown_En
INLINE void PORT_P04_PullUpDown_En(void)
enables PullUpDown for Port P04.
Definition: port.h:1049
PORT_ReadPin
uint8 PORT_ReadPin(uint32 PortPin)
Reads a port pin.
sfr_access.h
SFR low level access library.
PORT_P2_DIR_P2_Msk
#define PORT_P2_DIR_P2_Msk
Definition: tle986x.h:8526
PORT_P20_Input_Set
INLINE void PORT_P20_Input_Set(void)
sets Port P20 to Input.
Definition: port.h:2369
PORT_P0_DATA_P2_Msk
#define PORT_P0_DATA_P2_Msk
Definition: tle986x.h:8383
PORT_P1_DIR_P1_Pos
#define PORT_P1_DIR_P1_Pos
Definition: tle986x.h:8468
PORT_P20_PullDown_Set
INLINE void PORT_P20_PullDown_Set(void)
sets PullDown for Port P20.
Definition: port.h:2833
PORT_P0_PUDSEL_P2_Pos
#define PORT_P0_PUDSEL_P2_Pos
Definition: tle986x.h:8426
PORT_P12_Output_Set
INLINE void PORT_P12_Output_Set(void)
sets Port P12 to Output.
Definition: port.h:1343
PORT_P0_OD_P4_Msk
#define PORT_P0_OD_P4_Msk
Definition: tle986x.h:8409
PORT_P2_PUDEN_P3_Msk
#define PORT_P2_PUDEN_P3_Msk
Definition: tle986x.h:8541
INLINE
#define INLINE
Definition: types.h:134
Field_Mod8
INLINE void Field_Mod8(volatile uint8 *reg, uint8 pos, uint8 msk, uint8 val)
This function writes a bit field in a 8-bit register.
Definition: sfr_access.h:346
PORT_P10_PullUp_Set
INLINE void PORT_P10_PullUp_Set(void)
sets PullUp for Port P10.
Definition: port.h:2170
PORT_P1_OD_P4_Pos
#define PORT_P1_OD_P4_Pos
Definition: tle986x.h:8483
PORT_P1_PUDSEL_P1_Pos
#define PORT_P1_PUDSEL_P1_Pos
Definition: tle986x.h:8499
PORT_P14_Output_High_Set
INLINE void PORT_P14_Output_High_Set(void)
sets Port P14 to High Status.
Definition: port.h:1688
PORT_P23_PullDown_Set
INLINE void PORT_P23_PullDown_Set(void)
sets PullDown for Port P23.
Definition: port.h:2905
PORT_P1_DIR_P4_Pos
#define PORT_P1_DIR_P4_Pos
Definition: tle986x.h:8474
PORT_P14_Output_Toggle_Set
INLINE void PORT_P14_Output_Toggle_Set(void)
sets Port P14 to Toggle Status.
Definition: port.h:1726
PORT_P25_PullUpDown_En
INLINE void PORT_P25_PullUpDown_En(void)
enables PullUpDown for Port P25.
Definition: port.h:2780
PORT_P00_PullUp_Set
INLINE void PORT_P00_PullUp_Set(void)
sets PullUp for Port P00.
Definition: port.h:1084
PORT_P12_PullUpDown_En
INLINE void PORT_P12_PullUpDown_En(void)
enables PullUpDown for Port P12.
Definition: port.h:2067
PORT_P1_PUDEN_P3_Msk
#define PORT_P1_PUDEN_P3_Msk
Definition: tle986x.h:8493
PORT_P25_PullUp_Set
INLINE void PORT_P25_PullUp_Set(void)
sets PullUp for Port P25.
Definition: port.h:2959
PORT_P2_PUDSEL_P5_Pos
#define PORT_P2_PUDSEL_P5_Pos
Definition: tle986x.h:8557
PORT_P0_OD_P1_Msk
#define PORT_P0_OD_P1_Msk
Definition: tle986x.h:8403
PORT_P14_OpenDrain_En
INLINE void PORT_P14_OpenDrain_En(void)
enables Output OpenDrain for Port P14.
Definition: port.h:1963
PORT_P0_PUDSEL_P3_Msk
#define PORT_P0_PUDSEL_P3_Msk
Definition: tle986x.h:8429
PORT_P0_PUDEN_P2_Msk
#define PORT_P0_PUDEN_P2_Msk
Definition: tle986x.h:8416
PORT_P0_DATA_P4_Pos
#define PORT_P0_DATA_P4_Pos
Definition: tle986x.h:8386
PORT_P13_PullDown_Set
INLINE void PORT_P13_PullDown_Set(void)
sets PullDown for Port P13.
Definition: port.h:2296
PORT_P0_PUDEN_P0_Msk
#define PORT_P0_PUDEN_P0_Msk
Definition: tle986x.h:8412
PORT_P12_PullUp_Set
INLINE void PORT_P12_PullUp_Set(void)
sets PullUp for Port P12.
Definition: port.h:2242
PORT_P02_OpenDrain_Dis
INLINE void PORT_P02_OpenDrain_Dis(void)
disables Output OpenDrain for Port P02.
Definition: port.h:820
PORT_P1_OD_P3_P2_Pos
#define PORT_P1_OD_P3_P2_Pos
Definition: tle986x.h:8481
PORT_P11_Output_High_Set
INLINE void PORT_P11_Output_High_Set(void)
sets Port P11 to High Status.
Definition: port.h:1517
PORT_P04_PullUp_Set
INLINE void PORT_P04_PullUp_Set(void)
sets PullUp for Port P04.
Definition: port.h:1228
PORT_P03_Output_Set
INLINE void PORT_P03_Output_Set(void)
sets Port P03 to Output.
Definition: port.h:252
PORT_P1_OD_P0_Pos
#define PORT_P1_OD_P0_Pos
Definition: tle986x.h:8477
PORT_P24_PullUpDown_Dis
INLINE void PORT_P24_PullUpDown_Dis(void)
disables PullUpDown for Port P24.
Definition: port.h:2763
PORT_P11_OpenDrain_En
INLINE void PORT_P11_OpenDrain_En(void)
enables Output OpenDrain for Port P11.
Definition: port.h:1887
PORT_P2_DATA_P5_Pos
#define PORT_P2_DATA_P5_Pos
Definition: tle986x.h:8518
PORT_P02_PullDown_Set
INLINE void PORT_P02_PullDown_Set(void)
sets PullDown for Port P02.
Definition: port.h:1174
PORT_P0_DATA_P2_Pos
#define PORT_P0_DATA_P2_Pos
Definition: tle986x.h:8382
PORT_P02_Output_Toggle_Set
INLINE void PORT_P02_Output_Toggle_Set(void)
sets Port P02 to Toggle Status.
Definition: port.h:482
PORT_P00_OpenDrain_Dis
INLINE void PORT_P00_OpenDrain_Dis(void)
disables Output OpenDrain for Port P00.
Definition: port.h:744
PORT_P01_Output_Toggle_Set
INLINE void PORT_P01_Output_Toggle_Set(void)
sets Port P01 to Toggle Status.
Definition: port.h:425
PORT_P12_Output_High_Set
INLINE void PORT_P12_Output_High_Set(void)
sets Port P12 to High Status.
Definition: port.h:1574
PORT_P0_OD_P2_Msk
#define PORT_P0_OD_P2_Msk
Definition: tle986x.h:8405
PORT_P10_Output_High_Set
INLINE void PORT_P10_Output_High_Set(void)
sets Port P10 to High Status.
Definition: port.h:1460
cmsis_misra.h
CMSIS Intrinsics access.
PORT_P1_DATA_P2_Pos
#define PORT_P1_DATA_P2_Pos
Definition: tle986x.h:8459
PORT_P1_DIR_P4_Msk
#define PORT_P1_DIR_P4_Msk
Definition: tle986x.h:8475
PORT_P0_OD_P2_Pos
#define PORT_P0_OD_P2_Pos
Definition: tle986x.h:8404
PORT_P22_Dis
INLINE void PORT_P22_Dis(void)
sets Port P22 to Disable.
Definition: port.h:2386
uint8
unsigned char uint8
8 bit unsigned value
Definition: types.h:139
PORT_P20_PullUpDown_Dis
INLINE void PORT_P20_PullUpDown_Dis(void)
disables PullUpDown for Port P20.
Definition: port.h:2661
PORT_P11_Input_Set
INLINE void PORT_P11_Input_Set(void)
sets Port P11 to Input.
Definition: port.h:1324
PORT_P14_Input_Set
INLINE void PORT_P14_Input_Set(void)
sets Port P14 to Input.
Definition: port.h:1441
PORT_P2_DATA_P4_Msk
#define PORT_P2_DATA_P4_Msk
Definition: tle986x.h:8517
PORT_P25_PullDown_Set
INLINE void PORT_P25_PullDown_Set(void)
sets PullDown for Port P25.
Definition: port.h:2977
PORT_P2_PUDSEL_P2_Msk
#define PORT_P2_PUDSEL_P2_Msk
Definition: tle986x.h:8552
PORT_P0_PUDSEL_P0_Pos
#define PORT_P0_PUDSEL_P0_Pos
Definition: tle986x.h:8422
PORT_P13_PullUp_Set
INLINE void PORT_P13_PullUp_Set(void)
sets PullUp for Port P13.
Definition: port.h:2278
PORT_P2_PUDEN_P3_Pos
#define PORT_P2_PUDEN_P3_Pos
Definition: tle986x.h:8540
PORT_P2_PUDSEL_P0_Pos
#define PORT_P2_PUDSEL_P0_Pos
Definition: tle986x.h:8547
PORT_P0_DIR_P0_Msk
#define PORT_P0_DIR_P0_Msk
Definition: tle986x.h:8390
u8_Field_Rd8
INLINE uint8 u8_Field_Rd8(const volatile uint8 *reg, uint8 pos, uint8 msk)
This function reads a 8-bit field of a 8-bit register.
Definition: sfr_access.h:406
PORT_P01_PullUp_Set
INLINE void PORT_P01_PullUp_Set(void)
sets PullUp for Port P01.
Definition: port.h:1120
PORT_P03_Get
INLINE uint8 PORT_P03_Get(void)
reads Port P03 Status.
Definition: port.h:684
PORT_P2_DIR_P0_Pos
#define PORT_P2_DIR_P0_Pos
Definition: tle986x.h:8521
PORT_P0_OD_P3_Pos
#define PORT_P0_OD_P3_Pos
Definition: tle986x.h:8406
PORT_P0_OD_P1_Pos
#define PORT_P0_OD_P1_Pos
Definition: tle986x.h:8402
PORT_P1_DIR_P3_Msk
#define PORT_P1_DIR_P3_Msk
Definition: tle986x.h:8473
PORT_P25_Dis
INLINE void PORT_P25_Dis(void)
sets Port P25 to Disable.
Definition: port.h:2497
PORT_P1_PUDSEL_P2_Pos
#define PORT_P1_PUDSEL_P2_Pos
Definition: tle986x.h:8501
PORT_P04_Output_Low_Set
INLINE void PORT_P04_Output_Low_Set(void)
sets Port P04 to Low Status.
Definition: port.h:577
PORT_P1_PUDEN_P0_Pos
#define PORT_P1_PUDEN_P0_Pos
Definition: tle986x.h:8486
PORT_P1_DIR_P2_Pos
#define PORT_P1_DIR_P2_Pos
Definition: tle986x.h:8470
uint32
unsigned int uint32
32 bit unsigned value
Definition: types.h:141
PORT_P1_DATA_P2_Msk
#define PORT_P1_DATA_P2_Msk
Definition: tle986x.h:8460
PORT_P03_OpenDrain_Dis
INLINE void PORT_P03_OpenDrain_Dis(void)
disables Output OpenDrain for Port P03.
Definition: port.h:858
PORT_P0_DIR_P2_Pos
#define PORT_P0_DIR_P2_Pos
Definition: tle986x.h:8393
PORT_P12_P13_OpenDrain_En
INLINE void PORT_P12_P13_OpenDrain_En(void)
enables Output OpenDrain for Port P12/P13.
Definition: port.h:1925
PORT_ReadPort
uint8 PORT_ReadPort(uint32 Port)
Reads a port.
PORT_P1_DIR_P0_Pos
#define PORT_P1_DIR_P0_Pos
Definition: tle986x.h:8466
PORT_P04_OpenDrain_Dis
INLINE void PORT_P04_OpenDrain_Dis(void)
disables Output OpenDrain for Port P04.
Definition: port.h:896
PORT_P04_Input_Set
INLINE void PORT_P04_Input_Set(void)
sets Port P04 to Input.
Definition: port.h:311
PORT_ChangePinAlt
void PORT_ChangePinAlt(uint32 PortPin, uint8 AltSel)
Change Alternate Settings.
PORT_P10_OpenDrain_En
INLINE void PORT_P10_OpenDrain_En(void)
enables Output OpenDrain for Port P10.
Definition: port.h:1849
PORT_P1_PUDEN_P1_Msk
#define PORT_P1_PUDEN_P1_Msk
Definition: tle986x.h:8489
PORT_P10_OpenDrain_Dis
INLINE void PORT_P10_OpenDrain_Dis(void)
disables Output OpenDrain for Port P10.
Definition: port.h:1868
PORT_P1_PUDSEL_P4_Msk
#define PORT_P1_PUDSEL_P4_Msk
Definition: tle986x.h:8506
PORT_P02_Get
INLINE uint8 PORT_P02_Get(void)
reads Port P02 Status.
Definition: port.h:662
PORT_P01_PullDown_Set
INLINE void PORT_P01_PullDown_Set(void)
sets PullDown for Port P01.
Definition: port.h:1138
PORT_P02_PullUp_Set
INLINE void PORT_P02_PullUp_Set(void)
sets PullUp for Port P02.
Definition: port.h:1156
PORT_P13_Output_Set
INLINE void PORT_P13_Output_Set(void)
sets Port P13 to Output.
Definition: port.h:1382
PORT_P01_PullUpDown_En
INLINE void PORT_P01_PullUpDown_En(void)
enables PullUpDown for Port P01.
Definition: port.h:947
PORT_P2_PUDSEL_P5_Msk
#define PORT_P2_PUDSEL_P5_Msk
Definition: tle986x.h:8558
PORT_P01_Output_Set
INLINE void PORT_P01_Output_Set(void)
sets Port P01 to Output.
Definition: port.h:174
PORT_P0_PUDEN_P4_Msk
#define PORT_P0_PUDEN_P4_Msk
Definition: tle986x.h:8420
PORT_P23_Dis
INLINE void PORT_P23_Dis(void)
sets Port P23 to Disable.
Definition: port.h:2423
PORT_P10_PullDown_Set
INLINE void PORT_P10_PullDown_Set(void)
sets PullDown for Port P10.
Definition: port.h:2188
PORT_P0_PUDSEL_P1_Msk
#define PORT_P0_PUDSEL_P1_Msk
Definition: tle986x.h:8425
PORT_P23_PullUpDown_En
INLINE void PORT_P23_PullUpDown_En(void)
enables PullUpDown for Port P23.
Definition: port.h:2712
PORT_P0_PUDSEL_P0_Msk
#define PORT_P0_PUDSEL_P0_Msk
Definition: tle986x.h:8423
PORT_P10_Output_Toggle_Set
INLINE void PORT_P10_Output_Toggle_Set(void)
sets Port P10 to Toggle Status.
Definition: port.h:1498
PORT_P10_Get
INLINE uint8 PORT_P10_Get(void)
reads Port P10 Status.
Definition: port.h:1748
PORT_P14_PullUp_Set
INLINE void PORT_P14_PullUp_Set(void)
sets PullUp for Port P14.
Definition: port.h:2314
PORT_P22_Get
INLINE uint8 PORT_P22_Get(void)
reads Port P22 Status.
Definition: port.h:2561
PORT_P12_Output_Low_Set
INLINE void PORT_P12_Output_Low_Set(void)
sets Port P12 to Low Status.
Definition: port.h:1593
PORT_P11_Output_Set
INLINE void PORT_P11_Output_Set(void)
sets Port P11 to Output.
Definition: port.h:1304
PORT_P23_Get
INLINE uint8 PORT_P23_Get(void)
reads Port P23 Status.
Definition: port.h:2583
PORT_P24_Input_Set
INLINE void PORT_P24_Input_Set(void)
sets Port P24 to Input.
Definition: port.h:2480
PORT_P2_PUDEN_P4_Msk
#define PORT_P2_PUDEN_P4_Msk
Definition: tle986x.h:8543
PORT_P02_Output_High_Set
INLINE void PORT_P02_Output_High_Set(void)
sets Port P02 to High Status.
Definition: port.h:444
PORT_P0_PUDEN_P3_Msk
#define PORT_P0_PUDEN_P3_Msk
Definition: tle986x.h:8418
PORT_P1_PUDSEL_P2_Msk
#define PORT_P1_PUDSEL_P2_Msk
Definition: tle986x.h:8502
PORT_P0_OD_P0_Msk
#define PORT_P0_OD_P0_Msk
Definition: tle986x.h:8401
PORT_Init
void PORT_Init(void)
Initializes the ports.
PORT_P2_DIR_P4_Pos
#define PORT_P2_DIR_P4_Pos
Definition: tle986x.h:8529
PORT_P25_Input_Set
INLINE void PORT_P25_Input_Set(void)
sets Port P25 to Input.
Definition: port.h:2517
PORT_P12_PullUpDown_Dis
INLINE void PORT_P12_PullUpDown_Dis(void)
disables PullUpDown for Port P12.
Definition: port.h:2084
PORT_P2_PUDEN_P0_Msk
#define PORT_P2_PUDEN_P0_Msk
Definition: tle986x.h:8535
PORT_P11_PullUpDown_En
INLINE void PORT_P11_PullUpDown_En(void)
enables PullUpDown for Port P11.
Definition: port.h:2033
PORT_P2_PUDSEL_P3_Msk
#define PORT_P2_PUDSEL_P3_Msk
Definition: tle986x.h:8554
PORT_P0_PUDSEL_P3_Pos
#define PORT_P0_PUDSEL_P3_Pos
Definition: tle986x.h:8428
PORT_P1_DIR_P1_Msk
#define PORT_P1_DIR_P1_Msk
Definition: tle986x.h:8469
PORT_P0_DIR_P2_Msk
#define PORT_P0_DIR_P2_Msk
Definition: tle986x.h:8394
PORT_P01_PullUpDown_Dis
INLINE void PORT_P01_PullUpDown_Dis(void)
disables PullUpDown for Port P01.
Definition: port.h:964
PORT_P13_Get
INLINE uint8 PORT_P13_Get(void)
reads Port P13 Status.
Definition: port.h:1810
PORT_P1_DIR_P2_Msk
#define PORT_P1_DIR_P2_Msk
Definition: tle986x.h:8471
PORT_P03_PullUpDown_En
INLINE void PORT_P03_PullUpDown_En(void)
enables PullUpDown for Port P03.
Definition: port.h:1015
PORT_P2_PUDSEL_P4_Pos
#define PORT_P2_PUDSEL_P4_Pos
Definition: tle986x.h:8555
tle986x.h
CMSIS register HeaderFile.
PORT_P12_P13_OpenDrain_Dis
INLINE void PORT_P12_P13_OpenDrain_Dis(void)
disables Output OpenDrain for Port P12/P13.
Definition: port.h:1944
PORT_P01_Output_Low_Set
INLINE void PORT_P01_Output_Low_Set(void)
sets Port P01 to Low Status.
Definition: port.h:406
PORT_P0_PUDSEL_P4_Pos
#define PORT_P0_PUDSEL_P4_Pos
Definition: tle986x.h:8430
PORT_P01_OpenDrain_En
INLINE void PORT_P01_OpenDrain_En(void)
enables Output OpenDrain for Port P01.
Definition: port.h:763
PORT_P2_PUDEN_P4_Pos
#define PORT_P2_PUDEN_P4_Pos
Definition: tle986x.h:8542
PORT_P11_PullUp_Set
INLINE void PORT_P11_PullUp_Set(void)
sets PullUp for Port P11.
Definition: port.h:2206
PORT_P14_Output_Low_Set
INLINE void PORT_P14_Output_Low_Set(void)
sets Port P14 to Low Status.
Definition: port.h:1707
PORT_P24_Dis
INLINE void PORT_P24_Dis(void)
sets Port P24 to Disable.
Definition: port.h:2460
PORT_P22_PullUp_Set
INLINE void PORT_P22_PullUp_Set(void)
sets PullUp for Port P22.
Definition: port.h:2851
PORT_P1_OD_P4_Msk
#define PORT_P1_OD_P4_Msk
Definition: tle986x.h:8484
PORT_P24_PullUp_Set
INLINE void PORT_P24_PullUp_Set(void)
sets PullUp for Port P24.
Definition: port.h:2923
PORT_P1_PUDSEL_P0_Pos
#define PORT_P1_PUDSEL_P0_Pos
Definition: tle986x.h:8497
PORT_P1_DATA_P4_Pos
#define PORT_P1_DATA_P4_Pos
Definition: tle986x.h:8463
PORT_P14_OpenDrain_Dis
INLINE void PORT_P14_OpenDrain_Dis(void)
disables Output OpenDrain for Port P14.
Definition: port.h:1982
PORT_P0_PUDEN_P0_Pos
#define PORT_P0_PUDEN_P0_Pos
Definition: tle986x.h:8411
PORT_P2_DATA_P0_Pos
#define PORT_P2_DATA_P0_Pos
Definition: tle986x.h:8508
PORT_P2_DIR_P5_Msk
#define PORT_P2_DIR_P5_Msk
Definition: tle986x.h:8532
PORT_P2_DIR_P3_Pos
#define PORT_P2_DIR_P3_Pos
Definition: tle986x.h:8527
PORT_P10_PullUpDown_Dis
INLINE void PORT_P10_PullUpDown_Dis(void)
disables PullUpDown for Port P10.
Definition: port.h:2016
PORT_P10_Input_Set
INLINE void PORT_P10_Input_Set(void)
sets Port P10 to Input.
Definition: port.h:1285
Field_Inv8
INLINE void Field_Inv8(volatile uint8 *reg, uint8 msk)
This function inverts a bit field in a 8-bit register.
Definition: sfr_access.h:361
PORT_P0_DIR_P4_Msk
#define PORT_P0_DIR_P4_Msk
Definition: tle986x.h:8398
PORT_P23_PullUpDown_Dis
INLINE void PORT_P23_PullUpDown_Dis(void)
disables PullUpDown for Port P23.
Definition: port.h:2729
PORT_P2_DATA_P3_Pos
#define PORT_P2_DATA_P3_Pos
Definition: tle986x.h:8514
PORT_P10_PullUpDown_En
INLINE void PORT_P10_PullUpDown_En(void)
enables PullUpDown for Port P10.
Definition: port.h:1999
PORT_P0_DIR_P1_Msk
#define PORT_P0_DIR_P1_Msk
Definition: tle986x.h:8392
PORT_P11_Output_Low_Set
INLINE void PORT_P11_Output_Low_Set(void)
sets Port P11 to Low Status.
Definition: port.h:1536
PORT_P20_Get
INLINE uint8 PORT_P20_Get(void)
reads Port P20 Status.
Definition: port.h:2539
PORT_P22_Input_Set
INLINE void PORT_P22_Input_Set(void)
sets Port P22 to Input.
Definition: port.h:2406
PORT_P1_PUDSEL_P1_Msk
#define PORT_P1_PUDSEL_P1_Msk
Definition: tle986x.h:8500
PORT_P2_DATA_P4_Pos
#define PORT_P2_DATA_P4_Pos
Definition: tle986x.h:8516
PORT_P14_Output_Set
INLINE void PORT_P14_Output_Set(void)
sets Port P14 to Output.
Definition: port.h:1421
PORT_P04_Output_Toggle_Set
INLINE void PORT_P04_Output_Toggle_Set(void)
sets Port P04 to Toggle Status.
Definition: port.h:596
PORT_P1_PUDEN_P1_Pos
#define PORT_P1_PUDEN_P1_Pos
Definition: tle986x.h:8488
PORT_P1_PUDEN_P3_Pos
#define PORT_P1_PUDEN_P3_Pos
Definition: tle986x.h:8492
PORT_P13_Output_Toggle_Set
INLINE void PORT_P13_Output_Toggle_Set(void)
sets Port P13 to Toggle Status.
Definition: port.h:1669
PORT_P11_OpenDrain_Dis
INLINE void PORT_P11_OpenDrain_Dis(void)
disables Output OpenDrain for Port P11.
Definition: port.h:1906
PORT_P0_PUDEN_P2_Pos
#define PORT_P0_PUDEN_P2_Pos
Definition: tle986x.h:8415
PORT_P2_DIR_P0_Msk
#define PORT_P2_DIR_P0_Msk
Definition: tle986x.h:8522
PORT_P1_DATA_P3_Msk
#define PORT_P1_DATA_P3_Msk
Definition: tle986x.h:8462
PORT_P0_DATA_P4_Msk
#define PORT_P0_DATA_P4_Msk
Definition: tle986x.h:8387
PORT_P04_PullDown_Set
INLINE void PORT_P04_PullDown_Set(void)
sets PullDown for Port P04.
Definition: port.h:1246
PORT_P2_PUDSEL_P4_Msk
#define PORT_P2_PUDSEL_P4_Msk
Definition: tle986x.h:8556
PORT_P2_PUDEN_P5_Pos
#define PORT_P2_PUDEN_P5_Pos
Definition: tle986x.h:8544
PORT_P10_Output_Low_Set
INLINE void PORT_P10_Output_Low_Set(void)
sets Port P10 to Low Status.
Definition: port.h:1479
PORT_P01_Output_High_Set
INLINE void PORT_P01_Output_High_Set(void)
sets Port P01 to High Status.
Definition: port.h:387
PORT_P12_Output_Toggle_Set
INLINE void PORT_P12_Output_Toggle_Set(void)
sets Port P12 to Toggle Status.
Definition: port.h:1612
PORT_P00_PullDown_Set
INLINE void PORT_P00_PullDown_Set(void)
sets PullDown for Port P00.
Definition: port.h:1102
PORT_P1_DATA_P0_Pos
#define PORT_P1_DATA_P0_Pos
Definition: tle986x.h:8455
PORT_P13_PullUpDown_En
INLINE void PORT_P13_PullUpDown_En(void)
enables PullUpDown for Port P13.
Definition: port.h:2101
PORT_P1_DATA_P1_Pos
#define PORT_P1_DATA_P1_Pos
Definition: tle986x.h:8457
PORT_P0_DIR_P3_Pos
#define PORT_P0_DIR_P3_Pos
Definition: tle986x.h:8395
PORT_P2_PUDSEL_P0_Msk
#define PORT_P2_PUDSEL_P0_Msk
Definition: tle986x.h:8548
PORT_P03_PullDown_Set
INLINE void PORT_P03_PullDown_Set(void)
sets PullDown for Port P03.
Definition: port.h:1210
PORT_P00_PullUpDown_Dis
INLINE void PORT_P00_PullUpDown_Dis(void)
disables PullUpDown for Port P00.
Definition: port.h:930
PORT_P02_OpenDrain_En
INLINE void PORT_P02_OpenDrain_En(void)
enables Output OpenDrain for Port P02.
Definition: port.h:801
PORT_P01_OpenDrain_Dis
INLINE void PORT_P01_OpenDrain_Dis(void)
disables Output OpenDrain for Port P01.
Definition: port.h:782
PORT_P2_PUDEN_P2_Pos
#define PORT_P2_PUDEN_P2_Pos
Definition: tle986x.h:8538
PORT_P1_PUDSEL_P0_Msk
#define PORT_P1_PUDSEL_P0_Msk
Definition: tle986x.h:8498
PORT_P2_DATA_P0_Msk
#define PORT_P2_DATA_P0_Msk
Definition: tle986x.h:8509
PORT_P12_Get
INLINE uint8 PORT_P12_Get(void)
reads Port P12 Status.
Definition: port.h:1790
PORT_P0_PUDEN_P1_Msk
#define PORT_P0_PUDEN_P1_Msk
Definition: tle986x.h:8414
PORT_P0_OD_P4_Pos
#define PORT_P0_OD_P4_Pos
Definition: tle986x.h:8408
PORT_P24_PullUpDown_En
INLINE void PORT_P24_PullUpDown_En(void)
enables PullUpDown for Port P24.
Definition: port.h:2746
PORT_P0_DIR_P1_Pos
#define PORT_P0_DIR_P1_Pos
Definition: tle986x.h:8391
PORT_P0_PUDEN_P4_Pos
#define PORT_P0_PUDEN_P4_Pos
Definition: tle986x.h:8419
PORT_P0_OD_P0_Pos
#define PORT_P0_OD_P0_Pos
Definition: tle986x.h:8400
PORT_P1_PUDEN_P0_Msk
#define PORT_P1_PUDEN_P0_Msk
Definition: tle986x.h:8487
PORT_P22_PullDown_Set
INLINE void PORT_P22_PullDown_Set(void)
sets PullDown for Port P22.
Definition: port.h:2869
PORT_P1_DATA_P1_Msk
#define PORT_P1_DATA_P1_Msk
Definition: tle986x.h:8458
PORT_P0_PUDSEL_P1_Pos
#define PORT_P0_PUDSEL_P1_Pos
Definition: tle986x.h:8424
PORT_P1_PUDSEL_P3_Msk
#define PORT_P1_PUDSEL_P3_Msk
Definition: tle986x.h:8504
PORT_P00_Output_Low_Set
INLINE void PORT_P00_Output_Low_Set(void)
sets Port P00 to Low Status.
Definition: port.h:349
PORT_P03_Output_Toggle_Set
INLINE void PORT_P03_Output_Toggle_Set(void)
sets Port P03 to Toggle Status.
Definition: port.h:539
PORT_P11_PullDown_Set
INLINE void PORT_P11_PullDown_Set(void)
sets PullDown for Port P11.
Definition: port.h:2224
PORT_P2_DIR_P4_Msk
#define PORT_P2_DIR_P4_Msk
Definition: tle986x.h:8530
PORT_P20_PullUpDown_En
INLINE void PORT_P20_PullUpDown_En(void)
enables PullUpDown for Port P20.
Definition: port.h:2644
PORT_P01_Input_Set
INLINE void PORT_P01_Input_Set(void)
sets Port P01 to Input.
Definition: port.h:194
PORT_P0_DIR_P0_Pos
#define PORT_P0_DIR_P0_Pos
Definition: tle986x.h:8389
PORT_P14_PullDown_Set
INLINE void PORT_P14_PullDown_Set(void)
sets PullDown for Port P14.
Definition: port.h:2332
PORT_P00_Output_High_Set
INLINE void PORT_P00_Output_High_Set(void)
sets Port P00 to High Status.
Definition: port.h:330
PORT_P04_PullUpDown_Dis
INLINE void PORT_P04_PullUpDown_Dis(void)
disables PullUpDown for Port P04.
Definition: port.h:1066
PORT_P11_PullUpDown_Dis
INLINE void PORT_P11_PullUpDown_Dis(void)
disables PullUpDown for Port P11.
Definition: port.h:2050
PORT_P00_Output_Toggle_Set
INLINE void PORT_P00_Output_Toggle_Set(void)
sets Port P00 to Toggle Status.
Definition: port.h:368
PORT_P04_Output_Set
INLINE void PORT_P04_Output_Set(void)
sets Port P04 to Output.
Definition: port.h:291
PORT_P03_PullUp_Set
INLINE void PORT_P03_PullUp_Set(void)
sets PullUp for Port P03.
Definition: port.h:1192
PORT_P0_PUDSEL_P2_Msk
#define PORT_P0_PUDSEL_P2_Msk
Definition: tle986x.h:8427
PORT_P03_Output_Low_Set
INLINE void PORT_P03_Output_Low_Set(void)
sets Port P03 to Low Status.
Definition: port.h:520
PORT_P1_OD_P3_P2_Msk
#define PORT_P1_OD_P3_P2_Msk
Definition: tle986x.h:8482