Skip to main content
tinkerBOY
Associate II
February 25, 2020
Question

Looking for sample external interrupt code for STM8S003F3P6

  • February 25, 2020
  • 5 replies
  • 2682 views

I'm new to STM8 microcontrollers and have purchased a few STM8S003F3P6 boards to learn how to interface a PS/2 keyboard and mouse. I have installed the ST Visual Develop IDE with STM8 Standard Peripheral Library and started tinkering with blinking a LED. Now, I want to learn more about external interrupts. I tried googling but couldn't find any sample code. Anyone?

Best Regards,

tinkerBOY

    This topic has been closed for replies.

    5 replies

    Tesla DeLorean
    Guru
    February 25, 2020

    Not at a computer right now, but should be EXTI examples, configure pin as input associate pin# with EXTI​

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    tinkerBOY
    tinkerBOYAuthor
    Associate II
    February 25, 2020

    A sample code would be great. :)

    Tesla DeLorean
    Guru
    February 25, 2020

    STM8S_StdPeriph_Lib\Project\STM8S_StdPeriph_Examples\EXTI\EXTI_InterruptPriority ??

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    tinkerBOY
    tinkerBOYAuthor
    Associate II
    February 26, 2020

    Oops, I didn't notice that.

    Tried the EXTI example and it works great, thank you!