Fixed wrong MCF_GPT0_GMS initialization.
This commit is contained in:
@@ -87,7 +87,7 @@ void BaS(void)
|
|||||||
|
|
||||||
MCF_GPT0_GMS = MCF_GPT_GMS_ICT(1) | /* timer 0 on, video change capture on rising edge */
|
MCF_GPT0_GMS = MCF_GPT_GMS_ICT(1) | /* timer 0 on, video change capture on rising edge */
|
||||||
MCF_GPT_GMS_IEN |
|
MCF_GPT_GMS_IEN |
|
||||||
MCF_GPT_GMS(1);
|
MCF_GPT_GMS_TMS(1);
|
||||||
MCF_INTC_ICR62 = 0x3f;
|
MCF_INTC_ICR62 = 0x3f;
|
||||||
|
|
||||||
* (uint8_t *) 0xf0010004 = 0xfe; /* enable int 1-7 */
|
* (uint8_t *) 0xf0010004 = 0xfe; /* enable int 1-7 */
|
||||||
|
|||||||
Reference in New Issue
Block a user