updated comments and made (hopefully) better readable

This commit is contained in:
Markus Fröschle
2013-07-29 15:20:57 +00:00
parent cf56195375
commit df714c86eb
2 changed files with 3 additions and 2 deletions

View File

@@ -167,7 +167,8 @@ void enable_coldfire_interrupts()
MCF_GPT0_GMS = MCF_GPT_GMS_ICT(1) | /* timer 0 on, video change capture on rising edge */
MCF_GPT_GMS_IEN |
MCF_GPT_GMS_TMS(1);
MCF_INTC_ICR62 = 0x3f;
/* route GPT0 interrupt on interrupt controller */
MCF_INTC_ICR62 = 0x3f; /* interrupt level 7, interrupt priority 7 */
*FPGA_INTR_ENABLE = 0xfe; /* enable int 1-7 */
MCF_EPORT_EPIER = 0xfe; /* int 1-7 on */

View File

@@ -767,7 +767,7 @@ psc3_fertig:
RTE
/*
* timer 0: video change later also others
* general purpose timer 0 (GPT0): video change, later also others
*/
timer0:
move #0x2700,sr