Other Parts Discussed in Thread: C2000WARE
Hi All,
I want to use GPIO_SetupPinMux & GPIO_SetupPinOptions and I need to know more about how to use it.
Example :
GPIO_SetupPinMux(70, GPIO_MUX_CPU1, 0);// Pin mux option
GPIO_SetupPinOptions(70, GPIO_INPUT, GPIO_PUSHPULL); // Pin mode
If i see the function call, GPIO Mux Pins setting, we need to pass the argument (three arguments) such as the Uint16 pin, Uint16 cpu, and Uint16 peripheral.
The pin is pin number, & what is the peripheral and the cpu number ?
1. What does the each mean, What value should is pass ? Shall it can take any Uint16 (0 to 65535) values or is there any limitations ?
2. Is there any document reference for using this function calls ?
Thanks,
Rajamurugan