2008-11-27 01:43 AM
Use I/O port as interrupt
2011-05-17 06:02 AM
Dera all
I met a problem when used I/O port as interrupt.The documentation(RM0016) says STM8S has up to 32 interrupt vectors fixed by hardware,which is the Reference manul for STM8S microcontroller family.And when use STVD , stm8_interrupt_vector.c has 32 interrupt too.But at page 110 in RM0016, interrupt mapping only has 27 interrupt.There are not external interrupt for Port F,G,H,I. If I want to use a pin of Port H to be the interrupt,which registers I should config? And which interrupt vector in vector table in stm8_interrupt_vector.c I should use?2011-05-17 06:02 AM
Hi Yuhao,
for the STM8S product you can only configure Port A,B,C,D and E, in vector table the Last 4 vectors are not used so not mapped to any peripheral interrupt. best regards2011-05-17 06:02 AM
Hi Yuhao,
for the STM8S product you can only configure Port A,B,C,D and E, in vector table the Last 4 vectors are not used so not mapped to any peripheral interrupt. best regards2011-05-17 06:02 AM
Hi Bassinux
Thanks very much!