deciding the pin of as an interrupt in stm8s003f3

Discussion in 'General Electronics Chat' started by Dimpi, Dec 30, 2013.

  1. Dimpi

    Thread Starter Member

    Sep 6, 2013
    hi all.

    i m stuck with deciding the pin(dat is interrupt pin) for counting pulses for zero cross detection at the input of STM8S003F3.

    i have read the ref manual is mentioned for 20 pin (stm8s003f3).

    the Top Level Interrupt source (TLI) can be available on the PC3 pin using an alternate function
    remapping option bit.

    m nt sure can i use this pc3 pin as an interrupt for the application mentioned above.
    how if i used ADC_ETR which can be used as a pin for sensing external trigger??

    is it dat sending pulses for zero cross detection at input(of stm8s003f3) and trigger can be used in same sense???
    cant make out surely which pin of stm8s003f3 to use as an interrupt even reading manuals and datasheet.
    any help wold be highly appreciated.
    tnx in advance..