I am trying to configure the QEI operation for TM4C124GH6PZ. The ROM based function doesn't work. So I have to access the register directly (see below). Has anybody the sameexperience?
GPIO_PORTD_AFSEL_R = ( GPIO_PORTD_AFSEL_R | 0x0C0 );
GPIO_PORTF_AFSEL_R = ( GPIO_PORTF_AFSEL_R | 0x010 );
GPIO_PORTD_PCTL_R = ( GPIO_PORTD_PCTL_R | 0x066000000 );
GPIO_PORTF_PCTL_R = ( GPIO_PORTF_PCTL_R | 0x000060000 );
// ROM_GPIOPinConfigure(GPIO_PF4_IDX0);
// ROM_GPIOPinConfigure(GPIO_PD6_PHA0);
// ROM_GPIOPinConfigure(GPIO_PD7_PHB0);
// ROM_GPIOPinTypeQEI(QEI0_BASE,GPIO_PIN_4);
// ROM_GPIOPinTypeQEI(QEI0_BASE,GPIO_PIN_6);
// ROM_GPIOPinTypeQEI(QEI0_BASE,GPIO_PIN_7);