Re: Read CCNT on PXA255 | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
On Tue, Aug 12, 2008 at 01:03:03PM +0500, Junaid Jamil wrote: > Also simple unsigned difference will not work. For example I first > read OSCR and get 0xFFFFFFFE and when read again and get 0x00000005 so > simple unsigned difference will be too big than actual difference > which is 6 clock ticks. I have catered this issue as below: Doesn't the OSCR increment as: 0xfffffffe 0xffffffff 0x00000000 0x00000001 0x00000002 0x00000003 0x00000004 0x00000005 I'll let you count the number of ticks there, but I think you'll find it's 7 not 6. ------------------------------------------------------------------- List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm FAQ: http://www.arm.linux.org.uk/mailinglists/faq.php Etiquette: http://www.arm.linux.org.uk/mailinglists/etiquette.php
[Site Home] [Linux ARM Kernel] [Fedora ARM] [IETF Annouce] [Security] [Bugtraq] [Linux] [Linux OMAP] [Linux MIPS] [ECOS] [Tools] [DDR & Rambus] [Monitors]
![]() |
|