cancel
Showing results for 
Search instead for 
Did you mean: 

I want to remap TIM1_CH1 and TIM1_CH2 to Port C6 and C7 respectively in an STM8S003F3P device. What do I have to do? Is there any example code available?

MWiel
Associate
 
1 REPLY 1
Cristian Gyorgy
Senior III

You just need to program bit AFR0 of option byte OPT2, so write a 0x01 to OPT2.