Skip to main content
Visitor II
February 25, 2020
Question

Looking for sample external interrupt code for STM8S003F3P6

  • February 25, 2020
  • 2 replies
  • 2193 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.

    2 replies

    Graduate II
    February 25, 2020

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

    tinkerBOYAuthor
    Visitor II
    February 25, 2020

    A sample code would be great. :)

    Graduate II
    February 25, 2020

    STM8S_StdPeriph_Lib\Project\STM8S_StdPeriph_Examples\EXTI\EXTI_InterruptPriority ??

    tinkerBOYAuthor
    Visitor II
    February 26, 2020

    Oops, I didn't notice that.

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