Skip to main content
MWiel
Visitor II
Question

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?

..

    This topic has been closed for replies.

    1 reply

    Cristian Gyorgy
    Associate II

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