<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[使用YTM32B1HA0系列100pin，PTD17配置为Dio输出，无法控制高低电平]]></title><description><![CDATA[<p dir="auto"><img src="https://yt-static-main.oss-cn-shanghai.aliyuncs.com/nodebb/475/2143d6ac-efac-441e-bda3-f92d60aa46d4.png" alt="3eb94d41-92a0-4986-b312-563757aaadd3.png" class=" img-fluid img-markdown" /><br />
<img src="https://yt-static-main.oss-cn-shanghai.aliyuncs.com/nodebb/475/afcd278d-2ffa-47c0-8140-2a6b227ec53a.png" alt="f7455743-a2b9-4dd9-ab1a-11cb79c428e7.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">使用YTM32B1HA0系列100pin，PTD17配置为Dio输出，无法控制输出高低电平，经过仿真调试发现在写DIO时，执行到DIO_LLD_VALID_PORT_PIN判断时会出现错误。DIO_PORTD_PINS_MASK宏定义为0x1FFFC，此处应该定义为0x3FFFC才能正常控制PTD17输出。<br />
这个宏定义在YT Config Tool中哪里可以配置为0x3FFFC？</p>
]]></description><link>https://forum.ytmicro.com/topic/2066/使用ytm32b1ha0系列100pin-ptd17配置为dio输出-无法控制高低电平</link><generator>RSS for Node</generator><lastBuildDate>Thu, 25 Jun 2026 19:05:55 GMT</lastBuildDate><atom:link href="https://forum.ytmicro.com/topic/2066.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 25 Jun 2026 03:15:14 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to 使用YTM32B1HA0系列100pin，PTD17配置为Dio输出，无法控制高低电平 on Thu, 25 Jun 2026 09:22:24 GMT]]></title><description><![CDATA[<p dir="auto">已经内部check了，下个版本会修复</p>
]]></description><link>https://forum.ytmicro.com/post/8949</link><guid isPermaLink="true">https://forum.ytmicro.com/post/8949</guid><dc:creator><![CDATA[swust]]></dc:creator><pubDate>Thu, 25 Jun 2026 09:22:24 GMT</pubDate></item><item><title><![CDATA[Reply to 使用YTM32B1HA0系列100pin，PTD17配置为Dio输出，无法控制高低电平 on Thu, 25 Jun 2026 09:20:52 GMT]]></title><description><![CDATA[<p dir="auto">这个问题后续会更新吗？因为每次生成代码后都要手动改，不好维护。</p>
]]></description><link>https://forum.ytmicro.com/post/8948</link><guid isPermaLink="true">https://forum.ytmicro.com/post/8948</guid><dc:creator><![CDATA[zhangweiguang88]]></dc:creator><pubDate>Thu, 25 Jun 2026 09:20:52 GMT</pubDate></item><item><title><![CDATA[Reply to 使用YTM32B1HA0系列100pin，PTD17配置为Dio输出，无法控制高低电平 on Thu, 25 Jun 2026 05:54:32 GMT]]></title><description><![CDATA[<p dir="auto">这个是固定的，resource选择了lqfp100生成的就是1fffc，但是100pin封装确实是有PTD17的，可以先手动修改成0x3fffc</p>
]]></description><link>https://forum.ytmicro.com/post/8946</link><guid isPermaLink="true">https://forum.ytmicro.com/post/8946</guid><dc:creator><![CDATA[swust]]></dc:creator><pubDate>Thu, 25 Jun 2026 05:54:32 GMT</pubDate></item></channel></rss>