void CardInit(void) { SysPowerDirOut; SysPowerClos; CpuCardRstDirOut; CpuCardRstHig; CpuCardSdaDirOut; CpuCardSdaHig; SysSclDirOut;//------------------------------------------------------------- SysSclHig; EasmChipRstDirOut; EasmChipRstHig; EasmChipSdaDirOut; EasmChipSdaHig; P1IE = 0; P1IES = 0; P1IE |= CardChkSt; P1IES |= CardChkSt; } MSP430操作CPU卡原程序-----本人作品禁止任何形式的转载
相关链接:http://blog.21ic.com/user1/405/archives/2009/54980.html |