void emcStaticInit () { EMC_STATICWAITWEN0_bit.WAITWEN = 0xF; // EMC_STATICWAITWR0_bit.WAITWR = 0x1F; EMC_STATICWAITOEN0_bit.WAITOEN = 0xF; EMC_STATICWAITPAGE0_bit.WAITPAGE = 0xf; EMC_STATICWAITTURN0_bit.WAITTURN = 0x1f; EMC_STATICWAITRD0_bit.WAITRD = 0x1f; EMC_STATICCONFIG0_bit.B = 0x0; EMC_STATICCONFIG0_bit.MW = 0x1; EMC_STATICCONFIG0_bit.PM = 0x0; EMC_STATICCONFIG0_bit.PB = 0x1; } |