{"id":3998,"date":"2024-04-13T08:59:39","date_gmt":"2024-04-13T03:29:39","guid":{"rendered":"https:\/\/cthecosmos.com\/?p=3998"},"modified":"2024-04-13T08:59:39","modified_gmt":"2024-04-13T03:29:39","slug":"features-of-gpio-port-pins-on-tc375lk-tricore","status":"publish","type":"post","link":"https:\/\/cthecosmos.com\/?p=3998","title":{"rendered":"Features of GPIO Port pins on TC375LK Tricore"},"content":{"rendered":"\n<p class=\"has-black-color has-white-background-color has-text-color has-background has-link-color wp-elements-7e2295bfa816f333e633900ffead4048\" style=\"font-size:17px;line-height:1.8\">1. \ud835\udc6d\ud835\udc8d\ud835\udc86\ud835\udc99\ud835\udc8a\ud835\udc83\ud835\udc8d\ud835\udc86 \ud835\udc7c\ud835\udc94\ud835\udc82\ud835\udc88\ud835\udc86: Each GPIO port line is versatile, with various control and data bits enabling diverse applications of the line.<br><br>2. \ud835\udc70\ud835\udc8f\ud835\udc91\ud835\udc96\ud835\udc95 \ud835\udc74\ud835\udc90\ud835\udc85\ud835\udc86 (default after reset):<br>&#8211; The output driver is off, resulting in high impedance.<br>&#8211; A Schmitt-Trigger device translates the actual voltage level at the port pin into a logical 0 or 1.<br>&#8211; This logic level can be read using the register Pn_IN.<br>&#8211; Input signals directly connect to various peripheral units&#8217; inputs.<br>&#8211; The input line&#8217;s function remains consistent regardless of whether the port pin functions as input or output.<br><br>3. \ud835\udc76\ud835\udc96\ud835\udc95\ud835\udc91\ud835\udc96\ud835\udc95 \ud835\udc74\ud835\udc90\ud835\udc85\ud835\udc86:<br>&#8211; The output driver is activated, reflecting the value supplied through a multiplexer to the port pin.<br>&#8211; Transition between input and output modes is managed through the Pn_IOCR register.<br>&#8211; The register also controls the output driver type and decides the internal connection (pull-up, pull-down, or no pull device) when used as an input.<br><br>4. \ud835\udc76\ud835\udc96\ud835\udc95\ud835\udc91\ud835\udc96\ud835\udc95 \ud835\udc74\ud835\udc96\ud835\udc8d\ud835\udc95\ud835\udc8a\ud835\udc91\ud835\udc8d\ud835\udc86\ud835\udc99\ud835\udc86\ud835\udc93:<br>&#8211; Determines the signal source for the GPIO line when set as output.<br>&#8211; If used as a general-purpose output, the multiplexer links to the Output Data Register Pn_OUT, which software can manipulate.<br><br>5. \ud835\udc77\ud835\udc86\ud835\udc93\ud835\udc8a\ud835\udc91\ud835\udc89\ud835\udc86\ud835\udc93\ud835\udc82\ud835\udc8d \ud835\udc7c\ud835\udc8f\ud835\udc8a\ud835\udc95\ud835\udc94 &amp; \ud835\udc76\ud835\udc96\ud835\udc95\ud835\udc91\ud835\udc96\ud835\udc95 \ud835\udc7a\ud835\udc8a\ud835\udc88\ud835\udc8f\ud835\udc82\ud835\udc8d\ud835\udc94:<br>&#8211; Alternate output lines can be connected to the output driver through the multiplexer.<br>&#8211; Software-written data in Pn_OUT can serve as input data for an on-chip peripheral.<br><br>6. \ud835\udc6e\ud835\udc86\ud835\udc8f\ud835\udc86\ud835\udc93\ud835\udc82\ud835\udc8d-\ud835\udc77\ud835\udc96\ud835\udc93\ud835\udc91\ud835\udc90\ud835\udc94\ud835\udc86 \ud835\udc76\ud835\udc96\ud835\udc95\ud835\udc91\ud835\udc96\ud835\udc95:<br>&#8211; The logic state of each port pin can be individually altered through various registers.<br>&#8211; Actual logic levels at the pin can be examined through Pn_IN and compared with the applied output level. This functionality aids in detecting electrical failures externally or implementing software-supported arbitration schemes.<br><br>7. \ud835\udc6c\ud835\udc8e\ud835\udc86\ud835\udc93\ud835\udc88\ud835\udc86\ud835\udc8f\ud835\udc84\ud835\udc9a \ud835\udc7a\ud835\udc95\ud835\udc90\ud835\udc91 \ud835\udc73\ud835\udc90\ud835\udc88\ud835\udc8a\ud835\udc84:<br>&#8211; Many digital GPIO lines have an emergency stop logic that allows individual outputs to be disconnected and set to a defined logic state during emergencies.<br>&#8211; In an emergency, the pin switches to input function with an internal pull-up device or remains in tri-state, based on the global configuration. The Emergency Stop Register Pn_ESR determines the output&#8217;s state during an emergency.<br><br>In summary, the GPIO port offers a high degree of configurability and flexibility, allowing for both basic and advanced operations. The port supports various modes, including input, output, and emergency stop logic, ensuring robust functionality in diverse scenarios.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"607\" height=\"706\" data-attachment-id=\"4000\" data-permalink=\"https:\/\/cthecosmos.com\/?attachment_id=4000\" data-orig-file=\"https:\/\/i0.wp.com\/cthecosmos.com\/wp-content\/uploads\/2024\/04\/infenion2.jpeg?fit=607%2C706&amp;ssl=1\" data-orig-size=\"607,706\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"infenion2\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/cthecosmos.com\/wp-content\/uploads\/2024\/04\/infenion2.jpeg?fit=258%2C300&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/cthecosmos.com\/wp-content\/uploads\/2024\/04\/infenion2.jpeg?fit=607%2C706&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/cthecosmos.com\/wp-content\/uploads\/2024\/04\/infenion2.jpeg?resize=607%2C706&#038;ssl=1\" alt=\"\" class=\"wp-image-4000\" style=\"width:607px;height:auto\" \/><figcaption class=\"wp-element-caption\">Img Src: Aurix TC375LK Datasheet<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"has-white-color has-text-color has-background has-link-color has-medium-font-size wp-elements-486e7799b35920eece0029316d5e98bd\" style=\"background:linear-gradient(135deg,rgb(35,23,11) 0%,rgb(254,45,45) 50%,rgb(107,0,62) 100%)\">~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br><strong>An Article by: <\/strong>Yashwanth Naidu Tikkisetty<br>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The GPIO port provides versatile control and data bits for diverse applications. It offers input, output, and emergency stop logic modes, ensuring robust functionality. The port&#8217;s high degree of configurability and flexibility allows for basic and advanced operations, making it suitable for diverse scenarios and supporting various peripheral units&#8217; inputs.<\/p>\n<a href=\"https:\/\/cthecosmos.com\/?p=3998\" class=\"more-link\">Read More <span class=\"screen-reader-text\">Features of GPIO Port pins on TC375LK Tricore<\/span><\/a>","protected":false},"author":120055267,"featured_media":4002,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":false,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_wpas_customize_per_network":false},"categories":[30181],"tags":[770793778,772321193,9634231,320213,1354040],"class_list":{"0":"post-3998","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","6":"hentry","7":"category-embedded-systems","8":"tag-aurix-tc375-lk","9":"tag-embedded-systems","10":"tag-gpio","11":"tag-microcontroller","12":"tag-short-article","14":"fallback-thumbnail"},"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/cthecosmos.com\/wp-content\/uploads\/2024\/04\/pexels-photo-2182863.jpeg?fit=867%2C1300&ssl=1","jetpack_likes_enabled":true,"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8CiEf-12u","jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/cthecosmos.com\/index.php?rest_route=\/wp\/v2\/posts\/3998","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cthecosmos.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cthecosmos.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cthecosmos.com\/index.php?rest_route=\/wp\/v2\/users\/120055267"}],"replies":[{"embeddable":true,"href":"https:\/\/cthecosmos.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3998"}],"version-history":[{"count":4,"href":"https:\/\/cthecosmos.com\/index.php?rest_route=\/wp\/v2\/posts\/3998\/revisions"}],"predecessor-version":[{"id":4004,"href":"https:\/\/cthecosmos.com\/index.php?rest_route=\/wp\/v2\/posts\/3998\/revisions\/4004"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cthecosmos.com\/index.php?rest_route=\/wp\/v2\/media\/4002"}],"wp:attachment":[{"href":"https:\/\/cthecosmos.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3998"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cthecosmos.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3998"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cthecosmos.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3998"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}