Tool/software: Code Composer Studio
Hi,
For configuring CAN3Tx Pin as GIO the following code is used
canREG3->TIOC = canREG3->TIOC | 0x00000002 ; // Pin HIGH
canREG3->TIOC = canREG3->TIOC & 0xFFFFFFFD; // Pin low
Where: TIOC is defined in canBase volatile struct as follows:
uint32 TIOC; /**< 0x01E0: TX IO Control Register */
uint32 RIOC; /**< 0x01E4: RX IO Control Register */
I want to know the code that would set the CAN3Rx Pin as GIO.
Also let us know if both CANxTx & CANxRx shall be set High or Both pins shall be set to Low without any conflict?