linux下如何使GPIO的clkout功能

18 views
Skip to first unread message

陈生

unread,
Aug 18, 2012, 5:21:48 AM8/18/12
to linuxdriver
s3c2440芯片,在linux读取了CLKCON,已经使能GPIO时钟输出,查看MISCCR寄存器,已经选择了HCLK了,也已经设置了GPHCON,使得GPH9引脚为时钟输出功能,但就是没抓到时钟信号,一直高电平。
请教:
1、内核提供了哪些封装来使用这个时钟。我使用了clk_get(NULL,"clkou0"),之后并不能设置频率和使能clk_enable
2、究竟还有那些行为会导致GPIO的时钟输出失败



James W.

unread,
Aug 27, 2012, 1:06:07 AM8/27/12
to linux...@googlegroups.com
是的示波器,频率没有问题吧,


2012/8/18 陈生 <pingfanr...@126.com>:

> --
> _______________________________________________
> Linux设备驱动开发邮件列表 linux...@googlegroups.com
> http://groups.google.gr/group/linuxdriver?hl=zh-CN
> 退订请使用原订阅邮箱发邮件至:linuxdriver...@googlegroups.com

Reply all
Reply to author
Forward
0 new messages