Use I/O port as interrupt
Company  
ST Home | Microcontrollers

Index  »  STM8S  »  Use I/O port as interrupt
     
   Use I/O port as interrupt
 Moderated by :   »  laubey  -  Setler  -  ziunn

Author
beginning argument    ( Replies received: 3 )
yuhao   Posted 26-11-2008 at 10:01   



Registered on :
11-26-2009

Messages : 2

 OFF-Line

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?



 Profile   Quote  
bassinux   Posted 26-11-2008 at 13:08   



Registered on :
11-15-2009

Messages : 10

 OFF-Line

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 regards




 Profile   Quote  
bassinux   Posted 26-11-2008 at 13:15   



Registered on :
11-15-2009

Messages : 10

 OFF-Line

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 regards




 Profile   Quote  
yuhao   Posted 27-11-2008 at 15:13   



Registered on :
11-26-2009

Messages : 2

 OFF-Line

Hi Bassinux

Thanks very much!



 Profile   Quote  
On Top

Search in the forums
 
Jump To