DSP281x_GpioQuickRef.gel
上传用户:qingfan3
上传日期:2014-10-27
资源大小:31439k
文件大小:4k
源码类别:

DSP编程

开发平台:

C/C++

  1. /********************************************************************/
  2. /* File: DSP281x_GpioQuickRef.gel                                   */
  3. /* Description:                                                     */
  4. /*    Simple quickreference for the GPIO mux on the 281x devices    */
  5. /* Revision:                                                        */
  6. /*          1.00 - July 22, 2002, Original                          */
  7. /********************************************************************/
  8. /* Add a space line to the GEL menu */
  9. menuitem "____________________________________";
  10. hotmenu _() {}
  11. /************************************************************/
  12. /* All '2810/12 for those using DSP28 Header Files          */
  13. /************************************************************/
  14. menuitem "GPIO Port Quick Reference"
  15. hotmenu All_GPIO_MUX()
  16. {
  17.      GPIOA_MUX();
  18.      GPIOB_MUX();
  19.      GPIOD_MUX();
  20.      GPIOE_MUX();
  21.      GPIOF_MUX();
  22.      GPIOG_MUX();    
  23. }
  24. hotmenu GPIOA_MUX()
  25. {
  26.    GEL_TextOut("GPIOAx --n","QuickRef",1); 
  27.    GEL_TextOut("A15     A14     A13     A12     A11     A10     A9     A8n","QuickRef");
  28.    GEL_TextOut("C3TRIP  C2TRIP  C1TRIP  TCLKINA TDIRA   CAP3QI1 CAP2Q2 CAP1Q1n","QuickRef");
  29.    GEL_TextOut("A7      A6      A5      A4      A3      A2      A1     A0n","QuickRef");
  30.    GEL_TextOut("T2PWM   T1PWM   PWM6    PWM5    PWM4    PWM3    PWM2   PWM1  n","QuickRef");
  31. }
  32. hotmenu GPIOB_MUX()
  33. {
  34.    GEL_TextOut("GPIOBx --n","QuickRef",1); 
  35.    GEL_TextOut("B15     B14     B13     B12     B11     B10         B9            B8n","QuickRef");
  36.    GEL_TextOut("C6TRIP  C5TRIP  C4TRIP  TCLKINB TDIRB   CAP6QI1     CAP5Q2        CAP4Q1n","QuickRef");
  37.    GEL_TextOut("B7      B6      B5      B4      B3      B2          B1            B0n","QuickRef");
  38.    GEL_TextOut("T4PWM   T3PWM   PWM12   PWM11   PWM10   PWM9        PWM8          PWM7  n","QuickRef");
  39. }
  40. hotmenu GPIOD_MUX()
  41. {
  42.    GEL_TextOut("GPIODx --n","QuickRef",1); 
  43.    GEL_TextOut("D15     D14     D13     D12     D11     D10         D9             D8n","QuickRef");
  44.    GEL_TextOut("-       -       -       -       -       -           -              - n","QuickRef");
  45.    GEL_TextOut("D7      D6      D5      D4      D3      D2          D1             D0n","QuickRef");
  46.    GEL_TextOut("-       T3PWM   PWM6    -       -       -           T2CTRIP_SOCA   T1CTRIP_PDPA n","QuickRef");
  47. }
  48. hotmenu GPIOE_MUX()
  49. {
  50.    GEL_TextOut("GPIOEx --n","QuickRef",1); 
  51.    GEL_TextOut("E15     E14     E13     E12     E11     E10          E9            E8n","QuickRef");
  52.    GEL_TextOut("-       -       -       -       -       -            -             - n","QuickRef");
  53.    GEL_TextOut("E7      E6      E5      E4      E3      E2           E1            E0n","QuickRef");
  54.    GEL_TextOut("-       -       -       -       -       XNMI_XINT13  XINT2_ADCSOC  XINT1_XBIO n","QuickRef");
  55. }
  56. hotmenu GPIOF_MUX()
  57. {
  58.    GEL_TextOut("GPIOFx --n","QuickRef",1); 
  59.    GEL_TextOut("F15     F14     F13     F12     F11     F10          F9            F8n","QuickRef");
  60.    GEL_TextOut("-       XF      MDRA    MDXA    MFSRA   MFSXA        MCLKRA        MCLKXAn","QuickRef");
  61.    GEL_TextOut("F7      F6      F5      F4      F3      F2           F1            F0n","QuickRef");
  62.    GEL_TextOut("CANRXA  CANTXA  SCIRXDA SCITXDA SPISTEA SPICLKA      SPISOMIA      SPISIMOA n","QuickRef");
  63. }
  64. hotmenu GPIOG_MUX()
  65. {
  66.    GEL_TextOut("GPIOGx --n","QuickRef",1); 
  67.    GEL_TextOut("G15     G14     G13     G12     G11     G10     G9     G8n","QuickRef");
  68.    GEL_TextOut("-       -       -       -       -       -       -      - n","QuickRef");
  69.    GEL_TextOut("G7      G6      G5      G4      G3      G2             G1            G0n","QuickRef");
  70.    GEL_TextOut("-       -       SCIRXDB SCITXDB -       -              -             - n","QuickRef");
  71. }
  72. /*** End of file ***/