Presentation is loading. Please wait.

Presentation is loading. Please wait.

void Init_SDRAM(void) { if (*pEBIU_SDSTAT & SDRS) { *pEBIU_SDRRC = 0x00000406; *pEBIU_SDBCTL = 0x00000025; *pEBIU_SDGCTL = 0x0091998d; *point =

Similar presentations


Presentation on theme: "void Init_SDRAM(void) { if (*pEBIU_SDSTAT & SDRS) { *pEBIU_SDRRC = 0x00000406; *pEBIU_SDBCTL = 0x00000025; *pEBIU_SDGCTL = 0x0091998d; *point ="— Presentation transcript:

1

2

3

4

5 void Init_SDRAM(void) { if (*pEBIU_SDSTAT & SDRS) { *pEBIU_SDRRC = 0x00000406; *pEBIU_SDBCTL = 0x00000025; *pEBIU_SDGCTL = 0x0091998d; *point = pSDRAM_open; ssync(); }

6 void Loading(void) { iChannel0LeftIn = iRxBuffer1[INTERNAL_ADC_L0]; iChannel0RightIn = iRxBuffer1[INTERNAL_ADC_R0]; iChannel1LeftIn = iRxBuffer1[INTERNAL_ADC_L0]; iChannel1RightIn = iRxBuffer1[INTERNAL_ADC_R0]; iChannel0LeftOut = iChannel0LeftIn; iChannel0RightOut = iChannel0RightIn; iChannel1LeftOut = iChannel1LeftIn; iChannel1RightOut = iChannel1RightIn; iTxBuffer1[INTERNAL_DAC_L0] = iChannel0LeftOut; iTxBuffer1[INTERNAL_DAC_R0] = iChannel0RightOut; iTxBuffer1[INTERNAL_DAC_L1] = iChannel1LeftOut; iTxBuffer1[INTERNAL_DAC_R1] = iChannel1RightOut; *point++ = (short)(iChannel0LeftIn>>8); } EX_INTERRUPT_HANDLER(Timer0_ISR) { if(LEDLOAD) { *pTIMER_STATUS = 0x0001; if(sLight_Move_Direction) { if((ucActive_LED = ucActive_LED >> 1) == 0x00) ucActive_LED = 0x40; } else { if((ucActive_LED = ucActive_LED << 1) == 0x40) ucActive_LED = 0x01; } *pFlashA_PortB_Data = ucActive_LED; }

7 if (PLAY == 1) { ChannelLeftOut = *point++; if (FILTERCYCLE == 0) { iChannel0LeftOut = ((int) ChannelLeftOut)<<8; if (SPKRCYCLE==0) { Process_Data2(); } else if (SPKRCYCLE==1) { Process_Data4(); } else if (FILTERCYCLE == 1) { ChannelLeftOut = *point++; iChannel0LeftOut = ((int) ChannelLeftOut)<<8; if (SPKRCYCLE==0) { Process_Data2(); } else if (SPKRCYCLE==1) { Process_Data4(); }

8


Download ppt "void Init_SDRAM(void) { if (*pEBIU_SDSTAT & SDRS) { *pEBIU_SDRRC = 0x00000406; *pEBIU_SDBCTL = 0x00000025; *pEBIU_SDGCTL = 0x0091998d; *point ="

Similar presentations


Ads by Google