Other Parts Discussed in Thread: CONTROLSUITE
Tool/software: Code Composer Studio
hello
how to configure the registers for the GPIOs
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software: Code Composer Studio
hello
how to configure the registers for the GPIOs
Hi,
Please find below a sample configuration for GPIO.
EALLOW;
GpioCtrlRegs.GPAPUD.bit.GPIO25 = 0; // Enable pullup on GPIO25
GpioCtrlRegs.GPAMUX2.bit.GPIO25 = 0; // GPIO25 = GPIO25
GpioCtrlRegs.GPADIR.bit.GPIO25 = 1; // GPIO25 = output
EDIS;
Thanks
Vasudha