[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-690273-105":59,"doc-detail-690273-en":130,"doc-similar-690273":170},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","psoc-4-using-gpio-pins-technical-note","PSoC 4 - Using GPIO Pins - technical note","","AN86439 explains how to use PSoC 4 GPIO pins effectively through practical use-case examples. The guidance covers GPIO basics, pin routing, startup and low-power behavior, and interrupt configuration. It also addresses overvoltage-tolerant (OVT) pins, how to use GPIO in PSoC Creator, including symbols, customizer options, interrupts, manual assignments, APIs, and debug logic. The document adds implementation tips, appendices, and development-board references.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":30,"@type":76,"position":81},"https://docshare.wps.com/document/technology/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/psoc-4-using-gpio-pins-technical-note/690273/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/psoc-4-using-gpio-pins-technical-note/690273.png","ImageObject",300,407,{"name":92,"@type":93},"Elsa","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-19","2026-11-08",true,{"@type":102,"interactionType":103,"userInteractionCount":24},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What does AN86439 cover about PSoC 4 GPIO pins?","Question",{"text":112,"@type":113},"It covers GPIO fundamentals, pin routing, startup and low-power behavior, and interrupt concepts, then extends to OVT pins and practical use in PSoC Creator with examples and APIs.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"How are GPIO interrupts handled in PSoC 4?",{"text":117,"@type":113},"The note discusses GPIO interrupt basics and explains how to configure GPIO interrupt settings using both firmware and PSoC Creator-related workflows.",{"name":119,"@type":110,"acceptedAnswer":120},"What topics are included under “GPIO Tips and Tricks”?",{"text":121,"@type":113},"It includes practical demonstrations such as toggling an LED, reading and writing I/O, driving outputs from logic, synchronization settings, faster toggling with data registers, and deep-sleep register handling.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},690273,1794160169,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":24,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":129,"read_time":144,"preview_page_count":29,"preview_urls":145},137455077381,"https://ap-avatar.wpscdn.com/davatar_994ba38a5ba835b3df7d355c54d3ed8d","AN86439  \nPSoC® 4 – Using GPIO Pins  \nAuthor: Rajiv Badiger  \nAssociated Project: Yes  \nAssociated Part Family: PSoC 4  \nSoftware Version: PSoC Creator™ 3.2 or higher  \nRelated Application Notes: For a complete list of the application notes, click here. If you have a question, or need help with this application note, contact the author at  \n[rjvb@cypress.com](rjvb@cypress.com)  \nAN86439 explains how to use PSoC® 4 GPIO pins effectively with various use case examples to take full advantage of their features. Major topics include GPIO basics, configuration options, mixed-signal use, interrupts, and low-power behavior.  \nContents  \n1 Introduction ...............................................................2  \n2 PSoC Resources ......................................................2  \n3 PSoC Creator ...........................................................3  \n4 Example Projects......................................................4  \n5 PSoC Creator Help ...................................................5  \n6 Technical Support.....................................................5  \n7 GPIO Pin Basics .......................................................6  \n7.1 Physical Structure of GPIO Pins ......................6  \n7.2 Pin Routing ......................................................8  \n7.3 Startup and Low-Power Behavior ..................15  \n7.4 GPIO Interrupt ............................................... 16  \n8 Overvoltage-Tolerant (OVT) Pins ...........................17  \n9 GPIO Pins in PSoC Creator ...................................18  \n9.1 Pins Component Symbols..............................18  \n9.2 Pins Component Customizer .........................18  \n9.3 Pins Component Interrupts ............................20  \n9.4 Manual Pin Assignments ...............................23  \n9.5 PSoC Creator APIs ........................................23  \n9.6 Debug Logic on GPIO Pins............................24  \n9.7 Add Multiple GPIO Pins as a Logical Port......24  \n9.8 Represent Off-Chip Components...................26  \n10 GPIO Tips and Tricks .............................................28  \n10.1 Toggle an LED ...............................................29  \n10.2 Read an Input and Write to an Output ...........30  \n10.3 Drive an Output from a Digital Logic Gate .....30  \n10.4 Set the GPIO Input/Output Synchronization ..31  \n10.5 Toggle GPIOs Faster with Data Registers .....36  \n10.6 Configure GPIO Output Enable Logic ............39  \n10.7 Pin Interrupt ...................................................41  \n10.8 Configure GPIO Interrupt Settings with Firmware ....................................................................42  \n10.9 Using Both Analog and Digital on a GPIO .....44  \n10.10 Gang Pins for More Drive/Sink Current .....46  \n10.11 Control Register Handling in Deep-Sleep..49  \n11 Related Application Notes ......................................51  \n12 Summary ................................................................52  \n13 About the Authors...................................................52  \nA Appendix A: PSoC 4 GPIO Compared to PSoC 1, PSoC 3, and PSoC 5LP GPIO ........................................53  \nB Appendix B: PSoC 4 Development Boards ............53  \nDocument History............................................................54  \nWorldwide Sales and Design Support.............................55  \nProducts ..........................................................................55  \nPSoC® Solutions .............................................................55  \nCypress Developer Community.......................................55  \nTechnical Support ...........................................................55  \n1 Introduction  \nPSoC has powerful and flexible general-purpose I/O (GPIO) pins that provide more features than traditional MCUs. In PSoC, the GPIOs are controlled not only by configuring the registers in the firmware, similar to traditional MCUs, but are also driven by cust","cbCaikp2iNQOsS4O","https://ap.wps.com/l/cbCaikp2iNQOsS4O","pdf",2521007,55,"English","# Contents\n## Introduction\n## PSoC Resources\n## PSoC Creator\n## Example Projects\n## GPIO Pin Basics\n## Overvoltage-Tolerant (OVT) Pins\n## GPIO Pins in PSoC Creator\n## GPIO Tips and Tricks\n## Related Application Notes\n## Summary\n## About the Authors\n## Appendix A: PSoC 4 GPIO Compared\n## Appendix B: PSoC 4 Development Boards","[{\"question\":\"What does AN86439 cover about PSoC 4 GPIO pins?\",\"answer\":\"It covers GPIO fundamentals, pin routing, startup and low-power behavior, and interrupt concepts, then extends to OVT pins and practical use in PSoC Creator with examples and APIs.\"},{\"question\":\"How are GPIO interrupts handled in PSoC 4?\",\"answer\":\"The note discusses GPIO interrupt basics and explains how to configure GPIO interrupt settings using both firmware and PSoC Creator-related workflows.\"},{\"question\":\"What topics are included under “GPIO Tips and Tricks”?\",\"answer\":\"It includes practical demonstrations such as toggling an LED, reading and writing I/O, driving outputs from logic, synchronization settings, faster toggling with data registers, and deep-sleep register handling.\"}]","PSoC 4 - Using GPIO Pins - technical note | PDF",139,[146,150,154,158,162,166],{"page_no":8,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/9186b1b1df0999fb91511859a7936944.webp",983,1272,{"page_no":14,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/8b66000906554d816496744e4b7e0937.webp",982,1270,{"page_no":81,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/e3a39a551e7cacd955400ea012d5b278.webp",981,1269,{"page_no":19,"url":159,"width":160,"height":161},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/01eb07eab891af5ad56d6a50cb314bee.webp",980,1268,{"page_no":24,"url":163,"width":164,"height":165},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/87fc3d9397ec44e5287ca76b90f07796.webp",979,1267,{"page_no":29,"url":167,"width":168,"height":169},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/18f4d1cb5a5299a949c5d4d7bb05ab5d.webp",978,1265,{"list":171,"token":66},[172,178,184,190,196,203,209,215,221,227],{"doc_id":173,"doc_title":174,"file_type":137,"home_preview_img_url":175,"slug":176,"view_count":19,"category_name":30,"create_tm":177},692061,"PSoC 4 System Reference Guide - cy_boot Component v5.20 - Document","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002058459/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111699&Signature=KgrxB1JECsgnly1QIjxrEQyrTas%3D","psoc-4-system-reference-guide-cy_boot-component-v520-document",1794178071,{"doc_id":179,"doc_title":180,"file_type":137,"home_preview_img_url":181,"slug":182,"view_count":24,"category_name":30,"create_tm":183},690039,"Adafruit MCP23017 I2C GPIO Expander Breakout","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001921785/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111699&Signature=NBXb%2F44b%2BgBDgpia5Yun2I0QOxU%3D","adafruit-mcp23017-i2c-gpio-expander-breakout",1794145753,{"doc_id":185,"doc_title":186,"file_type":137,"home_preview_img_url":187,"slug":188,"view_count":44,"category_name":30,"create_tm":189},690042,"MCP23017 IO Expansion Board - User Manual","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001921843/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111699&Signature=m4KHS0IYP1DuijiexNqj2qDo4PI%3D","mcp23017-io-expansion-board-user-manual",1794145755,{"doc_id":191,"doc_title":192,"file_type":137,"home_preview_img_url":193,"slug":194,"view_count":24,"category_name":30,"create_tm":195},720352,"Arduino Mega 2560 Datasheet","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230023672530/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111699&Signature=HDd0I9gla%2FD2LLiCU8xok40bMGQ%3D","arduino-mega-2560-datasheet",1795036784,{"doc_id":197,"doc_title":198,"file_type":137,"home_preview_img_url":199,"slug":200,"view_count":201,"category_name":30,"create_tm":202},562204,"AW9523B - Multi-function LED driver and GPIO controller with I2C interface - Features, applications and electrical limits","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229947671940/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111699&Signature=%2Bx01p7sF8YRSwO7Ecebqyi%2F39Hg%3D","aw9523b-multi-function-led-driver-and-gpio-controller-with-i2c-interface-features-applications-and-electrical-limits",15,1791808014,{"doc_id":204,"doc_title":205,"file_type":137,"home_preview_img_url":206,"slug":207,"view_count":44,"category_name":30,"create_tm":208},664003,"Gumstix Overo - Interface Board - Drawing","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229981909953/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111699&Signature=tkvfYPWxIfxDz5w%2Bpc57qkZ0Sc8%3D","gumstix-overo-interface-board-drawing",1793236187,{"doc_id":210,"doc_title":211,"file_type":137,"home_preview_img_url":212,"slug":213,"view_count":29,"category_name":30,"create_tm":214},689933,"Adafruit PCF8574 I2C GPIO Expander - Overview - Wiring","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002264255/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111699&Signature=QdFCIuXiiGRjRrn9NNemjG9k3Ng%3D","adafruit-pcf8574-i2c-gpio-expander-overview-wiring",1794136907,{"doc_id":216,"doc_title":217,"file_type":137,"home_preview_img_url":218,"slug":219,"view_count":29,"category_name":30,"create_tm":220},691255,"CY8C21334/CY8C21534 - Automotive PSoC Programmable System-on-Chip Features","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002670604/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111699&Signature=cx1CeeotuAX7vwqAfp0kPKAidUk%3D","cy8c21334cy8c21534-automotive-psoc-programmable-system-on-chip-features",1794173517,{"doc_id":222,"doc_title":223,"file_type":137,"home_preview_img_url":224,"slug":225,"view_count":52,"category_name":30,"create_tm":226},561838,"Pin-out and Package Information","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229947778623/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111699&Signature=CKpkbqcFTWXg7OdoSiW7kUOQqp0%3D","pin-out-and-package-information",1791807047,{"doc_id":228,"doc_title":229,"file_type":137,"home_preview_img_url":230,"slug":231,"view_count":19,"category_name":30,"create_tm":232},692059,"PSoC 4: PSoC 4100 Family Datasheet - General Description - Features Overview","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002893507/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111699&Signature=OWc6VJsTejDWbL0MylivWwV00NM%3D","psoc-4-psoc-4100-family-datasheet-general-description-features-overview",1794178064]