Setting the clock

This commit is contained in:
MHeinrichs
2016-12-28 01:34:03 +01:00
parent 4a0794d0f9
commit 9e20fea5db
3 changed files with 2 additions and 2 deletions
+2 -2
View File
@@ -35,8 +35,8 @@ int SoftReset(APTR *BaseAddress){
WORD wTestWriteData, wTestReadData;
// Perform a reset via the PSP interface
//set the clock to 33mhz: COCON[3..0] = "0001"
//CLRREG(BaseAddress,ECON2, (ECON2_COCON3|ECON2_COCON2|ECON2_COCON1));
//SETREG(BaseAddress,ECON2, ECON2_COCON0);
CLRREG(BaseAddress,ECON2, (ECON2_COCON3|ECON2_COCON2|ECON2_COCON1));
SETREG(BaseAddress,ECON2, ECON2_COCON0);
do