AnsweredAssumed Answered

Selecting an alternate function

Question asked by Michurin on Nov 11, 2012
Latest reply on Nov 12, 2012 by Clive One
Reading UM0033, page 138, figure 14.
Sorry, can not exactly understand it. For example,  I want to connect C.8 to CAN1_TX and C.9 to CAN1_RX. I see AF9 (CAN1/CAN2, TIM12..14). and need to use GPIOC_AFRH(LSB)

GPIOC->AFR[1].&= ~0x0000000F; // clr
GPIOC->AFR[1].|=  0x00000009; // AF9

But how do I know that it is CAN1, not the other alternatives and where is CAN1_TX and CAN1_RX?

Thanks

Outcomes