Option.inc
上传用户:mhstny
上传日期:2022-08-05
资源大小:793k
文件大小:1k
源码类别:

微处理器开发

开发平台:

Unix_Linux

  1. ;===========================================
  2. ; NAME: OPTION.A
  3. ; DESC: Configuration options for .S files
  4. ; HISTORY:
  5. ; 02.28.2002: ver 0.0
  6. ;===========================================
  7. ;Start address of each stacks,
  8. _STACK_BASEADDRESS EQU 0x33ff8000  
  9. _MMUTT_STARTADDRESS EQU 0x33ff8000  
  10. _ISR_STARTADDRESS EQU 0x33ffff00
  11. GBLL  PLL_ON_START  
  12. PLL_ON_START SETL  {TRUE}
  13. GBLL ENDIAN_CHANGE
  14. ENDIAN_CHANGE SETL {FALSE}
  15. GBLA ENTRY_BUS_WIDTH
  16. ENTRY_BUS_WIDTH SETA 16
  17. ;BUSWIDTH = 16,32
  18. GBLA    BUSWIDTH ;max. bus width for the GPIO configuration
  19. BUSWIDTH SETA    32
  20. GBLA FCLK
  21. FCLK SETA 50000000
  22.     [ FCLK = 20000000
  23. M_MDIV EQU 0x20 ;Fin=12.0MHz Fout=30.0MHz
  24. M_PDIV EQU 0x4
  25. M_SDIV EQU 0x2
  26.     ]
  27.     [ FCLK = 30000000
  28. M_MDIV EQU 0x34 ;Fin=12.0MHz Fout=30.0MHz
  29. M_PDIV EQU 0x4
  30. M_SDIV EQU 0x2
  31.     ]
  32.     [ FCLK = 50000000
  33. M_MDIV EQU 0x5c ;Fin=12.0MHz Fout=50.0MHz
  34. M_PDIV EQU 0x4
  35. M_SDIV EQU 0x2
  36.     ]
  37.     [ FCLK = 60000000
  38. M_MDIV EQU 0x70 ;Fin=12.0MHz Fout=60.0MHz
  39. M_PDIV EQU 0x4
  40. M_SDIV EQU 0x2
  41.     ]
  42.     [ FCLK = 70000000
  43. M_MDIV EQU 0x84 ;Fin=12.0MHz Fout=70.0MHz
  44. M_PDIV EQU 0x4
  45. M_SDIV EQU 0x2
  46.     ]
  47.     [ FCLK = 75000000
  48. M_MDIV EQU 0x8e ;Fin=12.0MHz Fout=75.0MHz
  49. M_PDIV EQU 0x4
  50. M_SDIV EQU 0x2
  51.     ]
  52. END