|
Rockbox mail archiveSubject: [question] prescanning fm radio frequencies[question] prescanning fm radio frequencies
From: Youngwha.K <mipsan_at_gmail.com>
Date: Tue, 7 Jun 2005 11:15:44 +0900 -- Hi there. A question about prescanning of FM Radio. I use Philips TEA5767HN and 32.768KHz Xtal, To check the designated frequency is tuned, following part will be referenced, int philips_get(int setting) { ...ommitted... case RADIO_TUNED: val = 0; if (read_bytes[0] & 0x80) /* ready */ { val = read_bytes[2] & 0x7F; /* IF counter */ val = (abs(val - 0x36) < 2); /* close match */ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ } break; ...ommitted... } I hope someone may explain this underlined line and the digits(what 0x36 and 2 mean). This routine can catch the clear frequencies normally. However it can miss the clear ones many times too. Thanks mipsan ///////////////////////////////////////////////// // // // WHY NOT !!! LET'S TRY !!! // // // // mipsan_at_gmail.com // // // ///////////////////////////////////////////////// _______________________________________________ http://cool.haxx.se/mailman/listinfo/rockbox Received on 2005-06-07 Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy |