Quantcast
Channel: MCS Electronics Forum
Viewing all articles
Browse latest Browse all 20639

BASCOM-AVR : Pin Change Interrupt atmega 1284P - On interrupt subroutine : NEWTOPIC

$
0
0
Hi all, I want to use Pin Change Interrupt at PORTA7 of Atmega1284P. (This differs from External Int0 Int1 Int2) Now I have to write the interrupt subroutine. But I cannot find the proper [u:1e7344897c]name[/u:1e7344897c] of the interrupt source... On (interrupt name) label I have doc8272.pdf page 61 they say PCINT0 (vector no. 5 Address $0008) is the Pin Change Interrupt Request. But on page 69 they say "the corresponding Pin Change Interrupt Request is executed from the PCI0 vector. Now I assume that the "PCINT0" on page 61 should be called PCI0 (because they already named all the pins PCINT31....PCINT0 in the dat file). In Bascom I want to do: On PCI0 label or On PCINT0 label But there is no PCI0 in the dat... PCINT0 is there assigned the bitnumber of the pin. And both are not mentioned in the Bascom documentation as an "On interrupt" interrupt name. Question: how can i make my interrupt subroutine? [b:1e7344897c][color=red:1e7344897c](BASCOM-AVR version : 2.0.7.6 )[/b:1e7344897c][/color:1e7344897c]

Viewing all articles
Browse latest Browse all 20639

Trending Articles