Advertisement
Guest User

Untitled

a guest
Jun 20th, 2013
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. # ./rtctest
  2.  
  3. RTC Driver Test Example.
  4.  
  5. Counting 5 update (1/sec) interrupts from reading /dev/rtc0: 1 2 3 4 5
  6. Again, from using select(2) on /dev/rtc: 1 2 3 4 5
  7.  
  8. Current RTC date/time is 2-1-2010, 20:44:49.
  9. Alarm time now set to 20:44:54.
  10. Waiting 5 seconds for alarm... okay. Alarm rang.
  11.  
  12. Periodic IRQ rate is 1Hz.
  13. Counting 20 interrupts at:
  14. 2Hz: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
  15. 4Hz: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
  16. 8Hz: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
  17. 16Hz: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
  18. 32Hz: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
  19. 64Hz: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
  20.  
  21. *** Test complete ***
  22. #
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement