Question: Question 2 Complete the code fragment below to enable analog function on pins PE0 and PE3 using friendly software (reference: Table R.1). #define GPIO_PORTE_AMSEL_R (*((volatile
Question 2
Complete the code fragment below to enable analog function on pins PE0 and PE3 using friendly software (reference: Table R.1).
#define GPIO_PORTE_AMSEL_R (*((volatile unsigned long*))________________________________)
GPIO_PORTE_AMSEL____________R = _____________________________________________ ;

Table R.1. TM4C GPIO registers Address Name S400F E108 SYSCTL RCGC2 R S4000.4000 PORTA base address S4000.5000 PORTB base address $4000.6000 PORTC base address $4000.7000 PORTD base address $4002.4000 PORTE base address S4002.5000 PORTF base address base+S3FC GPIO PORTx DATAR base+S400 GPIO PORTx DIR R base S420 GPIO PORTx AFSEL R base+$510 GPIO PORTx PUR R base+$51C GPIO PORT DEN R base+S524 GPIO PORTx CR R base+S528 GPIO PORTx AMSEL R
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
