Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Sign in
F
fwatch
  • Project
    • Project
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 8
    • Issues 8
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • Wiki
    • Wiki
  • image/svg+xml
    Discourse
    • Discourse
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Commits
  • Issue Boards
  • Projects
  • fwatch
  • Issues
  • #3

Closed
Open
Opened Sep 24, 2014 by Projects@orson_admin
  • Report abuse
  • New issue
Report abuse New issue

External interrupt sources

There is a minor issue with interrupt pins. According to the AN0012 [1]:

"The pins with the same number from each of the ports are grouped
together to generate an interrupt, meaning that the user can't, for
instances, use pin 0 from both PORT A and B as external interrupt
sources. There can be up to 16 external interrupt sources, which are
connected to 2 interrupt lines. The even numbered pins will generate
an interrupt on the even interrupt line, and the odd numbered pins on
the odd line. The interrupts can be generated by a rising edge
transition, falling edge or both."

It means that we cannot easily distinguish between an interrupt coming
from the ambient light sensor (PA6) and bottom-left button (PC6).
I think right now we will have timer based polling, but it could be
improved in rev2.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
No due date
1
Labels
bug
Assign labels
  • View project labels
Reference: project/f-watch#3