CCS6.0 Graph display set 显示波形设置实例
*( ioport volatile unsigned short* )0x1f00 = 0;
// MULITPLY
*( ioport volatile unsigned short* )0x1f00 = 0x3000;
// COUNT
*( ioport volatile unsigned short* )0x1f00 |= 0x4F8; wait( 25 );
//*( ioport volatile unsigned short* )0x1f00 |= 0x800 // MODE
*( ioport volatile unsigned short* )0x1f00 |= 2; wait( 30000 ); // APLL Select
*( ioport volatile unsigned short* )0x1e80 = 1; // DELAY
wait( 60000 );
}
2、点击菜单project->build all,编译,如图,没错误。