Skip to content

Instantly share code, notes, and snippets.

@kristianpaul
Created February 19, 2012 19:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kristianpaul/1865260 to your computer and use it in GitHub Desktop.
Save kristianpaul/1865260 to your computer and use it in GitHub Desktop.
paul@micro:~/Work/mm/gps/upstream/milkymist/software$ ack-grep -a CSR_FREQUENCY
libhal/time.c
35: CSR_TIMER0_COMPARE = CSR_FREQUENCY;
66: ts->usec = counter/(CSR_FREQUENCY/1000000);
74: if(counter < (CSR_FREQUENCY/2))
include/hw/sysctl.h
51:#define CSR_FREQUENCY MMPTR(0xe0001074)
gdbstub/gdbstub.c
707: CSR_UART_DIVISOR = CSR_FREQUENCY / 16 / GDBSTUB_UART_SPEED;
bios/main.c
479: CSR_TIMER0_COMPARE = 2*CSR_FREQUENCY;
599: CSR_TIMER0_COMPARE = CSR_FREQUENCY >> 2;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment