Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

Pin change interrupt on ATtiny12 from ATMEL

Status
Not open for further replies.

Lanfeust23

Electrical
Feb 16, 2004
20
0
0
CA
Hi,
I've a probleme to really understand how works the "Pin change interrupt" on the ATtiny12 from ATMEL. In fact, in the datasheet, I see that
..."The pin change interrupt is triggered by any change on any input or I/O pin. Change on
pins PB2..0 will always cause an interrupt. Change on pins PB5..3 will cause an interrupt if the pin is configured as input or I/O "...
Would it mean that if I choose the mode "pin change interrupt", all I/0 pin will be "pin change interrupt" ? I need only one input like this, what's about the others (I don't want that on the others pin) ? And not more than my output be "Pin change interrupt" (... "Observe that, if enabled, the interrupt will trigger even if the changing pin is configured as an output."...)
Moreover, to be sure, is this mode for detecting any changing edges on a signal ? (I am not really good in english and sometimes I misunderstand some things).
Thanks.
 
Status
Not open for further replies.
Back
Top