Re: KHz representation in Linux kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Wed, Sep 30, 2009 at 4:06 AM, Pei Lin <telent997@xxxxxxxxx> wrote:
i just think you query about why the "stupid computer" only can
recognize '0' and '1'. ^_^  :)

 
But still 32000 can be represented as 0 & 1 :( . This will have shift while executing delay loop  or any calcs.
32KHz Timer will have only 32000 ticks per second , not 32768 ticks

 
2009/9/30 Shankar Ganesh <shankarganeshk@xxxxxxxxx>:
> Hi all,
>     In linux kernel, all the places i found ,for ex 32KHz clock is
> represented as 32768 Hz, not as 32 x 1000 Hz .  Could you please help to
> understand why  2 ^ x is used instead of 10 ^ y  ?
>
>
> Regards,
> Shankar
>



--
Best Regards
Lin


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux