完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
嗨,所有,和谐图形管理器的“显示设置”选项卡上的每个按钮的水平脉冲,垂直脉冲和数据启用,说“见/改变引脚”。按下按钮显示引脚表。我想我可以找到HSYNC,VSYNC,DE下的PMP部分,但没有。我想PMCS1或PMCS2可以用于DE,但是如何为RSyc和RD1设置RD4用于VSyc?BTW这是一个PIC32 MZ1024EFG100和声2.05Y001谢谢
以上来自于百度翻译 以下为原文 Hi all, The hARMony graphics manager's "Display Settings" tab has buttons in each section for the Horizontal pulse, vertical pulse and data enable that says "See/Change Pin". Pressing the button shows the pin table. I thought I could find HSYNC, VSYNC, DE under the PMP section but nope. I imagine PMCS1 or PMCS2 can be used for DE but how do I set RD4 for HSYNC and RD1 for VSYNC? BTW this is for a PIC32MZ1024EFG100 and Harmony 2.05_01 Thanks |
|
相关推荐
2个回答
|
|
可能还有其他的方法,但是我使用和谐配置器的PIN设置页面,并改变与显示相关的输出引脚的名称。使用诸如BSPL*LCDHHSyc、BSPL*LCDYDE等名称。在代码创建之后,您将在SytSyCyFig .h中找到一些定义:例如,如果编译器抱怨某些缺失的定义,则可能需要手动插入“包含”行。
以上来自于百度翻译 以下为原文 May be there are other ways, but I use the pin setting page of Harmony Configurator and change the name of the output pins related to display. Use names like: BSP_LCD_HSYNC, BSP_LCD_DE and so ON. After lauching code creation you'll find in your system_config.h some definitions like: #include "system/ports/sys_ports.h" /*** Functions for BSP_LCD_HSYNC pin ***/ #define BSP_LCD_HSYNCToggle() PLIB_PORTS_PinToggle(PORTS_ID_0, PORT_CHANNEL_G, PORTS_BIT_POS_6) #define BSP_LCD_HSYNCOn() PLIB_PORTS_PinSet(PORTS_ID_0, PORT_CHANNEL_G, PORTS_BIT_POS_6) #define BSP_LCD_HSYNCOff() PLIB_PORTS_PinClear(PORTS_ID_0, PORT_CHANNEL_G, PORTS_BIT_POS_6) #define BSP_LCD_HSYNCStateGet() PLIB_PORTS_PinGetLatched(PORTS_ID_0, PORT_CHANNEL_G, PORTS_BIT_POS_6) #define BSP_LCD_HSYNCStateSet(Value) PLIB_PORTS_PinWrite(PORTS_ID_0, PORT_CHANNEL_G, PORTS_BIT_POS_6, Value) /*** Functions for BSP_LCD_VSYNC pin ***/ #define BSP_LCD_VSYNCToggle() PLIB_PORTS_PinToggle(PORTS_ID_0, PORT_CHANNEL_G, PORTS_BIT_POS_7) #define BSP_LCD_VSYNCOn() PLIB_PORTS_PinSet(PORTS_ID_0, PORT_CHANNEL_G, PORTS_BIT_POS_7) #define BSP_LCD_VSYNCOff() PLIB_PORTS_PinClear(PORTS_ID_0, PORT_CHANNEL_G, PORTS_BIT_POS_7) #define BSP_LCD_VSYNCStateGet() PLIB_PORTS_PinGetLatched(PORTS_ID_0, PORT_CHANNEL_G, PORTS_BIT_POS_7) #define BSP_LCD_VSYNCStateSet(Value) PLIB_PORTS_PinWrite(PORTS_ID_0, PORT_CHANNEL_G, PORTS_BIT_POS_7, Value) Note that you may need to manually insert the #include line if the compiler complains about some missing definition. Bye |
|
|
|
EgCasiRa:是的,我通过查看安装中的例子来解决这个问题。我必须手动包含端口的头文件,否则我会得到错误:包括“外围设备/端口/ PLIPH端口。H”,我仍在苦苦思索为什么它现在包括一个SRAM的EBI代码。谢谢。
以上来自于百度翻译 以下为原文 egcasira: Yeah, I figure that out by looking at the examples included with the install. I had to manually #include the header file for the ports or I would get errors: #include "peripheral/ports/plib_ports.h" I'm still struggling with why it keeps including EBI code for an SRAM now. Thanks |
|
|
|
只有小组成员才能发言,加入小组>>
5248 浏览 9 评论
2037 浏览 8 评论
1957 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3218 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2265 浏览 5 评论
788浏览 1评论
679浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
608浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
685浏览 0评论
582浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-28 03:13 , Processed in 1.261376 second(s), Total 78, Slave 62 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号