×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Pin change interrupt on ATtiny12 from ATMEL

Pin change interrupt on ATtiny12 from ATMEL

Pin change interrupt on ATtiny12 from ATMEL

(OP)
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.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources