Infineon MOTIX™ MCU TLE985x Device Family SDK
port.h
Go to the documentation of this file.
1 /*
2  ***********************************************************************************************************************
3  *
4  * Copyright (c) 2018-2023, 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 ** TS T&S **
45 ** BG Blandine Guillot **
46 *******************************************************************************/
47 
48 /*******************************************************************************
49 ** Revision Control History **
50 ********************************************************************************
51 ** V0.2.0: 2018-02-13, TS: Initial version of revision history **
52 ** V0.2.1: 2019-01-28, TS: __STATIC_INLINE changed to INLINE **
53 ** Doxygen update **
54 ** Revision history moved from port.c to port.h **
55 ** Temperature Compensation macros and function **
56 ** added **
57 ** V0.2.2: 2020-03-02, BG: Updated revision history format **
58 ** V0.2.3: 2022-01-21, JO: EP-934: Updated copyright and branding **
59 ** V0.2.4: 2023-08-28, JO: EP-435: Removed ARMCC v6 compiler warnings **
60 *******************************************************************************/
61 
62 #ifndef PORT_H
63 #define PORT_H
64 
65 /*******************************************************************************
66 ** Includes **
67 *******************************************************************************/
68 #include "tle985x.h"
69 #include "types.h"
70 #include "sfr_access.h"
71 #include "cmsis_misra.h"
72 
73 /*******************************************************************************
74 ** Global Type Definitions **
75 *******************************************************************************/
77 #define PORT_P0 (0U)
79 #define PORT_P1 (1U)
81 #define PORT_P2 (2U)
82 
84 #define PORT_ACTION_CLEAR (0U)
86 #define PORT_ACTION_SET (1U)
88 #define PORT_ACTION_TOGGLE (2U)
90 #define PORT_ACTION_INPUT (3U)
92 #define PORT_ACTION_OUTPUT (4U)
93 
95 #define PORT_TCC_RANGE_1 (0U)
97 #define PORT_TCC_RANGE_2 (1U)
99 #define PORT_TCC_RANGE_3 (2U)
101 #define PORT_TCC_RANGE_4 (3U)
102 
103 /*******************************************************************************
104 ** Global Function Declarations **
105 *******************************************************************************/
110 void PORT_Init(void);
111 
127 void PORT_ChangePin(uint32 PortPin, uint32 Action);
128 
147 
166 
183 void PORT_ChangePinAlt(uint32 PortPin, uint8 AltSel);
184 
185 /*******************************************************************************
186 ** Inline Function Declarations **
187 *******************************************************************************/
202 INLINE void PORT_P00_Output_Set(void);
203 
219 INLINE void PORT_P00_Input_Set(void);
220 
235 INLINE void PORT_P01_Output_Set(void);
236 
252 INLINE void PORT_P01_Input_Set(void);
253 
268 INLINE void PORT_P02_Output_Set(void);
269 
285 INLINE void PORT_P02_Input_Set(void);
286 
301 INLINE void PORT_P03_Output_Set(void);
302 
318 INLINE void PORT_P03_Input_Set(void);
319 
334 INLINE void PORT_P04_Output_Set(void);
335 
351 INLINE void PORT_P04_Input_Set(void);
352 
367 INLINE void PORT_P05_Output_Set(void);
368 
384 INLINE void PORT_P05_Input_Set(void);
385 
401 
417 
433 
449 
465 
481 
497 
513 
529 
545 
561 
577 
593 
609 
625 
641 
657 
673 
692 
711 
730 
749 
768 
787 
802 INLINE void PORT_P00_OpenDrain_En(void);
803 
818 INLINE void PORT_P00_OpenDrain_Dis(void);
819 
834 INLINE void PORT_P01_OpenDrain_En(void);
835 
850 INLINE void PORT_P01_OpenDrain_Dis(void);
851 
866 INLINE void PORT_P02_OpenDrain_En(void);
867 
882 INLINE void PORT_P02_OpenDrain_Dis(void);
883 
898 INLINE void PORT_P03_OpenDrain_En(void);
899 
914 INLINE void PORT_P03_OpenDrain_Dis(void);
915 
930 INLINE void PORT_P04_OpenDrain_En(void);
931 
946 INLINE void PORT_P04_OpenDrain_Dis(void);
947 
962 INLINE void PORT_P05_OpenDrain_En(void);
963 
978 INLINE void PORT_P05_OpenDrain_Dis(void);
979 
992 INLINE void PORT_P00_PullUpDown_En(void);
993 
1006 INLINE void PORT_P00_PullUpDown_Dis(void);
1007 
1020 INLINE void PORT_P01_PullUpDown_En(void);
1021 
1034 INLINE void PORT_P01_PullUpDown_Dis(void);
1035 
1048 INLINE void PORT_P02_PullUpDown_En(void);
1049 
1062 INLINE void PORT_P02_PullUpDown_Dis(void);
1063 
1076 INLINE void PORT_P03_PullUpDown_En(void);
1077 
1090 INLINE void PORT_P03_PullUpDown_Dis(void);
1091 
1104 INLINE void PORT_P04_PullUpDown_En(void);
1105 
1118 INLINE void PORT_P04_PullUpDown_Dis(void);
1119 
1132 INLINE void PORT_P05_PullUpDown_En(void);
1133 
1146 INLINE void PORT_P05_PullUpDown_Dis(void);
1147 
1161 INLINE void PORT_P00_PullUp_Set(void);
1162 
1176 INLINE void PORT_P00_PullDown_Set(void);
1177 
1191 INLINE void PORT_P01_PullUp_Set(void);
1192 
1206 INLINE void PORT_P01_PullDown_Set(void);
1207 
1221 INLINE void PORT_P02_PullUp_Set(void);
1222 
1236 INLINE void PORT_P02_PullDown_Set(void);
1237 
1251 INLINE void PORT_P03_PullUp_Set(void);
1252 
1266 INLINE void PORT_P03_PullDown_Set(void);
1267 
1281 INLINE void PORT_P04_PullUp_Set(void);
1282 
1296 INLINE void PORT_P04_PullDown_Set(void);
1297 
1311 INLINE void PORT_P05_PullUp_Set(void);
1312 
1326 INLINE void PORT_P05_PullDown_Set(void);
1327 
1343 
1359 
1375 
1391 
1407 
1423 
1438 INLINE void PORT_P10_Output_Set(void);
1439 
1455 INLINE void PORT_P10_Input_Set(void);
1456 
1471 INLINE void PORT_P11_Output_Set(void);
1472 
1488 INLINE void PORT_P11_Input_Set(void);
1489 
1504 INLINE void PORT_P12_Output_Set(void);
1505 
1521 INLINE void PORT_P12_Input_Set(void);
1522 
1537 INLINE void PORT_P14_Output_Set(void);
1538 
1554 INLINE void PORT_P14_Input_Set(void);
1555 
1570 INLINE void PORT_P10_Output_High_Set(void);
1571 
1586 INLINE void PORT_P10_Output_Low_Set(void);
1587 
1603 
1618 INLINE void PORT_P11_Output_High_Set(void);
1619 
1634 INLINE void PORT_P11_Output_Low_Set(void);
1635 
1651 
1666 INLINE void PORT_P12_Output_High_Set(void);
1667 
1682 INLINE void PORT_P12_Output_Low_Set(void);
1683 
1699 
1714 INLINE void PORT_P14_Output_High_Set(void);
1715 
1730 INLINE void PORT_P14_Output_Low_Set(void);
1731 
1747 
1765 INLINE uint8 PORT_P10_Get(void);
1766 
1784 INLINE uint8 PORT_P11_Get(void);
1785 
1801 INLINE uint8 PORT_P12_Get(void);
1802 
1818 INLINE uint8 PORT_P14_Get(void);
1819 
1834 INLINE void PORT_P10_OpenDrain_En(void);
1835 
1850 INLINE void PORT_P10_OpenDrain_Dis(void);
1851 
1866 INLINE void PORT_P11_OpenDrain_En(void);
1867 
1882 INLINE void PORT_P11_OpenDrain_Dis(void);
1883 
1898 INLINE void PORT_P12_OpenDrain_En(void);
1899 
1914 INLINE void PORT_P12_OpenDrain_Dis(void);
1915 
1930 INLINE void PORT_P14_OpenDrain_En(void);
1931 
1946 INLINE void PORT_P14_OpenDrain_Dis(void);
1947 
1960 INLINE void PORT_P10_PullUpDown_En(void);
1961 
1974 INLINE void PORT_P10_PullUpDown_Dis(void);
1975 
1988 INLINE void PORT_P11_PullUpDown_En(void);
1989 
2002 INLINE void PORT_P11_PullUpDown_Dis(void);
2003 
2016 INLINE void PORT_P12_PullUpDown_En(void);
2017 
2030 INLINE void PORT_P12_PullUpDown_Dis(void);
2031 
2044 INLINE void PORT_P14_PullUpDown_En(void);
2045 
2058 INLINE void PORT_P14_PullUpDown_Dis(void);
2059 
2073 INLINE void PORT_P10_PullUp_Set(void);
2074 
2088 INLINE void PORT_P10_PullDown_Set(void);
2089 
2103 INLINE void PORT_P11_PullUp_Set(void);
2104 
2118 INLINE void PORT_P11_PullDown_Set(void);
2119 
2133 INLINE void PORT_P12_PullUp_Set(void);
2134 
2148 INLINE void PORT_P12_PullDown_Set(void);
2149 
2163 INLINE void PORT_P14_PullUp_Set(void);
2164 
2178 INLINE void PORT_P14_PullDown_Set(void);
2179 
2195 
2211 
2227 
2243 
2256 INLINE void PORT_P20_Dis(void);
2257 
2273 INLINE void PORT_P20_Input_Set(void);
2274 
2287 INLINE void PORT_P21_Dis(void);
2288 
2304 INLINE void PORT_P21_Input_Set(void);
2305 
2318 INLINE void PORT_P22_Dis(void);
2319 
2335 INLINE void PORT_P22_Input_Set(void);
2336 
2349 INLINE void PORT_P23_Dis(void);
2350 
2366 INLINE void PORT_P23_Input_Set(void);
2367 
2380 INLINE void PORT_P27_Dis(void);
2381 
2397 INLINE void PORT_P27_Input_Set(void);
2398 
2416 INLINE uint8 PORT_P20_Get(void);
2417 
2435 INLINE uint8 PORT_P21_Get(void);
2436 
2454 INLINE uint8 PORT_P22_Get(void);
2455 
2473 INLINE uint8 PORT_P23_Get(void);
2474 
2492 INLINE uint8 PORT_P27_Get(void);
2493 
2506 INLINE void PORT_P20_PullUpDown_En(void);
2507 
2520 INLINE void PORT_P20_PullUpDown_Dis(void);
2521 
2534 INLINE void PORT_P21_PullUpDown_En(void);
2535 
2548 INLINE void PORT_P21_PullUpDown_Dis(void);
2549 
2562 INLINE void PORT_P22_PullUpDown_En(void);
2563 
2576 INLINE void PORT_P22_PullUpDown_Dis(void);
2577 
2590 INLINE void PORT_P23_PullUpDown_En(void);
2591 
2604 INLINE void PORT_P23_PullUpDown_Dis(void);
2605 
2618 INLINE void PORT_P27_PullUpDown_En(void);
2619 
2632 INLINE void PORT_P27_PullUpDown_Dis(void);
2633 
2647 INLINE void PORT_P20_PullUp_Set(void);
2648 
2662 INLINE void PORT_P20_PullDown_Set(void);
2663 
2677 INLINE void PORT_P21_PullUp_Set(void);
2678 
2692 INLINE void PORT_P21_PullDown_Set(void);
2693 
2707 INLINE void PORT_P22_PullUp_Set(void);
2708 
2722 INLINE void PORT_P22_PullDown_Set(void);
2723 
2737 INLINE void PORT_P23_PullUp_Set(void);
2738 
2752 INLINE void PORT_P23_PullDown_Set(void);
2753 
2767 INLINE void PORT_P27_PullUp_Set(void);
2768 
2782 INLINE void PORT_P27_PullDown_Set(void);
2783 
2798 INLINE void PORT_Temp_Comp_Sel(uint8 range);
2799 
2800 /*******************************************************************************
2801 ** Inline Function Definitions **
2802 *******************************************************************************/
2804 {
2806 }
2807 
2809 {
2811 }
2812 
2814 {
2816 }
2817 
2819 {
2821 }
2822 
2824 {
2826 }
2827 
2829 {
2831 }
2832 
2834 {
2836 }
2837 
2839 {
2841 }
2842 
2844 {
2846 }
2847 
2849 {
2851 }
2852 
2854 {
2856 }
2857 
2859 {
2861 }
2862 
2864 {
2866 }
2867 
2869 {
2871 }
2872 
2874 {
2875  Field_Inv32(&PORT->P0_DATA.reg, (uint8)PORT_P0_DATA_PP0_Msk);
2876 }
2877 
2879 {
2881 }
2882 
2884 {
2886 }
2887 
2889 {
2890  Field_Inv32(&PORT->P0_DATA.reg, (uint8)PORT_P0_DATA_PP1_Msk);
2891 }
2892 
2894 {
2896 }
2897 
2899 {
2901 }
2902 
2904 {
2905  Field_Inv32(&PORT->P0_DATA.reg, (uint8)PORT_P0_DATA_PP2_Msk);
2906 }
2907 
2909 {
2911 }
2912 
2914 {
2916 }
2917 
2919 {
2920  Field_Inv32(&PORT->P0_DATA.reg, (uint8)PORT_P0_DATA_PP3_Msk);
2921 }
2922 
2924 {
2926 }
2927 
2929 {
2931 }
2932 
2934 {
2935  Field_Inv32(&PORT->P0_DATA.reg, (uint8)PORT_P0_DATA_PP4_Msk);
2936 }
2937 
2939 {
2941 }
2942 
2944 {
2946 }
2947 
2949 {
2950  Field_Inv32(&PORT->P0_DATA.reg, (uint8)PORT_P0_DATA_PP5_Msk);
2951 }
2952 
2954 {
2956 }
2957 
2959 {
2961 }
2962 
2964 {
2966 }
2967 
2969 {
2971 }
2972 
2974 {
2976 }
2977 
2979 {
2981 }
2982 
2984 {
2986 }
2987 
2989 {
2991 }
2992 
2994 {
2996 }
2997 
2999 {
3001 }
3002 
3004 {
3006 }
3007 
3009 {
3011 }
3012 
3014 {
3016 }
3017 
3019 {
3021 }
3022 
3024 {
3026 }
3027 
3029 {
3031 }
3032 
3034 {
3036 }
3037 
3039 {
3041 }
3042 
3044 {
3046 }
3047 
3049 {
3051 }
3052 
3054 {
3056 }
3057 
3059 {
3061 }
3062 
3064 {
3066 }
3067 
3069 {
3071 }
3072 
3074 {
3076 }
3077 
3079 {
3081 }
3082 
3084 {
3086 }
3087 
3089 {
3091 }
3092 
3094 {
3096 }
3097 
3099 {
3101 }
3102 
3104 {
3106 }
3107 
3109 {
3111 }
3112 
3114 {
3116 }
3117 
3119 {
3121 }
3122 
3124 {
3126 }
3127 
3129 {
3131 }
3132 
3134 {
3136 }
3137 
3139 {
3141 }
3142 
3144 {
3146 }
3147 
3149 {
3151 }
3152 
3154 {
3156 }
3157 
3159 {
3161 }
3162 
3164 {
3166 }
3167 
3169 {
3171 }
3172 
3174 {
3176 }
3177 
3179 {
3181 }
3182 
3184 {
3186 }
3187 
3189 {
3191 }
3192 
3194 {
3196 }
3197 
3199 {
3201 }
3202 
3204 {
3206 }
3207 
3209 {
3211 }
3212 
3214 {
3216 }
3217 
3219 {
3221 }
3222 
3224 {
3226 }
3227 
3229 {
3231 }
3232 
3234 {
3236 }
3237 
3239 {
3241 }
3242 
3244 {
3245  Field_Inv32(&PORT->P1_DATA.reg, (uint8)PORT_P1_DATA_PP0_Msk);
3246 }
3247 
3249 {
3251 }
3252 
3254 {
3256 }
3257 
3259 {
3260  Field_Inv32(&PORT->P1_DATA.reg, (uint8)PORT_P1_DATA_PP1_Msk);
3261 }
3262 
3264 {
3266 }
3267 
3269 {
3271 }
3272 
3274 {
3275  Field_Inv32(&PORT->P1_DATA.reg, (uint8)PORT_P1_DATA_PP2_Msk);
3276 }
3277 
3279 {
3281 }
3282 
3284 {
3286 }
3287 
3289 {
3290  Field_Inv32(&PORT->P1_DATA.reg, (uint8)PORT_P1_DATA_PP4_Msk);
3291 }
3292 
3294 {
3296 }
3297 
3299 {
3301 }
3302 
3304 {
3306 }
3307 
3309 {
3311 }
3312 
3314 {
3316 }
3317 
3319 {
3321 }
3322 
3324 {
3326 }
3327 
3329 {
3331 }
3332 
3334 {
3336 }
3337 
3339 {
3341 }
3342 
3344 {
3346 }
3347 
3349 {
3351 }
3352 
3354 {
3356 }
3357 
3359 {
3361 }
3362 
3364 {
3366 }
3367 
3369 {
3371 }
3372 
3374 {
3376 }
3377 
3379 {
3381 }
3382 
3384 {
3386 }
3387 
3389 {
3391 }
3392 
3394 {
3396 }
3397 
3399 {
3401 }
3402 
3404 {
3406 }
3407 
3409 {
3411 }
3412 
3414 {
3416 }
3417 
3419 {
3421 }
3422 
3424 {
3426 }
3427 
3429 {
3431 }
3432 
3434 {
3436 }
3437 
3439 {
3441 }
3442 
3444 {
3446 }
3447 
3449 {
3451 }
3452 
3454 {
3456 }
3457 
3459 {
3461 }
3462 
3464 {
3466 }
3467 
3469 {
3471 }
3472 
3474 {
3476 }
3477 
3479 {
3481 }
3482 
3484 {
3486 }
3487 
3489 {
3491 }
3492 
3494 {
3496 }
3497 
3499 {
3501 }
3502 
3504 {
3506 }
3507 
3509 {
3511 }
3512 
3514 {
3516 }
3517 
3519 {
3521 }
3522 
3524 {
3526 }
3527 
3529 {
3531 }
3532 
3534 {
3536 }
3537 
3539 {
3541 }
3542 
3544 {
3546 }
3547 
3549 {
3551 }
3552 
3554 {
3556 }
3557 
3559 {
3561 }
3562 
3564 {
3566 }
3567 
3569 {
3571 }
3572 
3574 {
3576 }
3577 
3579 {
3581 }
3582 
3584 {
3586 }
3587 
3589 {
3591 }
3592 
3594 {
3596 }
3597 
3599 {
3601 }
3602 
3604 {
3606 }
3607 
3609 {
3611 }
3612 
3614 {
3616 }
3617 
3619 {
3621 }
3622 
3624 {
3626 }
3627 
3629 {
3630  Field_Wrt32(&SCU->TCCR.reg, (uint8)SCU_TCCR_TCC_Pos, SCU_TCCR_TCC_Msk, range);
3631 }
3632 
3633 #endif /* PORT_H */
CMSIS Intrinsics access.
#define PORT
Definition: tle985x.h:6276
#define SCU
Definition: tle985x.h:6277
#define PORT_P0_PUDEN_PP1_Msk
Definition: tle985x.h:9643
#define PORT_P2_DIR_PP2_Msk
Definition: tle985x.h:9755
#define PORT_P2_PUDEN_PP2_Pos
Definition: tle985x.h:9765
#define PORT_P0_PUDEN_PP3_Msk
Definition: tle985x.h:9639
#define SCU_TCCR_TCC_Msk
Definition: tle985x.h:10380
#define SCU_P0_POCON0_P0_PDM3_Msk
Definition: tle985x.h:10304
#define PORT_P2_DATA_PP3_Msk
Definition: tle985x.h:9742
#define PORT_P0_OD_PP3_Pos
Definition: tle985x.h:9625
#define PORT_P1_PUDEN_PP1_Pos
Definition: tle985x.h:9725
#define PORT_P0_PUDEN_PP0_Pos
Definition: tle985x.h:9644
#define PORT_P2_PUDSEL_PP7_Pos
Definition: tle985x.h:9772
#define PORT_P0_PUDEN_PP3_Pos
Definition: tle985x.h:9638
#define PORT_P0_PUDEN_PP5_Msk
Definition: tle985x.h:9635
#define PORT_P2_DIR_PP3_Msk
Definition: tle985x.h:9753
#define PORT_P1_PUDEN_PP4_Msk
Definition: tle985x.h:9722
#define PORT_P1_DIR_PP0_Pos
Definition: tle985x.h:9709
#define PORT_P0_PUDEN_PP2_Pos
Definition: tle985x.h:9640
#define PORT_P2_DATA_PP2_Pos
Definition: tle985x.h:9743
#define PORT_P2_DATA_PP7_Msk
Definition: tle985x.h:9740
#define PORT_P1_PUDSEL_PP4_Msk
Definition: tle985x.h:9731
#define SCU_P0_POCON0_P0_PDM0_Pos
Definition: tle985x.h:10309
#define PORT_P2_DATA_PP7_Pos
Definition: tle985x.h:9739
#define PORT_P0_OD_PP1_Msk
Definition: tle985x.h:9630
#define PORT_P0_OD_PP2_Msk
Definition: tle985x.h:9628
#define PORT_P0_DIR_PP0_Msk
Definition: tle985x.h:9619
#define PORT_P1_OD_PP0_Pos
Definition: tle985x.h:9718
#define PORT_P0_DATA_PP5_Pos
Definition: tle985x.h:9583
#define PORT_P0_OD_PP4_Pos
Definition: tle985x.h:9623
#define PORT_P2_PUDSEL_PP1_Pos
Definition: tle985x.h:9778
#define PORT_P0_PUDSEL_PP4_Msk
Definition: tle985x.h:9650
#define PORT_P2_DIR_PP7_Pos
Definition: tle985x.h:9750
#define PORT_P1_PUDEN_PP2_Pos
Definition: tle985x.h:9723
#define PORT_P1_DATA_PP0_Msk
Definition: tle985x.h:9693
#define PORT_P2_PUDEN_PP7_Msk
Definition: tle985x.h:9762
#define PORT_P1_OD_PP1_Msk
Definition: tle985x.h:9717
#define PORT_P2_PUDEN_PP7_Pos
Definition: tle985x.h:9761
#define PORT_P0_OD_PP5_Pos
Definition: tle985x.h:9621
#define PORT_P0_DATA_PP0_Msk
Definition: tle985x.h:9594
#define PORT_P1_PUDSEL_PP0_Msk
Definition: tle985x.h:9737
#define PORT_P2_PUDEN_PP3_Msk
Definition: tle985x.h:9764
#define SCU_P0_POCON0_P0_PDM3_Pos
Definition: tle985x.h:10303
#define PORT_P1_PUDEN_PP0_Msk
Definition: tle985x.h:9728
#define PORT_P0_DATA_PP4_Msk
Definition: tle985x.h:9586
#define PORT_P0_OD_PP0_Msk
Definition: tle985x.h:9632
#define SCU_P1_POCON0_P1_PDM0_Msk
Definition: tle985x.h:10319
#define SCU_P0_POCON0_P0_PDM1_Msk
Definition: tle985x.h:10308
#define PORT_P0_DIR_PP1_Msk
Definition: tle985x.h:9617
#define PORT_P0_OD_PP2_Pos
Definition: tle985x.h:9627
#define PORT_P1_DIR_PP0_Msk
Definition: tle985x.h:9710
#define PORT_P2_DATA_PP2_Msk
Definition: tle985x.h:9744
#define PORT_P1_PUDEN_PP4_Pos
Definition: tle985x.h:9721
#define PORT_P1_DIR_PP1_Pos
Definition: tle985x.h:9707
#define PORT_P1_DATA_PP2_Msk
Definition: tle985x.h:9689
#define PORT_P0_DIR_PP3_Msk
Definition: tle985x.h:9613
#define PORT_P2_PUDEN_PP3_Pos
Definition: tle985x.h:9763
#define PORT_P1_OD_PP2_Msk
Definition: tle985x.h:9715
#define SCU_P0_POCON0_P0_PDM1_Pos
Definition: tle985x.h:10307
#define PORT_P0_PUDSEL_PP2_Pos
Definition: tle985x.h:9653
#define SCU_P0_POCON0_P0_PDM0_Msk
Definition: tle985x.h:10310
#define PORT_P2_DATA_PP1_Pos
Definition: tle985x.h:9745
#define PORT_P0_DATA_PP5_Msk
Definition: tle985x.h:9584
#define PORT_P1_PUDSEL_PP1_Pos
Definition: tle985x.h:9734
#define PORT_P0_DIR_PP4_Msk
Definition: tle985x.h:9611
#define PORT_P1_DIR_PP4_Msk
Definition: tle985x.h:9704
#define SCU_P1_POCON0_P1_PDM2_Msk
Definition: tle985x.h:10315
#define PORT_P1_DATA_PP4_Pos
Definition: tle985x.h:9686
#define PORT_P1_OD_PP1_Pos
Definition: tle985x.h:9716
#define PORT_P0_OD_PP3_Msk
Definition: tle985x.h:9626
#define PORT_P1_DIR_PP1_Msk
Definition: tle985x.h:9708
#define PORT_P0_PUDSEL_PP2_Msk
Definition: tle985x.h:9654
#define PORT_P2_PUDEN_PP0_Msk
Definition: tle985x.h:9770
#define PORT_P2_PUDEN_PP1_Pos
Definition: tle985x.h:9767
#define PORT_P2_PUDSEL_PP1_Msk
Definition: tle985x.h:9779
#define SCU_P0_POCON0_P0_PDM2_Msk
Definition: tle985x.h:10306
#define PORT_P0_PUDEN_PP4_Msk
Definition: tle985x.h:9637
#define SCU_P1_POCON0_P1_PDM1_Msk
Definition: tle985x.h:10317
#define PORT_P0_OD_PP0_Pos
Definition: tle985x.h:9631
#define PORT_P0_DIR_PP3_Pos
Definition: tle985x.h:9612
#define PORT_P0_DATA_PP4_Pos
Definition: tle985x.h:9585
#define PORT_P1_DATA_PP1_Msk
Definition: tle985x.h:9691
#define PORT_P2_DIR_PP1_Pos
Definition: tle985x.h:9756
#define PORT_P0_PUDSEL_PP4_Pos
Definition: tle985x.h:9649
#define PORT_P0_DIR_PP5_Msk
Definition: tle985x.h:9609
#define PORT_P0_PUDEN_PP5_Pos
Definition: tle985x.h:9634
#define PORT_P1_PUDEN_PP0_Pos
Definition: tle985x.h:9727
#define PORT_P1_PUDSEL_PP4_Pos
Definition: tle985x.h:9730
#define PORT_P0_PUDEN_PP1_Pos
Definition: tle985x.h:9642
#define PORT_P2_DIR_PP0_Pos
Definition: tle985x.h:9758
#define PORT_P0_PUDSEL_PP3_Msk
Definition: tle985x.h:9652
#define PORT_P2_PUDSEL_PP2_Msk
Definition: tle985x.h:9777
#define PORT_P0_DIR_PP2_Pos
Definition: tle985x.h:9614
#define SCU_P1_POCON0_P1_PDM4_Msk
Definition: tle985x.h:10313
#define PORT_P2_DATA_PP0_Pos
Definition: tle985x.h:9747
#define PORT_P0_PUDSEL_PP1_Msk
Definition: tle985x.h:9656
#define PORT_P2_DIR_PP0_Msk
Definition: tle985x.h:9759
#define PORT_P1_DIR_PP2_Msk
Definition: tle985x.h:9706
#define PORT_P1_PUDSEL_PP0_Pos
Definition: tle985x.h:9736
#define SCU_P0_POCON0_P0_PDM5_Pos
Definition: tle985x.h:10299
#define PORT_P2_PUDSEL_PP0_Pos
Definition: tle985x.h:9780
#define PORT_P2_DIR_PP3_Pos
Definition: tle985x.h:9752
#define PORT_P2_PUDEN_PP2_Msk
Definition: tle985x.h:9766
#define PORT_P2_PUDSEL_PP7_Msk
Definition: tle985x.h:9773
#define PORT_P0_DIR_PP2_Msk
Definition: tle985x.h:9615
#define PORT_P1_DATA_PP1_Pos
Definition: tle985x.h:9690
#define PORT_P0_PUDSEL_PP5_Msk
Definition: tle985x.h:9648
#define SCU_P0_POCON0_P0_PDM4_Pos
Definition: tle985x.h:10301
#define PORT_P2_PUDSEL_PP3_Pos
Definition: tle985x.h:9774
#define PORT_P2_PUDSEL_PP3_Msk
Definition: tle985x.h:9775
#define PORT_P0_PUDSEL_PP3_Pos
Definition: tle985x.h:9651
#define PORT_P1_OD_PP2_Pos
Definition: tle985x.h:9714
#define PORT_P1_PUDSEL_PP2_Msk
Definition: tle985x.h:9733
#define PORT_P1_PUDEN_PP1_Msk
Definition: tle985x.h:9726
#define PORT_P0_DATA_PP2_Msk
Definition: tle985x.h:9590
#define SCU_P0_POCON0_P0_PDM5_Msk
Definition: tle985x.h:10300
#define PORT_P1_OD_PP0_Msk
Definition: tle985x.h:9719
#define PORT_P0_DATA_PP3_Msk
Definition: tle985x.h:9588
#define PORT_P0_OD_PP1_Pos
Definition: tle985x.h:9629
#define PORT_P1_DIR_PP4_Pos
Definition: tle985x.h:9703
#define PORT_P0_PUDSEL_PP0_Pos
Definition: tle985x.h:9657
#define PORT_P0_PUDSEL_PP0_Msk
Definition: tle985x.h:9658
#define PORT_P0_DIR_PP5_Pos
Definition: tle985x.h:9608
#define PORT_P0_DIR_PP1_Pos
Definition: tle985x.h:9616
#define PORT_P0_DATA_PP2_Pos
Definition: tle985x.h:9589
#define PORT_P2_DATA_PP1_Msk
Definition: tle985x.h:9746
#define PORT_P1_PUDSEL_PP1_Msk
Definition: tle985x.h:9735
#define PORT_P0_DIR_PP4_Pos
Definition: tle985x.h:9610
#define PORT_P0_PUDEN_PP2_Msk
Definition: tle985x.h:9641
#define PORT_P1_PUDSEL_PP2_Pos
Definition: tle985x.h:9732
#define PORT_P2_DIR_PP2_Pos
Definition: tle985x.h:9754
#define PORT_P1_DATA_PP0_Pos
Definition: tle985x.h:9692
#define PORT_P0_PUDEN_PP0_Msk
Definition: tle985x.h:9645
#define PORT_P2_DIR_PP7_Msk
Definition: tle985x.h:9751
#define PORT_P1_DATA_PP4_Msk
Definition: tle985x.h:9687
#define PORT_P2_PUDSEL_PP2_Pos
Definition: tle985x.h:9776
#define PORT_P2_PUDSEL_PP0_Msk
Definition: tle985x.h:9781
#define PORT_P2_DIR_PP1_Msk
Definition: tle985x.h:9757
#define PORT_P2_DATA_PP3_Pos
Definition: tle985x.h:9741
#define SCU_P0_POCON0_P0_PDM2_Pos
Definition: tle985x.h:10305
#define PORT_P1_PUDEN_PP2_Msk
Definition: tle985x.h:9724
#define PORT_P0_DATA_PP3_Pos
Definition: tle985x.h:9587
#define SCU_P1_POCON0_P1_PDM0_Pos
Definition: tle985x.h:10318
#define PORT_P1_OD_PP4_Msk
Definition: tle985x.h:9713
#define PORT_P0_DATA_PP1_Msk
Definition: tle985x.h:9592
#define PORT_P0_OD_PP4_Msk
Definition: tle985x.h:9624
#define PORT_P0_PUDEN_PP4_Pos
Definition: tle985x.h:9636
#define PORT_P0_PUDSEL_PP5_Pos
Definition: tle985x.h:9647
#define PORT_P2_DATA_PP0_Msk
Definition: tle985x.h:9748
#define PORT_P0_DATA_PP0_Pos
Definition: tle985x.h:9593
#define PORT_P0_OD_PP5_Msk
Definition: tle985x.h:9622
#define PORT_P1_OD_PP4_Pos
Definition: tle985x.h:9712
#define PORT_P1_DIR_PP2_Pos
Definition: tle985x.h:9705
#define SCU_P1_POCON0_P1_PDM2_Pos
Definition: tle985x.h:10314
#define PORT_P0_DATA_PP1_Pos
Definition: tle985x.h:9591
#define SCU_P0_POCON0_P0_PDM4_Msk
Definition: tle985x.h:10302
#define PORT_P1_DATA_PP2_Pos
Definition: tle985x.h:9688
#define SCU_P1_POCON0_P1_PDM1_Pos
Definition: tle985x.h:10316
#define PORT_P2_PUDEN_PP1_Msk
Definition: tle985x.h:9768
#define PORT_P0_DIR_PP0_Pos
Definition: tle985x.h:9618
#define PORT_P0_PUDSEL_PP1_Pos
Definition: tle985x.h:9655
#define SCU_TCCR_TCC_Pos
Definition: tle985x.h:10379
#define PORT_P2_PUDEN_PP0_Pos
Definition: tle985x.h:9769
#define SCU_P1_POCON0_P1_PDM4_Pos
Definition: tle985x.h:10312
INLINE void PORT_P00_Output_High_Set(void)
Sets Port P00 to High Status.
Definition: port.h:2863
INLINE void PORT_P04_PullUp_Set(void)
Sets PullUp for Port P04.
Definition: port.h:3143
INLINE void PORT_P11_Output_Low_Set(void)
Sets Port P11 to Low Status.
Definition: port.h:3253
INLINE void PORT_P21_PullUpDown_Dis(void)
Disables PullUpDown for Port P21.
Definition: port.h:3543
INLINE void PORT_P11_Output_High_Set(void)
Sets Port P11 to High Status.
Definition: port.h:3248
INLINE void PORT_P02_PullUpDown_Dis(void)
Disables PullUpDown for Port P02.
Definition: port.h:3068
INLINE void PORT_P04_OpenDrain_En(void)
Enables Output OpenDrain for Port P04.
Definition: port.h:3023
INLINE void PORT_P10_Output_Set(void)
Sets Port P10 to Output.
Definition: port.h:3193
INLINE void PORT_P03_Output_Set(void)
Sets Port P03 to Output.
Definition: port.h:2833
INLINE void PORT_P03_PullUpDown_Dis(void)
Disables PullUpDown for Port P03.
Definition: port.h:3078
INLINE void PORT_P11_PullUpDown_Dis(void)
Disables PullUpDown for Port P11.
Definition: port.h:3368
uint8 PORT_ReadPin(uint32 PortPin)
Reads a port pin.
INLINE void PORT_P12_Output_High_Set(void)
Sets Port P12 to High Status.
Definition: port.h:3263
INLINE void PORT_P01_Output_Toggle_Set(void)
Sets Port P01 to Toggle Status.
Definition: port.h:2888
INLINE void PORT_P14_OpenDrain_Dis(void)
Disables Output OpenDrain for Port P14.
Definition: port.h:3348
INLINE void PORT_P00_PullUp_Set(void)
Sets PullUp for Port P00.
Definition: port.h:3103
INLINE void PORT_P00_OpenDrain_Dis(void)
Disables Output OpenDrain for Port P00.
Definition: port.h:2988
INLINE void PORT_P12_OpenDrain_En(void)
Enables Output OpenDrain for Port P12.
Definition: port.h:3333
INLINE void PORT_P14_Output_High_Set(void)
Sets Port P14 to High Status.
Definition: port.h:3278
INLINE void PORT_P20_Dis(void)
Sets Port P20 to Disable.
Definition: port.h:3453
INLINE void PORT_P00_Driver_Mode_Sel(uint8 mode)
Selects P0.0 Port Driver Mode.
Definition: port.h:3163
INLINE void PORT_P05_OpenDrain_En(void)
Enables Output OpenDrain for Port P05.
Definition: port.h:3033
INLINE void PORT_P00_PullDown_Set(void)
Sets PullDown for Port P00.
Definition: port.h:3108
INLINE void PORT_P02_OpenDrain_Dis(void)
Disables Output OpenDrain for Port P02.
Definition: port.h:3008
INLINE void PORT_P05_Output_Set(void)
Sets Port P05 to Output.
Definition: port.h:2853
INLINE void PORT_P05_OpenDrain_Dis(void)
Disables Output OpenDrain for Port P05.
Definition: port.h:3038
INLINE uint8 PORT_P21_Get(void)
Reads Port P21 Status.
Definition: port.h:3508
INLINE void PORT_P20_PullUpDown_Dis(void)
Disables PullUpDown for Port P20.
Definition: port.h:3533
INLINE void PORT_P14_PullUpDown_En(void)
Enables PullUpDown for Port P14.
Definition: port.h:3383
INLINE void PORT_P21_PullDown_Set(void)
Sets PullDown for Port P21.
Definition: port.h:3593
INLINE void PORT_P12_PullDown_Set(void)
Sets PullDown for Port P12.
Definition: port.h:3418
INLINE void PORT_P14_Driver_Mode_Sel(uint8 mode)
Selects P1.4 Port Driver Mode.
Definition: port.h:3448
INLINE void PORT_P01_Output_High_Set(void)
Sets Port P01 to High Status.
Definition: port.h:2878
INLINE void PORT_P04_PullUpDown_En(void)
Enables PullUpDown for Port P04.
Definition: port.h:3083
INLINE void PORT_P21_PullUp_Set(void)
Sets PullUp for Port P21.
Definition: port.h:3588
INLINE void PORT_P14_Input_Set(void)
Sets Port P14 to Input.
Definition: port.h:3228
INLINE void PORT_P14_PullUpDown_Dis(void)
Disables PullUpDown for Port P14.
Definition: port.h:3388
INLINE void PORT_P03_OpenDrain_En(void)
Enables Output OpenDrain for Port P03.
Definition: port.h:3013
INLINE void PORT_P01_PullUp_Set(void)
Sets PullUp for Port P01.
Definition: port.h:3113
INLINE void PORT_P00_Output_Toggle_Set(void)
Sets Port P00 to Toggle Status.
Definition: port.h:2873
INLINE void PORT_P14_PullDown_Set(void)
Sets PullDown for Port P14.
Definition: port.h:3428
INLINE void PORT_P23_PullDown_Set(void)
Sets PullDown for Port P23.
Definition: port.h:3613
INLINE void PORT_P02_Output_Low_Set(void)
Sets Port P02 to Low Status.
Definition: port.h:2898
INLINE void PORT_P22_PullUpDown_Dis(void)
Disables PullUpDown for Port P22.
Definition: port.h:3553
uint8 PORT_ReadPort(uint32 Port)
Reads a port.
INLINE void PORT_P10_OpenDrain_En(void)
Enables Output OpenDrain for Port P10.
Definition: port.h:3313
INLINE void PORT_P03_Output_High_Set(void)
Sets Port P03 to High Status.
Definition: port.h:2908
INLINE void PORT_P27_Input_Set(void)
Sets Port P27 to Input.
Definition: port.h:3498
INLINE void PORT_P04_PullDown_Set(void)
Sets PullDown for Port P04.
Definition: port.h:3148
INLINE void PORT_P14_OpenDrain_En(void)
Enables Output OpenDrain for Port P14.
Definition: port.h:3343
INLINE void PORT_P00_PullUpDown_En(void)
Enables PullUpDown for Port P00.
Definition: port.h:3043
INLINE void PORT_P03_OpenDrain_Dis(void)
Disables Output OpenDrain for Port P03.
Definition: port.h:3018
INLINE void PORT_P10_Input_Set(void)
Sets Port P10 to Input.
Definition: port.h:3198
INLINE void PORT_P12_PullUpDown_Dis(void)
Disables PullUpDown for Port P12.
Definition: port.h:3378
INLINE void PORT_P22_PullUp_Set(void)
Sets PullUp for Port P22.
Definition: port.h:3598
INLINE void PORT_P00_OpenDrain_En(void)
Enables Output OpenDrain for Port P00.
Definition: port.h:2983
INLINE void PORT_P10_Driver_Mode_Sel(uint8 mode)
Selects P1.0 Port Driver Mode.
Definition: port.h:3433
INLINE void PORT_P27_PullDown_Set(void)
Sets PullDown for Port P27.
Definition: port.h:3623
INLINE uint8 PORT_P05_Get(void)
Reads Port P05 Status.
Definition: port.h:2978
INLINE void PORT_P03_Input_Set(void)
Sets Port P03 to Input.
Definition: port.h:2838
INLINE void PORT_P23_PullUpDown_Dis(void)
Disables PullUpDown for Port P23.
Definition: port.h:3563
INLINE void PORT_P05_PullUpDown_En(void)
Enables PullUpDown for Port P05.
Definition: port.h:3093
INLINE void PORT_P22_Input_Set(void)
Sets Port P22 to Input.
Definition: port.h:3478
INLINE void PORT_P20_Input_Set(void)
Sets Port P20 to Input.
Definition: port.h:3458
INLINE uint8 PORT_P10_Get(void)
Reads Port P10 Status.
Definition: port.h:3293
void PORT_ChangePin(uint32 PortPin, uint32 Action)
Sets/clears/toggles a port pin in a safe way, i.e. with interrupt disable.
INLINE void PORT_P27_Dis(void)
Sets Port P27 to Disable.
Definition: port.h:3493
INLINE void PORT_P01_OpenDrain_Dis(void)
Disables Output OpenDrain for Port P01.
Definition: port.h:2998
INLINE void PORT_P02_Driver_Mode_Sel(uint8 mode)
Selects P0.2 Port Driver Mode.
Definition: port.h:3173
INLINE void PORT_P11_OpenDrain_En(void)
Enables Output OpenDrain for Port P11.
Definition: port.h:3323
INLINE void PORT_P05_PullUp_Set(void)
Sets PullUp for Port P05.
Definition: port.h:3153
INLINE void PORT_P11_PullUp_Set(void)
Sets PullUp for Port P11.
Definition: port.h:3403
INLINE void PORT_P05_PullDown_Set(void)
Sets PullDown for Port P05.
Definition: port.h:3158
INLINE void PORT_P12_OpenDrain_Dis(void)
Disables Output OpenDrain for Port P12.
Definition: port.h:3338
INLINE void PORT_P01_Output_Set(void)
Sets Port P01 to Output.
Definition: port.h:2813
INLINE void PORT_P04_Input_Set(void)
Sets Port P04 to Input.
Definition: port.h:2848
void PORT_Init(void)
Initializes the ports.
INLINE void PORT_P11_Input_Set(void)
Sets Port P11 to Input.
Definition: port.h:3208
INLINE void PORT_P05_Driver_Mode_Sel(uint8 mode)
Selects P0.5 Port Driver Mode.
Definition: port.h:3188
INLINE void PORT_P04_Output_High_Set(void)
Sets Port P04 to High Status.
Definition: port.h:2923
INLINE void PORT_P12_Input_Set(void)
Sets Port P12 to Input.
Definition: port.h:3218
INLINE void PORT_P11_PullUpDown_En(void)
Enables PullUpDown for Port P11.
Definition: port.h:3363
INLINE void PORT_P14_Output_Set(void)
Sets Port P14 to Output.
Definition: port.h:3223
INLINE void PORT_P01_Input_Set(void)
Sets Port P01 to Input.
Definition: port.h:2818
INLINE void PORT_P02_PullDown_Set(void)
Sets PullDown for Port P02.
Definition: port.h:3128
INLINE void PORT_P27_PullUpDown_Dis(void)
Disables PullUpDown for Port P27.
Definition: port.h:3573
INLINE void PORT_Temp_Comp_Sel(uint8 range)
Selects Temperature Compensation range.
Definition: port.h:3628
INLINE void PORT_P11_OpenDrain_Dis(void)
Disables Output OpenDrain for Port P11.
Definition: port.h:3328
INLINE void PORT_P05_Output_Low_Set(void)
Sets Port P05 to Low Status.
Definition: port.h:2943
INLINE void PORT_P03_Output_Toggle_Set(void)
Sets Port P03 to Toggle Status.
Definition: port.h:2918
INLINE void PORT_P00_Output_Set(void)
Sets Port P00 to Output.
Definition: port.h:2803
INLINE void PORT_P02_Output_Set(void)
Sets Port P02 to Output.
Definition: port.h:2823
INLINE void PORT_P03_PullUp_Set(void)
Sets PullUp for Port P03.
Definition: port.h:3133
INLINE void PORT_P00_Output_Low_Set(void)
Sets Port P00 to Low Status.
Definition: port.h:2868
INLINE uint8 PORT_P04_Get(void)
Reads Port P04 Status.
Definition: port.h:2973
INLINE uint8 PORT_P11_Get(void)
Reads Port P11 Status.
Definition: port.h:3298
INLINE void PORT_P03_Driver_Mode_Sel(uint8 mode)
Selects P0.3 Port Driver Mode.
Definition: port.h:3178
INLINE uint8 PORT_P27_Get(void)
Reads Port P27 Status.
Definition: port.h:3523
INLINE void PORT_P11_Driver_Mode_Sel(uint8 mode)
Selects P1.1 Port Driver Mode.
Definition: port.h:3438
INLINE void PORT_P12_PullUpDown_En(void)
Enables PullUpDown for Port P12.
Definition: port.h:3373
INLINE void PORT_P14_PullUp_Set(void)
Sets PullUp for Port P14.
Definition: port.h:3423
INLINE void PORT_P02_OpenDrain_En(void)
Enables Output OpenDrain for Port P02.
Definition: port.h:3003
INLINE uint8 PORT_P12_Get(void)
Reads Port P12 Status.
Definition: port.h:3303
INLINE void PORT_P04_Driver_Mode_Sel(uint8 mode)
Selects P0.4 Port Driver Mode.
Definition: port.h:3183
INLINE void PORT_P00_PullUpDown_Dis(void)
Disables PullUpDown for Port P00.
Definition: port.h:3048
INLINE void PORT_P00_Input_Set(void)
Sets Port P00 to Input.
Definition: port.h:2808
INLINE void PORT_P23_Dis(void)
Sets Port P23 to Disable.
Definition: port.h:3483
INLINE void PORT_P04_PullUpDown_Dis(void)
Disables PullUpDown for Port P04.
Definition: port.h:3088
INLINE uint8 PORT_P01_Get(void)
Reads Port P01 Status.
Definition: port.h:2958
INLINE void PORT_P04_Output_Low_Set(void)
Sets Port P04 to Low Status.
Definition: port.h:2928
INLINE void PORT_P27_PullUpDown_En(void)
Enables PullUpDown for Port P27.
Definition: port.h:3568
INLINE void PORT_P12_Driver_Mode_Sel(uint8 mode)
Selects P1.2 Port Driver Mode.
Definition: port.h:3443
INLINE void PORT_P10_PullUpDown_Dis(void)
Disables PullUpDown for Port P10.
Definition: port.h:3358
INLINE void PORT_P22_Dis(void)
Sets Port P22 to Disable.
Definition: port.h:3473
INLINE void PORT_P27_PullUp_Set(void)
Sets PullUp for Port P27.
Definition: port.h:3618
INLINE void PORT_P21_Dis(void)
Sets Port P21 to Disable.
Definition: port.h:3463
INLINE void PORT_P02_PullUp_Set(void)
Sets PullUp for Port P02.
Definition: port.h:3123
INLINE void PORT_P10_PullUpDown_En(void)
Enables PullUpDown for Port P10.
Definition: port.h:3353
INLINE void PORT_P03_Output_Low_Set(void)
Sets Port P03 to Low Status.
Definition: port.h:2913
INLINE uint8 PORT_P23_Get(void)
Reads Port P23 Status.
Definition: port.h:3518
INLINE void PORT_P23_PullUpDown_En(void)
Enables PullUpDown for Port P23.
Definition: port.h:3558
INLINE void PORT_P14_Output_Low_Set(void)
Sets Port P14 to Low Status.
Definition: port.h:3283
INLINE uint8 PORT_P03_Get(void)
Reads Port P03 Status.
Definition: port.h:2968
INLINE void PORT_P04_Output_Toggle_Set(void)
Sets Port P04 to Toggle Status.
Definition: port.h:2933
INLINE void PORT_P12_Output_Set(void)
Sets Port P12 to Output.
Definition: port.h:3213
INLINE void PORT_P04_OpenDrain_Dis(void)
Disables Output OpenDrain for Port P04.
Definition: port.h:3028
INLINE void PORT_P01_OpenDrain_En(void)
Enables Output OpenDrain for Port P01.
Definition: port.h:2993
INLINE uint8 PORT_P02_Get(void)
Reads Port P02 Status.
Definition: port.h:2963
INLINE void PORT_P01_Output_Low_Set(void)
Sets Port P01 to Low Status.
Definition: port.h:2883
INLINE void PORT_P05_Output_Toggle_Set(void)
Sets Port P05 to Toggle Status.
Definition: port.h:2948
INLINE void PORT_P11_Output_Toggle_Set(void)
Sets Port P11 to Toggle Status.
Definition: port.h:3258
INLINE void PORT_P10_PullUp_Set(void)
Sets PullUp for Port P10.
Definition: port.h:3393
INLINE void PORT_P02_PullUpDown_En(void)
Enables PullUpDown for Port P02.
Definition: port.h:3063
INLINE void PORT_P12_Output_Toggle_Set(void)
Sets Port P12 to Toggle Status.
Definition: port.h:3273
INLINE void PORT_P01_PullDown_Set(void)
Sets PullDown for Port P01.
Definition: port.h:3118
INLINE void PORT_P10_OpenDrain_Dis(void)
Disables Output OpenDrain for Port P10.
Definition: port.h:3318
INLINE void PORT_P05_Input_Set(void)
Sets Port P05 to Input.
Definition: port.h:2858
INLINE void PORT_P01_PullUpDown_Dis(void)
Disables PullUpDown for Port P01.
Definition: port.h:3058
INLINE void PORT_P20_PullUp_Set(void)
Sets PullUp for Port P20.
Definition: port.h:3578
INLINE void PORT_P11_PullDown_Set(void)
Sets PullDown for Port P11.
Definition: port.h:3408
INLINE uint8 PORT_P00_Get(void)
Reads Port P00 Status.
Definition: port.h:2953
INLINE void PORT_P20_PullUpDown_En(void)
Enables PullUpDown for Port P20.
Definition: port.h:3528
INLINE void PORT_P04_Output_Set(void)
Sets Port P04 to Output.
Definition: port.h:2843
INLINE void PORT_P03_PullDown_Set(void)
Sets PullDown for Port P03.
Definition: port.h:3138
INLINE void PORT_P02_Input_Set(void)
Sets Port P02 to Input.
Definition: port.h:2828
INLINE void PORT_P02_Output_High_Set(void)
Sets Port P02 to High Status.
Definition: port.h:2893
INLINE void PORT_P22_PullUpDown_En(void)
Enables PullUpDown for Port P22.
Definition: port.h:3548
INLINE void PORT_P03_PullUpDown_En(void)
Enables PullUpDown for Port P03.
Definition: port.h:3073
INLINE void PORT_P21_Input_Set(void)
Sets Port P21 to Input.
Definition: port.h:3468
INLINE void PORT_P20_PullDown_Set(void)
Sets PullDown for Port P20.
Definition: port.h:3583
INLINE uint8 PORT_P20_Get(void)
Reads Port P20 Status.
Definition: port.h:3503
void PORT_ChangePinAlt(uint32 PortPin, uint8 AltSel)
Change Alternative Settings.
INLINE void PORT_P10_Output_Low_Set(void)
Sets Port P10 to Low Status.
Definition: port.h:3238
INLINE void PORT_P23_Input_Set(void)
Sets Port P23 to Input.
Definition: port.h:3488
INLINE void PORT_P10_Output_High_Set(void)
Sets Port P10 to High Status.
Definition: port.h:3233
INLINE void PORT_P05_PullUpDown_Dis(void)
Disables PullUpDown for Port P05.
Definition: port.h:3098
INLINE void PORT_P05_Output_High_Set(void)
Sets Port P05 to High Status.
Definition: port.h:2938
INLINE uint8 PORT_P14_Get(void)
Reads Port P14 Status.
Definition: port.h:3308
INLINE void PORT_P22_PullDown_Set(void)
Sets PullDown for Port P22.
Definition: port.h:3603
INLINE void PORT_P12_PullUp_Set(void)
Sets PullUp for Port P12.
Definition: port.h:3413
INLINE uint8 PORT_P22_Get(void)
Reads Port P22 Status.
Definition: port.h:3513
INLINE void PORT_P01_Driver_Mode_Sel(uint8 mode)
Selects P0.1 Port Driver Mode.
Definition: port.h:3168
INLINE void PORT_P10_PullDown_Set(void)
Sets PullDown for Port P10.
Definition: port.h:3398
INLINE void PORT_P02_Output_Toggle_Set(void)
Sets Port P02 to Toggle Status.
Definition: port.h:2903
INLINE void PORT_P14_Output_Toggle_Set(void)
Sets Port P14 to Toggle Status.
Definition: port.h:3288
INLINE void PORT_P10_Output_Toggle_Set(void)
Sets Port P10 to Toggle Status.
Definition: port.h:3243
INLINE void PORT_P23_PullUp_Set(void)
Sets PullUp for Port P23.
Definition: port.h:3608
INLINE void PORT_P12_Output_Low_Set(void)
Sets Port P12 to Low Status.
Definition: port.h:3268
INLINE void PORT_P01_PullUpDown_En(void)
Enables PullUpDown for Port P01.
Definition: port.h:3053
INLINE void PORT_P21_PullUpDown_En(void)
Enables PullUpDown for Port P21.
Definition: port.h:3538
INLINE void PORT_P11_Output_Set(void)
Sets Port P11 to Output.
Definition: port.h:3203
SFR low level access library.
INLINE void Field_Inv32(volatile uint32 *reg, uint32 msk)
This function inverts a bit field in a 32-bit register.
Definition: sfr_access.h:393
INLINE uint8 u1_Field_Rd32(const volatile uint32 *reg, uint8 pos, uint32 msk)
This function reads a 1-bit field of a 32-bit register.
Definition: sfr_access.h:423
INLINE void Field_Wrt32(volatile uint32 *reg, uint8 pos, uint32 msk, uint32 val)
This function writes a bit field in a 32-bit register.
Definition: sfr_access.h:358
INLINE void Field_Mod32(volatile uint32 *reg, uint8 pos, uint32 msk, uint32 val)
This function writes a bit field in a 32-bit register.
Definition: sfr_access.h:378
CMSIS register HeaderFile.
General type declarations.
#define INLINE
Definition: types.h:145
uint8_t uint8
8 bit unsigned value
Definition: types.h:153
uint32_t uint32
32 bit unsigned value
Definition: types.h:155