各位老师
您们好,我想问问在uboot中怎样控制GPIO口呢?我在我的uboot文件中想对GPIO口进行控制,想让GPIO13输出高电平已经将GPIO13管脚的模式配置成了gpio模式,我在u-boot-03.00.02.07/board/timll/devkit8500/devkit8500.c文件中添加如下代码:
omap_set_gpio_direction(13,0);
omap_set_gpio_dataout(13,1);
但为什么在板子上还是输出的是低电平呢?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.